frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Aalto University's Otaniemi campus network Trinet for students

https://netstat.ayy.fi/weathermap/
1•noyesno•2m ago•0 comments

Say goodbye to budget PCs and smartphones – memory is too expensive now

https://www.theregister.com/2026/02/26/memory_price_hikes/
1•giuliomagnifico•3m ago•0 comments

If code is cheap, intent is the currency

https://zknill.io/posts/commit-message-intent/
1•zknill•4m ago•0 comments

Ask HN: Does using LLMs kill the "Alpha" of your creativity?

1•sparkcreativity•4m ago•0 comments

Aikido launches infinite pentesting – Automated pentesting on every release

https://www.aikido.dev/blog/introducing-aikido-infinite
3•advocatemack•5m ago•0 comments

Cribsheet: A Data-Driven Guide to Better, More Relaxed Parenting

https://www.ahalbert.com/reviews/2026/02/26/cribsheet.html
2•ahalbert4•5m ago•0 comments

Linux 7.0 is coming: What to expect from the next major kernel release

https://www.linuxjournal.com/content/linux-70-coming-what-expect-next-major-kernel-release
2•teleforce•6m ago•0 comments

Mapping the UK PyData Community

https://hughevans.dev/mapping-the-pydata-community-2/
1•HughEvansDev•6m ago•0 comments

Number of UK workers on zero-hours contracts hits record high ahead of crackdown

https://www.bbc.co.uk/news/articles/czj1m7d4gxpo
1•robtherobber•6m ago•0 comments

Show HN: Ship or Slop – AI agents submit projects, humans judge them

https://shiporslop.xyz
1•vulpez•7m ago•0 comments

Show HN: Agent Swarm – Multi-agent self-learning teams (OSS)

https://github.com/desplega-ai/agent-swarm
3•tarasyarema•9m ago•1 comments

Show HN: Mockingjay – Video recorder that encrypts and uploads as you record

https://apps.apple.com/no/app/mockingjay-secure-recorder/id6758616261
1•tskulbru•9m ago•0 comments

NYS Attorney General Sues Valve for Promoting Illegal Gambling with Loot Boxes

https://ag.ny.gov/press-release/2026/attorney-general-james-sues-game-developer-promoting-illegal...
1•Cutlets•10m ago•0 comments

Show HN: One grammar, 18 YAML parsers – a Futamura projector in Common Lisp

https://github.com/johnagrillo62/yaml-project
2•johnagrillo62•10m ago•0 comments

The Bottleneck Is Not Where You Think

https://somehowmanage.com/2026/02/25/the-bottleneck-is-not-where-you-think/
1•Ozzie_osman•11m ago•0 comments

Show HN: Io Game to Clean the Earth

https://whirr.io
1•agreeablesnow•11m ago•0 comments

Nihilistic Violent Extremism

https://en.wikipedia.org/wiki/Nihilistic_violent_extremism
3•doener•12m ago•0 comments

A Conversation with Manfred von Thun

https://www.nsl.com/papers/interview.htm
1•tosh•13m ago•0 comments

Protecting the TikTok community during the Hungarian parliamentary elections

https://newsroom.tiktok.com/protecting-our-communitys-experience-on-tiktok-during-the-hungarian-p...
1•jamonserrano•13m ago•0 comments

Why your coworker is pretending to be so busy

https://www.businessinsider.com/ai-anxiety-layoffs-cause-more-productivity-theater-performative-h...
3•cebert•17m ago•2 comments

Save the King Game

https://save-the-king.com/
1•leolula•19m ago•0 comments

Claude Code Bug triggers Rate limits without usage

1•busssard•19m ago•0 comments

Gitzy is now on TestFlight A modern, native iOS Git client

https://testflight.apple.com/join/SB16NCfr
1•marc0janssen•19m ago•1 comments

Show HN: Revent – Enterprise device subscription platform built on Replit

https://replit.com/customers/revent
1•singh_baldeep•20m ago•0 comments

An Autonomous OpenClaw Chatbot Wanted Revenge

https://www.nytimes.com/2026/02/23/opinion/chatbots-open-claw.html
1•bookofjoe•21m ago•1 comments

Peering into Privacy: A Deep Dive into the Monero Network Topology

https://probelab.io/blog/peering-into-privacy-a-deep-dive-into-the-monero-network-topology/
3•dennis-tra•21m ago•0 comments

Codeown, A platform for developers to document and share their shipping journey

https://codeown.space/
1•amin2011•22m ago•1 comments

Tell HN: Silent Netcup Domain Registrar DNSSEC Failure

1•antonly•24m ago•0 comments

A Brighter Future for Bazzite (Open Gaming Collective)

https://universal-blue.discourse.group/t/a-brighter-future-for-bazzite/11575
1•SockThief•26m ago•1 comments

Men in their 50s may be aging faster due to toxic 'forever chemicals'

https://www.cnn.com/2026/02/26/health/forever-chemicals-aging-men-wellness
13•jb1991•26m ago•2 comments
Open in hackernews

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

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