frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The DC-ROMA II is the fastest RISC-V laptop and is odd

https://www.jeffgeerling.com/blog/2025/dc-roma-ii-fastest-risc-v-laptop-and-odd
1•ingve•3m ago•0 comments

Ask HN: Numerical Implementation in New Language?

1•keepamovin•4m ago•0 comments

Sam Altman issues 'code red' at OpenAI as ChatGPT contends with rivals

https://www.theguardian.com/technology/2025/dec/02/sam-altman-issues-code-red-at-openai-as-chatgp...
1•PaulHoule•9m ago•0 comments

Infomaniak launches a free and sovereign AI

https://euria.infomaniak.com/
1•pm-security•9m ago•1 comments

Contestants fight polar bears and snakes in new AI reality show

https://www.thetimes.com/uk/media/article/non-player-combat-ai-reality-show-mh95fkkmj
1•petethomas•10m ago•0 comments

AI Dominance Plans Threatened by Administration Own Attacks on Solar, Wind Power

https://www.bloomberg.com/news/articles/2025-12-04/trump-s-ai-dominance-plans-threatened-by-his-o...
2•zekrioca•12m ago•1 comments

Orderzup best shipping aggregator in India launching soon

1•orderzup•13m ago•0 comments

Current tech scenario in Miami and future potential?

1•samyadn12•14m ago•0 comments

Over 12,000 Startup Ideas Right Here

https://startupideasdb.com
1•suhaspatil101•16m ago•0 comments

Trump greenlights Nvidia H200 AI chip sales to China if U.S. gets 25% cut

https://www.cnbc.com/2025/12/08/trump-nvidia-h200-sales-china.html
1•mgh2•18m ago•0 comments

Swipe File: Save and Share Ad Inspirations Efficiently

https://denote.net/swipe-file
1•MiaTaylor•18m ago•0 comments

Longplayer: A thousand-year-long composition turns 25 (2024)

https://longplayer.org/news/2024/12/31/a-thousand-year-long-composition-turns-25/
1•1659447091•20m ago•0 comments

Show HN: Zonformat– 35–60% fewer LLM tokens using zero-overhead notation

https://zonformat.org
1•ronibhakta•26m ago•0 comments

The reality of living overseas [video]

https://www.youtube.com/watch?v=tvcWuqKhsGg
2•keepamovin•30m ago•1 comments

I built a tiny API that detects champion loss in B2B SaaS

https://github.com/malukutty/champion-drift-detector-api
1•bhaviav100•30m ago•1 comments

It Is Possible to Import PST Contacts into My Android Phone

1•JonaScott•30m ago•0 comments

Solving SQL Bolt

https://www.youtube.com/watch?v=QvVePlwTa14
1•implabinash•31m ago•1 comments

A.I. Videos Have Flooded Social Media. No One Was Ready

https://www.nytimes.com/2025/12/08/technology/ai-slop-sora-social-media.html
1•insane_dreamer•32m ago•2 comments

Show HN: I built a "Netflix-grade" retro game player for the browser(React+WASM)

https://github.com/muditjuneja/koin-deck-retro-player
1•beingmudit•37m ago•0 comments

My Apple notes should've been my journal

1•lolisimus•39m ago•0 comments

DHH and Open Source

https://ma.tt/2025/12/dhh-open-source/
6•software_writer•44m ago•0 comments

How Bad is Dialup Internet in 2025? [video]

https://www.youtube.com/watch?v=T-qyNFjZaQs
1•pabs3•47m ago•0 comments

Australia's social media ban for children has left big tech scrambling

https://www.bbc.com/news/articles/ce86381p70eo
3•tartoran•51m ago•0 comments

Brain activity changes throughout the day

https://news.umich.edu/how-brain-activity-changes-throughout-the-day/
1•XzetaU8•55m ago•0 comments

Forkable Swaps in AI generated food images for its catering partners

https://sf.eater.com/restaurant-news/210033/forkable-ai-generated-food-photos-catering
1•forthwall•57m ago•0 comments

Artificial Intelligence Index Report (2025) [pdf]

https://hai.stanford.edu/assets/files/hai_ai_index_report_2025.pdf
1•saikatsg•58m ago•0 comments

AI and recruitment: Are we in a race to the bottom?

https://www.bbc.com/news/articles/ced6jv76091o
1•1659447091•1h ago•0 comments

More proof of how good Gemini Live is [video]

https://www.youtube.com/shorts/XJufw4jPJ1w
2•sin4ch•1h ago•0 comments

Erdős Problem #1026

https://terrytao.wordpress.com/2025/12/08/the-story-of-erdos-problem-126/
2•cgdl•1h ago•0 comments

Australia's peak mental health groups didn't want the teen social media ban

https://www.crikey.com.au/2025/12/09/teen-social-media-ban-experts-concerns-suicide-content/
1•defrost•1h ago•1 comments
Open in hackernews

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

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