frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Looki.ai – Looki Tech Limited

https://www.looki.ai/
1•9woc•56s ago•0 comments

Anthropic might like to buy your side project

https://frnkfrnk.substack.com/p/anthropic-might-like-to-buy-your
1•frankfrank13•2m ago•0 comments

Migrating Your GitHub CI to Hugging Face Jobs

https://huggingface.co/blog/github-ci-hf-jobs
1•maxloh•4m ago•0 comments

Only Variety Beats Variety

https://mikefisher.substack.com/p/only-variety-beats-variety
1•mooreds•4m ago•0 comments

War Crimes Seem to Be Official US Policy Now

https://phillipspobrien.substack.com/p/war-crimes-seem-to-be-official-us
2•JumpCrisscross•5m ago•0 comments

Just like that our sub (HTTPS://www.reddit.com/R/Hugston/) is gone

https://medium.com/@klaudibregu/google-greedy-gets-karma-8aebeeb89bcb
1•trilogic•5m ago•1 comments

Some US employers drop coverage of GLP-1 obesity drugs in 2027 as use increases

https://www.reuters.com/legal/litigation/some-us-employers-drop-coverage-glp-1-obesity-drugs-2027...
2•randycupertino•6m ago•0 comments

The SAT Was Necessary After All

https://www.theatlantic.com/ideas/2026/06/standardized-testing-math-gaps/687481/
1•doruk101•7m ago•0 comments

The hard part of self-maintaining context for analytics agents

https://blog.getcassis.com/self-maintaining-context/
2•matthieu_bl•7m ago•0 comments

Nextcloud Hub 26 Spring: Built together, designed for the future

https://nextcloud.com/blog/nextcloud-hub26-spring/
7•doener•9m ago•0 comments

Unknown Is Not False: An AI Agent Pre-Execution Checklist

https://discuss.huggingface.co/t/if-unsure-ask-never-guess-ai-agent-pre-execution-checklist/176632
2•offaxis•10m ago•0 comments

World Time, Date and Weather Resource

https://timeandcalendars.com:443/
1•FTU-Jose•10m ago•0 comments

Anguished Parents, Crying Doctors: Life Amid Utah's Measles Outbreak

https://www.wired.com/story/anguished-parents-crying-doctors-life-amid-utahs-measles-outbreak/
2•mooreds•10m ago•0 comments

Angels Landing trail in Zion National Park closed until further notice

https://www.sfgate.com/national-parks/article/angels-landing-zion-park-closed-22300369.php
3•mooreds•10m ago•0 comments

Control Planes Are Control Systems

https://byatt.io/posts/control-plane-as-control-system/
1•wmjbyatt•11m ago•0 comments

China prepares $295B plan to fund nationwide AI data center buildout

https://www.reuters.com/world/china/china-prepares-295-billion-plan-fund-nationwide-ai-buildout-b...
2•alephnerd•13m ago•0 comments

There Is(Ǝ) – Such That (∋)

https://www.fractalkitty.com/there-is-3-such-that/
2•evakhoury•14m ago•0 comments

PiLSMer: A data-free key-value store

https://norwood.github.io/PiLSMer/
1•gwen-shapira•15m ago•0 comments

The enterprise identity crisis: Who's Alice?

https://www.firezone.dev/blog/the-enterprise-identity-crisis-part-one
1•jamilbk•16m ago•0 comments

South Korea fines e-commerce giant Coupang $400M over data breach

https://www.bbc.com/news/articles/cvgj4rgz2n2o
3•ChrisArchitect•16m ago•1 comments

Show HN: Domain Rating – a leaderboard of startup website Domain Ratings

https://www.domain-rating.com
1•nocodeg•16m ago•0 comments

A gene regulates vertebrate growth, maturity, and lifespan

https://www.nature.com/articles/s41467-026-72381-0
1•wslh•17m ago•0 comments

The outsized impact of cultural idiosyncrasies

https://luke.hsiao.dev/blog/cultural-idiosyncrasies/
1•lwhsiao•17m ago•0 comments

AI and the Productivity Paradox

https://www.ft.com/content/b4b60d00-2e8c-4db0-b3ed-9988dc0eeb5c
2•1vuio0pswjnm7•17m ago•0 comments

Liebreich: The Great Clean Energy Acceleration 2.0 – BloombergNEF

https://about.bnef.com/insights/clean-energy/liebreich-the-great-clean-energy-acceleration-2-0/
1•xbmcuser•18m ago•0 comments

The $1M AWS Server [video]

https://www.youtube.com/shorts/tQ48PxXPd88
2•sunbirdLabs•18m ago•0 comments

Show HN: Brooks-Lint – AI code reviews grounded in 12 classic engineering books

https://github.com/hyhmrright/brooks-lint
1•hyhmrright•19m ago•0 comments

The 90-year-old idea behind JEPA models: Canonical Correlation Analysis

https://shonczinner.github.io/posts/embedding-prediction/
3•Anon84•20m ago•0 comments

Ask HN: Is anyone else seeing a Slack auth bug?

1•HoyaSaxa•20m ago•0 comments

Elon Musk Is About to Make Saving for Retirement Even Harder

https://prospect.org/2026/06/10/elon-musk-spacex-ipo-retirement-savings-index-funds-stock-market/
3•dxs•20m ago•0 comments
Open in hackernews

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

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