need help with CREATE TABLE [newtbl] SELECT * FROM [oldtbl]
Hi,
I am having trouble trying to create a new table that is a duplicate of an old table.
I executed the command "create table t2 select * from t1;" The t1 table is ~150Mb. In addition to the mysql> window, I had an xterm open so I could watch the t2 table in the filesystem as it was being built. Over the course of about 3 minutes the new t2 table grew to exceed 1.8 Gb at which point I had to abort the process to keep it from filling up the partition. Why is mysql creating a table that is over an order of magnitude greater in size than the original?
Any help would be appreciated.
Thanks,
Chris
Subject
Written By
Posted
need help with CREATE TABLE [newtbl] SELECT * FROM [oldtbl]
December 30, 2004 09:39AM
February 03, 2005 04:50PM
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.