Unless you want the table to be named the same as it was before... as far as I am aware there is no support for renaming tables. Also... COPY INTO seems to be faster than a SELECT into a new table.
-----BEGIN PGP SIGNED MESSAGE-----Op 17-05-10 16:51, Matthew Jones schreef:
Hash: SHA512
> Another huge issue is that deleting records from a table still won'tAnother quicky would be:
> shrink the size of the table. I like to keep some of my raw data
> tables small so once a day I delete some already processed records out
> of them, dump the table, and then reload it.
start transaction;
drop table activeselecting;
create table activeselecting...
insert into activeselecting select * from alldata;
commit;
iEYEAREKAAYFAkvxWWsACgkQYH1+F2Rqwn1x7ACfUg0LWJsef3ONbxtw9b9NO7RD
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Qs0An3EM/jy4E5SftTE+9tvEqnQ0ryMV
=629O
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
_______________________________________________
MonetDB-users mailing list
MonetDB-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-users