I need to move a table from one MemSQL database to another database.
Both databases are on the same cluster, but I don’t want to just copy the data, I also want to keep the structure exactly the same (e.g. indexes or column store key).
I could of course use ETL tools, but that seems like too much effort and too little performance compared to a native approach.
You can use CREATE TABLE LIKE to create the same table structure, including indexes, and use INSERT SELECT to copy the data. You are correct that this should be more performant.