frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AMD Just Showed Us What the Next Decade Looks Like

https://substack.com/inbox/post/183678804
1•rbanffy•2m ago•0 comments

Trump steals 50M barrels of oil from Venezuela

https://asiaviewnews.com/gigabots/Threads?p=100052
1•mark336•2m ago•0 comments

New York Television

https://nytv.live/
1•ChrisArchitect•2m ago•0 comments

On the criteria to be used in decomposing systems into modules (1972)

https://dl.acm.org/doi/epdf/10.1145/361598.361623
1•surprisetalk•4m ago•0 comments

I built an email tool that lands emails in user's inboxes – not spam

1•mddanishyusuf•15m ago•0 comments

Securing SSH Authentication with FIDO2 Security Keys

https://developers.yubico.com/SSH/Securing_SSH_with_FIDO2.html
1•Lwrless•17m ago•0 comments

Ask HN: Those making $500/month on side projects in 2026 – Show and tell

2•selmas58•22m ago•0 comments

How GitLab uses Postgres and ClickHouse to power their data stack?

https://clickhouse.com/blog/how-gitlab-uses-clickhouse-to-scale-analytical-workloads
1•saisrirampur•23m ago•0 comments

Getting my first 100 users with $0: what worked

https://amplift.ai/
2•our79511•25m ago•1 comments

Show HN: JSONBench, a Benchmark for Data Analytics on JSON

https://github.com/ClickHouse/JSONBench
1•saisrirampur•25m ago•0 comments

How 150 Minutes over Caracas Rewrote the Physics of Global Power

https://substack.com/inbox/post/183428226
1•SubiculumCode•25m ago•0 comments

Show HN: Interactive visualizations of PostgreSQL internals(MVCC, B-trees, etc.)

https://postgres-odyssey.lightslips.ai/
1•solo_leveller•26m ago•0 comments

Jellyfish sleep like humans – even though they don't have brains

https://www.nature.com/articles/d41586-026-00044-7
2•thunderbong•26m ago•0 comments

Claude Opus 4.5 vs. GLM-4.6

https://llm-stats.com/models/compare/claude-opus-4-5-20251101-vs-glm-4.6
1•behnamoh•27m ago•0 comments

XMPP and Metadata

https://blog.mathieui.net/xmpp-and-metadata.html
1•todsacerdoti•31m ago•0 comments

Siemens and Nvidia Expand Partnership to Build the Industrial AI OS

https://nvidianews.nvidia.com/news/siemens-and-nvidia-expand-partnership-industrial-ai-operating-...
2•mgh2•32m ago•0 comments

Show HN: Semantica – Open-source semantic layer and GraphRAG framework

https://github.com/Hawksight-AI/semantica
1•kaifahmad1•32m ago•1 comments

Why AI agents stall inside fast-moving teams

https://twitter.com/siddhxrth10/status/2008784631370498262
1•siddhxrth•37m ago•0 comments

Scientists Think They've Discovered How Humans Could Recover Lost Vision

https://www.popularmechanics.com/science/health/a69879804/mammal-ocular-restoration/
2•littlexsparkee•41m ago•0 comments

FDA to limit regulation of health and fitness wearables

https://www.reuters.com/business/healthcare-pharmaceuticals/us-fda-limit-regulation-health-fitnes...
2•phyzix5761•43m ago•0 comments

Debunking the AI food delivery hoax that fooled Reddit

https://www.platformer.news/fake-uber-eats-whisleblower-hoax-debunked/
1•Tomte•43m ago•0 comments

Senior Software Engineer, Back End or Full Stack

1•drewop•52m ago•0 comments

History of the Windshield Wiper

https://www.6thgearautomotive.com/2022/11/06/history-of-the-windshield-wiper-part-4-wiper-mechani...
1•nothrowaways•53m ago•0 comments

(US) Homeland Security uses Hiroshi Nagai's artwork without permission

https://twitter.com/hiroshipj/status/2007024205272150219
3•rguiscard•58m ago•0 comments

Show HN: AI tutor to study and practice STEM books

https://studyjunkie.co/
2•Gregoryy•1h ago•0 comments

Logitech Options+ and G Hub macOS Certificate Issue

https://support.logi.com/hc/en-us/articles/37493733117847-Options-and-G-HUB-macOS-Certificate-Issue
1•kbumsik•1h ago•0 comments

Canada's Immigration Dept shelves visa program for entrepreneurs, citing misuse

https://www.theglobeandmail.com/politics/article-ircc-halts-startup-visa-program-foreign-entrepre...
7•petethomas•1h ago•0 comments

6 months of my SaaS, real numbers, real mistakes, no sugarcoating

1•prompthance•1h ago•0 comments

Bill to Eliminate H-1B Visa Program Introduced in Congress

https://www.newsweek.com/eliminate-h1b-visa-program-congress-bill-marjorie-taylor-greene-11312655
36•ekropotin•1h ago•11 comments

Mastering Claude Code in 30 minutes (2025) [video]

https://www.youtube.com/watch?v=6eBSHbLKuN0
1•vinhnx•1h ago•0 comments
Open in hackernews

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

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