TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Schema aware partial relational database copy with subset of records

1 pointsby omair_inamover 3 years ago
I&#x27;m looking to create a partial copy of a massive MySQL relational database. The DB is too large to be able to replicate fully.<p>I&#x27;m looking for a tool that would accept as inputs * a database * specification of relationships between the tables in the schema * a root set of records across one or more tables...<p>and it would copy over the root records and all related records into another MySQL database, resulting in a smaller, but functional copy of the database.<p>I recall seeing a tool feature in HN to do this, but despite searching for a while, I couldn&#x27;t find it. Would appreciate any suggestions for appropriate tools from the community.

1 comment

acemarkeover 3 years ago
I suspect you&#x27;re looking for <a href="https:&#x2F;&#x2F;github.com&#x2F;Wisser&#x2F;Jailer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Wisser&#x2F;Jailer</a> .<p>(I&#x27;d seen it before as well, couldn&#x27;t remember the name immediately, and googled for `sql database subset relation export tool` to find it again.)
评论 #30470789 未加载