frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

From Fossil to Fact: The Denisova Discovery as Science in Action [pdf]

https://www.diva-portal.org/smash/get/diva2:1632719/FULLTEXT01.pdf
1•larve•51s ago•0 comments

Serenely Fast I/O Buffer (With Benchmarks) – SereneDB

https://blog.serenedb.com/io-buffer
1•PaulHoule•1m ago•0 comments

Visualizing CPU Pipelining (2024)

https://timmastny.com/blog/visualizing-cpu-pipelining/
1•flipacholas•1m ago•0 comments

Vercel Claude Code plugin issues are now fixed

https://akshaychugh.xyz/writings/png/vercel-plugin-telemetry-update
1•akshay2603•2m ago•1 comments

Andreas Gursky's Banded Composition

https://publish.obsidian.md/horoma-library/Articles/Learning+From+The+Masters/Andreas+Gursky%27s+...
1•sukruh•2m ago•0 comments

Z.ai doubles it's coding plan prices

https://z.ai/subscribe
1•mikenew•3m ago•1 comments

Enterprise developers question Claude Code's reliability for complex engineering

https://www.infoworld.com/article/4154973/enterprise-developers-question-claude-codes-reliability...
1•msolujic•4m ago•0 comments

Ask HN: Do Agent skills make a difference?

1•danfrost•5m ago•0 comments

UHM: Consciousness derived from 4 axioms – five critical exponents (paper v2)

https://zenodo.org/records/19558922
1•old8man•5m ago•0 comments

A Step-by-Step Guide to Building a Private Cellular Network

https://privatecellularnetwork.com/a-step-by-step-guide-to-building-a-private-cellular-network/
1•rolph•7m ago•0 comments

Visualizing OpenClaw runs as spans to debug loops and token spikes

https://github.com/richard-epsilla/clawtrace
1•akudamono•8m ago•0 comments

Warp

https://blog.cloudflare.com/post-quantum-warp/
2•Resayours•8m ago•1 comments

Cox vs. Sony Music Comes to Hollywood

https://copyrightlately.com/cox-v-sony-music-ai-copyright-minimax/
1•speckx•8m ago•0 comments

Building Your Own 4G LTE Base Station(2024)

https://hackaday.com/2024/03/03/building-your-own-4g-lte-base-station/
1•rolph•9m ago•0 comments

To teach in the time of ChatGPT is to know pain

https://arstechnica.com/science/2026/04/to-teach-in-the-time-of-chatgpt-is-to-know-pain/
1•jech•11m ago•1 comments

Should Men Be Ashamed of Their AI Girlfriends?

https://blog.apaonline.org/2026/04/13/should-men-be-ashamed-of-their-ai-girlfriends/
1•jruohonen•12m ago•0 comments

Indianapolis councilor says home shot at 13 times, "No Data Centers" sign left

https://www.cbsnews.com/news/indianapolis-councilor-ron-gibson-home-shooting-data-centers-note/
1•MiguelX413•12m ago•0 comments

Show HN: A calculator to expose the hidden infrastructural costs behind RAG

https://bytecalculators.com/rag-cost-calculator
1•abarth23•15m ago•0 comments

Ask HN: If you exercise, do you notice any mental benefits?

2•catuscubitus•16m ago•2 comments

Show HN: Encrypted, nothing stored, nothing repeated face-gated asset sharing

https://veylt.net/
1•bekkerza•18m ago•0 comments

Micropayments beat identity verification for filtering spam

https://blog.satsrail.com/the-incentive-structure-is-the-filter/
1•keymaker_p•19m ago•0 comments

Workshop Labs Is Joining Thinking Machines

https://www.workshoplabs.ai/blog/wsl-joining-tml
1•zachdotai•19m ago•0 comments

The Wayback Machine and the Quest for Deleted Fics

https://duckprintspress.com/2021/12/13/the-wayback-machine-and-the-quest-for-deleted-fics/
1•medstrom•20m ago•1 comments

Evaluation of Claude Mythos Preview's cyber capabilities

https://www.aisi.gov.uk/blog/our-evaluation-of-claude-mythos-previews-cyber-capabilities
6•dgavey•20m ago•2 comments

AI Agents for Economics Research

https://ai-mba.io/tutorials/ai-agents-for-economics-research
1•speckx•20m ago•0 comments

What is the chance of a message in a bottle being found?

https://theconversation.com/what-is-the-chance-of-a-message-in-a-bottle-being-found-272122
2•jruohonen•20m ago•0 comments

More tools for testing SQL dialects

https://buttondown.com/jaffray/archive/more-tools-for-testing-sql-dialects/
1•eatonphil•21m ago•0 comments

OneThing – one task, one day

https://www.onething.fun/
1•dmnlaali•21m ago•0 comments

Game Theory #9: the US-Iran War [video]

https://www.youtube.com/watch?v=jIS2eB-rGv0
1•hebelehubele•21m ago•0 comments

A new spam policy for "back button hijacking"

https://developers.google.com/search/blog/2026/04/back-button-hijacking
3•xnx•22m ago•0 comments
Open in hackernews

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

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