(sorry my english)
i have the same bug in my script.
I often run : CREATE TABLE new_table AS (SELECT * FROM old_table) with_data
new_table is very fast
You can anticipate the problems with : SELECT * FROM storage() WHERE "table" IN ('old_table', 'new_table') . Look heapsize column
heapsize is big for old_table (slow table), small for new table (speed table).
I have not yet found the OPTIMIZE command as in mysql
Pierre
--
1G6
52 route de bischwiller
67300 Schiltigheim
Société de Services et de Formations en Logiciels Libres
http://1g6.biz
Tél : 06 64 63 70 35
----- Mail original -----
De: "Edgar Mejia"