{"id":18538635,"url":"https://github.com/ryan1068/migrate","last_synced_at":"2025-04-09T17:37:35.334Z","repository":{"id":118775855,"uuid":"248209542","full_name":"ryan1068/migrate","owner":"ryan1068","description":"Go 迁移Mysql数据到分库分表","archived":false,"fork":false,"pushed_at":"2020-06-23T05:38:47.000Z","size":551,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T09:46:54.439Z","etag":null,"topics":["go","migrate","mysql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryan1068.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-18T11:11:15.000Z","updated_at":"2023-04-25T14:48:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"4517f4c3-fcff-4942-96ea-88ec3c7809d7","html_url":"https://github.com/ryan1068/migrate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryan1068%2Fmigrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryan1068%2Fmigrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryan1068%2Fmigrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryan1068%2Fmigrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryan1068","download_url":"https://codeload.github.com/ryan1068/migrate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248078439,"owners_count":21044105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","migrate","mysql"],"created_at":"2024-11-06T19:44:35.686Z","updated_at":"2025-04-09T17:37:35.323Z","avatar_url":"https://github.com/ryan1068.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp\u003e本项目是用go语言写的把mysql数据迁移到分库分表。\u003c/p\u003e\n\n## 特点\n\n1. 使用go协程、连接池特性\n1. 协程执行错误时记录日志\n1. 程序执行时进度显示\n1. 不同机器可以通过配置分批查询参数和批量插入参数达到最佳性能\n\n## 使用方式：\n\n```go\n//创建数据表\ngo run main.go -mode=tables -ac=create\n\n//删除数据表\ngo run main.go -mode=tables -ac=drop\n\n//迁移数据\ngo run main.go -mode=migrate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryan1068%2Fmigrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryan1068%2Fmigrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryan1068%2Fmigrate/lists"}