frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: How do you realistically prepare for retirement while working in tech?

1•danver0•45s ago•0 comments

Nvidia allegedly slashes GPU supply 20% – no new GeForce gaming GPU until 2027

https://www.tomshardware.com/pc-components/gpus/gamers-face-another-crushing-blow-as-nvidia-alleg...
1•voxadam•1m ago•0 comments

Show HN: Lwt-to-Eio – Automated Migration from Lwt to OCaml 5 Direct Style

https://github.com/oug-t/lwt-to-eio
1•oug-t•3m ago•1 comments

Will the 'Scandinavian sleep method' help me sleep?

https://theconversation.com/will-the-scandinavian-sleep-method-really-help-me-sleep-270359
1•PaulHoule•13m ago•2 comments

Everything Becomes an Agent

https://allen.hutchison.org/2026/01/15/everything-becomes-an-agent/
1•gregorymichael•14m ago•0 comments

Show HN: Gambit, an open-source agent harness for building reliable AI agents

https://github.com/bolt-foundry/gambit
4•randall•14m ago•0 comments

My Gripes with Prolog

https://buttondown.com/hillelwayne/archive/my-gripes-with-prolog/
5•azhenley•16m ago•0 comments

WinBoat: Drive by Client RCE and Sandbox Escape

https://hack.do/posts/winboat-guest-service-host-rce/
1•mattaustin•16m ago•0 comments

Amazon Is Buying America's First New Copper Output in More Than a Decade

https://www.wsj.com/finance/commodities-futures/amazon-is-buying-americas-first-new-copper-output...
2•petethomas•16m ago•0 comments

I Mapped Over 300,000 Brands

https://ranchbrandsearch.com/brand/map
1•carshodev•19m ago•1 comments

YBOOK: First Million in Crypto

https://cryptobookz.com/i/your-first-million-in-crypto
1•zenull•20m ago•1 comments

Lex-Gql: GraphQL for AT Protocol

https://tangled.org/chadtmiller.com/lex-gql
1•danabramov•21m ago•0 comments

Bluetooth – Origin of the Name

https://www.bluetooth.com/about-us/bluetooth-origin/
1•rvnx•22m ago•0 comments

List of Individual Trees

https://en.wikipedia.org/wiki/List_of_individual_trees
3•wilson090•22m ago•0 comments

"You Had One Job": Why Twenty Years of DevOps Has Failed to Do It

https://www.honeycomb.io/blog/you-had-one-job-why-twenty-years-of-devops-has-failed-to-do-it
1•gpi•23m ago•0 comments

HTTP RateLimit Headers

https://dotat.at/@/2026-01-13-http-ratelimit.html
2•fanf2•25m ago•0 comments

A superforecaster shares what bottom-feeders can teach about consuming media

https://goodjudgment.com/dont-take-the-bait/
2•hhs•26m ago•1 comments

Show HN: Camera calibration directly in browser for SLAM

https://twitter.com/_asadmemon/status/2011845487180333250
1•asadm•28m ago•0 comments

All 23-Bit Still Lifes Are Glider Constructible

https://mvr.github.io/posts/xs23.html
2•HeliumHydride•28m ago•0 comments

The Magic of the Better Software Conference

https://www.rfleury.com/p/the-magic-of-the-better-software
2•chmaynard•28m ago•0 comments

The Honey Scam Is Worse Than I Thought

https://www.youtube.com/watch?v=qCGT_CKGgFE
1•Tadpole9181•28m ago•0 comments

Invading Greenland? Mistake of a Lifetime [video]

https://www.youtube.com/watch?v=8hdthsG8tks
1•emsign•29m ago•0 comments

A Game to Align People and Priorities

https://dmvaldman.github.io/alignment-game/
1•dmvaldman•31m ago•0 comments

Timeplus now natively support splunk S2S protocol

https://www.timeplus.com/post/splunk-s2s
1•gangtao•34m ago•0 comments

Venezuelan Nobel Peace Prize winner presents her medal to Trump

https://www.bbc.com/news/articles/cx2w94wp4p1o
4•RickJWagner•34m ago•3 comments

Intraoperative tumor histology may enable more-effective cancer surgeries

https://www.caltech.edu/about/news/intraoperative-tumor-histology
1•hhs•34m ago•0 comments

Etymology of the Word W00T

https://en.wiktionary.org/wiki/w00t
2•dustfinger•37m ago•1 comments

Make Google Forms UI look better

https://www.formglam.pro/
1•yatinseelam•38m ago•0 comments

Tech Workers Are Condemning ICE Even as Their CEOs Stay Quiet

https://www.wired.com/story/backlash-against-ice-policing-tactics-grows-in-silicon-valley/
2•abdelhousni•38m ago•1 comments

The latest Firefox version broke ChatGPT website

https://old.reddit.com/r/ChatGPT/comments/1qdwexl/chatgpt_website_broken_in_firefox/
3•vanni•39m ago•2 comments
Open in hackernews

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

3•polishdude20•8mo 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•8mo 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•8mo 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•7mo 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•8mo 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•8mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that