Best unofficial Apache Server developers community |
|
I need to create a table based on another table in MYsql including the constraints and indices. I have following scenario: Table A- exists probably with millions of rows. I want to create table B with exactly same as table A (including constraints and indices). Process data from A and some other source and insert to B. At the end of processing drop table A(drop indices associated with table A) and Rename table B to A including indices. What is the best way to do this? Performance is my real concern. Thanks
posted via StackOverflow
|