frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Air Quality Monitoring Myths That Mislead Users

https://www.airgradient.com/blog/air-quality-monitoring-myths/
1•ahaucnx•3m ago•0 comments

Other People Might Just Not Have Your Problems

https://thingofthings.substack.com/p/other-people-might-just-not-have
1•barry-cotter•4m ago•0 comments

Productivity App with Conversational Capabilities

https://dashzz.com
1•testarosar•7m ago•0 comments

Escope – powerful CLI tool for Elasticsearch cluster diagnostics and monitoring

https://github.com/mertbahardogan/escope
1•erayarslan•8m ago•0 comments

Earliest botanical art hints at prehistoric mathematical thinking

https://phys.org/news/2025-12-earliest-botanical-art-hints-prehistoric.html
2•stOneskull•16m ago•0 comments

How to Build a Life, By The Atlantic – 46 articles in a single chat Notebook

https://notebooklm.google.com/notebook/750a23df-fd98-4954-b9c4-71f16c3ee937
1•instagraham•16m ago•0 comments

Quantum computers learn how to simulate quarks

https://uwaterloo.ca/news/quantum-computers-learn-how-simulate-quarks
1•stOneskull•21m ago•0 comments

The first distributed real-time search analytics database

https://www.serenedb.com/
1•doener•21m ago•0 comments

Show HN: Built a tool for devs to create high-quality app icons

https://iconcraft.app/
1•sachinmotwani02•23m ago•3 comments

McDonald's removes AI-generated ad after backlash

https://www.theguardian.com/business/2025/dec/11/mcdonalds-removes-ai-generated-christmas-ad-adve...
7•terabytest•23m ago•2 comments

Early stage VC firm FoodLabs raises third fund of €105M

https://sifted.eu/articles/food-labs-raises-third-fund
1•doener•30m ago•0 comments

Show HN: Mapibara – A Map for Local Events (markets, concerts, hiking...)

https://mapibara.com
2•csantini•31m ago•1 comments

Shield protecting Chernobyl nuclear power plant no longer blocks radiation

https://www.euronews.com/2025/12/08/radiation-shield-protecting-chernobyl-nuclear-power-plant-no-...
1•mohi-kalantari•33m ago•0 comments

Roman urbanism was bad for health, new study confirms

https://phys.org/news/2025-12-roman-urbanism-bad-health.html
1•pseudolus•34m ago•0 comments

US forces take over sanctioned, stateless VLCC off Venezuela

https://www.lloydslist.com/LL1155836/Weve-just-seized-a-tanker-US-forces-take-over-sanctioned-sta...
2•monerozcash•34m ago•0 comments

$1 That Doubles Everyday

https://twitter.com/magnushambleton/status/1995459412463403045
1•barry-cotter•35m ago•0 comments

Prompt injection is not SQL injection (it may be worse)

https://www.ncsc.gov.uk/blog-post/prompt-injection-is-not-sql-injection
1•giuliomagnifico•35m ago•0 comments

Ask HN: Can I get feedback on this product

https://mu.xyz
2•asim•36m ago•1 comments

I got 50 high-profile angel investors to join our seed round

https://www.mentava.com/blog/how-i-got-50-high-profile-angel-investors-to-join-our-seed-round
1•barry-cotter•37m ago•0 comments

If You Quit Social Media, Will You Read More Books?

https://www.newyorker.com/news/fault-lines/if-you-quit-social-media-will-you-read-more-books
3•pseudolus•38m ago•3 comments

Show HN: Titan – JavaScript-first framework that compiles into a Rust server

https://www.npmjs.com/package/@ezetgalaxy/titan
1•soham_byte•39m ago•0 comments

Why the resale market is expanding fashion's carbon footprint

https://news.yale.edu/2025/12/08/second-thoughts-secondhand-why-resale-market-expanding-fashions-...
1•JeanKage•40m ago•0 comments

Three in 10 US teens use AI chatbots every day, but safety concerns are growing

https://techcrunch.com/2025/12/09/three-in-ten-u-s-teens-use-ai-chatbots-every-day-but-safety-con...
2•JeanKage•42m ago•0 comments

prev.js: Blog/PKM vanilla SSG using SQLite and Python. Compiles in 5s on Vercel.

https://github.com/danielfalbo/prev
1•danielfalbo•46m ago•1 comments

Would you like your Iceberg sir, stream or batch ordered

https://jack-vanlightly.com/blog/2025/11/5/how-would-you-like-your-iceberg-sir-stream-or-batch-or...
1•teleforce•49m ago•0 comments

Ask HN: Does professional coding make you forget the "magic" feeling?

2•Gooblebrai•49m ago•0 comments

Ask HN: Websites of people making cool projects

1•mdoliwa•49m ago•0 comments

Show HN: Instant branch management for AI-native development

https://github.com/ekarya0x/peek
1•ekarya0x•50m ago•0 comments

Show HN: TreatyHopper – Pay Less Taxes

https://treatyhopper.com
2•realberkeaslan•53m ago•1 comments

Ebooks vs. Paper books: The final showdown

https://jonathanpincas.com/p/ebooks-vs-paper-books-the-final-showdown
1•poleprediction•54m ago•1 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•6mo ago
Just joined a new company and they run a multi tenant database in postgres where each tenant is distinguished by their account ID. I'd like to be able to dump the data of a single account to my local instance to assist in debugging.

Problem is, many of the entities do not include an account ID. For example, a user can have an account ID but a user post will not but it will be tied to a user ID.

Also foreign keys aren't really implemented fully.

Are there any tools or techniques that could help make this process easier to do?

Comments

tudorg•6mo ago
You can try with data subsetting tools, a few that I know are: greenmask, jailer, tonic condenser, and I think there are more. They are not exactly for your use case, but might help you a bit. The problem is most of these tools can walk foreign keys, but only in one directions.

Also, since you said FK are not fully implemented, then there just won't be enough information for them to work with. So you can either work on fixing the foreign keys or have more complex scripts.

polishdude20•6mo ago
Thanks for the suggestions!

Yeah due to the unavailability of FK's, I'd have to somehow map certain ID columns to the tables they're for, accounting for slight naming convention differences.

woyten•6mo ago
In case you don’t have FKs you could specify virtual foreign keys in Greenmask.

Check out docs for details

https://docs.greenmask.io/latest/database_subset/#virtual-re...

abhisek•6mo ago
This is poor design. Multi-tenant data model design must have a tenant or segment ID for every tenant segmented tables. While it may not be a problem initially but as the business grows, you may need to move tenant data to separate DBs or even different regions based on compliance requirements. IMHO it is a good idea to run DB migrations and have a tenant ID populated in all tenant segmented tables
polishdude20•6mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that