- 0
MySQL Change primary on a large table
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 0 replies
- 0 views
-
Distributed SQL: The architecture behind MariaDB Xpand — Free Whitepaper
By News Staff,
- ebook offer
- sponsored
- (and 4 more)
- 0 replies
- 13 views
-
- 0 replies
- 12 views
-
- 8 replies
- 3138 views
-
Save 96% off a lifetime plan to iBrave Cloud Web Hosting — or alternative deal
By News Staff,
- ibrave
- web hosting
- (and 9 more)
- 0 replies
- 6 views
-
Question
SuperKid
Hi,
I need some advice and help, I need to change the primary key ID to auto increment on a table which is 19.4GB in size with approximately 150 million entries.
Apparently running Alter table is going to take hours and hours to complete which I can understand.
The table has huge amounts of data in it
What would be the fastest way to update the items table?
Link to comment
https://www.neowin.net/forum/topic/1137344-mysql-change-primary-on-a-large-table/Share on other sites
5 answers to this question
Recommended Posts