M
Mats Boberg
Hi All,
I'm developing an application that is based on a SQLCE database.
When the application starts it creates the database (.sdf file) and creates
all tables that will be used.
In the database i have a table with 30000+ products.
The products is transferd to the sqlce via a dataset and webservice in
batches of 500 at a time.
Today the products is written to the table by inserting one and one
itterating the dataset. This takes like 5-7 h depending on the amount of
products.
Is there a way to store the 500 items by inserting the dataset instead of
inserting the products one by one?
The products is uppdated once a month. When this happends all products shall
be updated.
Today I drop the tProducts table and creates a new one. The problem is that
the size of the database doesn't go down when i drop and recreate the table.
I think this has to do with the index that is created...
Is thera an easy way to clear the tProducts table and index. I've tested
delete * from tproducts and droping the table... but as I said befor the
size of the .sdf file doesn't go down.
/Mats Boberg
I'm developing an application that is based on a SQLCE database.
When the application starts it creates the database (.sdf file) and creates
all tables that will be used.
In the database i have a table with 30000+ products.
The products is transferd to the sqlce via a dataset and webservice in
batches of 500 at a time.
Today the products is written to the table by inserting one and one
itterating the dataset. This takes like 5-7 h depending on the amount of
products.
Is there a way to store the 500 items by inserting the dataset instead of
inserting the products one by one?
The products is uppdated once a month. When this happends all products shall
be updated.
Today I drop the tProducts table and creates a new one. The problem is that
the size of the database doesn't go down when i drop and recreate the table.
I think this has to do with the index that is created...
Is thera an easy way to clear the tProducts table and index. I've tested
delete * from tproducts and droping the table... but as I said befor the
size of the .sdf file doesn't go down.
/Mats Boberg