MySQL Forums
Forum List  »  Newbie

Re: optimising a create table as select
Posted by: Rick James
Date: May 16, 2014 04:45PM

5. No automatic incremental commits. You could break up the ids yourself with a small amount of code. Hints of such are included here (although it is focused on a different topic):
http://mysql.rjweb.org/doc.php/deletebig

6. Atomic and 'instantaneous' rename:
RENAME TABLE tbl TO old, new TO tbl;
DROP TABLE old;

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.