Bill Karwin wrote:
siliconmike wrote: Import speed, but without making C fixed length. For example, would
taking C to a different table help?
I'd recommend using the LOAD DATA INFILE statement. The docs suggest
it can up to 20 times faster than inserting using INSERT.
Also query speeds..
Queries like:
select * from T where PRIMARY_KEY=45
It is only column C (varchar) that forces the whole table to be dynamic
format.
If I make C fixed length, it would waste lot of space.
I presume here that queries on fixed length format tables would execute
much faster than variable length ones.
Maybe I can remove column C from T and write the data intended for C in
separate files named by the PRIMARY_KEY.
Or other ideas ?