B
bucweat
Hi,
I have a Access 2003 database. I run SQL querries via a homegrown
application that uses ADO. The database contains 20 tables, each with
the same schema, that contain 30,000 records each. There are about 15
fields....one, called ttime, is a double that represents time in
seconds.
I run a query on each table that is similar to the following and save
the result to a new table:
select f1,f2,f3,f4,ttime from
where f1=1 and f2 <> 0 and f3
<>0 and f4 <> 0 order by ttime
I run this query on all twenty tables, and each is sorted by ttime
correctly. If I then compact the database and rerun the same query on
the same 20 tables, 3-5 tables will not be sorted by ttime correctly.
If I re-run the query on the 20 tables again without a compact, all 20
tables will be sorted. I can contine to run the querries successfully
until I hit the 2GB limit, at which point I must compact the database.
The next set of querries will have 3-5 tables with unsorted ttime.
This is very repeatable and seems to be caused by the database
compact. Has anyone seen something similar to this issue?
charlie
I have a Access 2003 database. I run SQL querries via a homegrown
application that uses ADO. The database contains 20 tables, each with
the same schema, that contain 30,000 records each. There are about 15
fields....one, called ttime, is a double that represents time in
seconds.
I run a query on each table that is similar to the following and save
the result to a new table:
select f1,f2,f3,f4,ttime from
<>0 and f4 <> 0 order by ttime
I run this query on all twenty tables, and each is sorted by ttime
correctly. If I then compact the database and rerun the same query on
the same 20 tables, 3-5 tables will not be sorted by ttime correctly.
If I re-run the query on the 20 tables again without a compact, all 20
tables will be sorted. I can contine to run the querries successfully
until I hit the 2GB limit, at which point I must compact the database.
The next set of querries will have 3-5 tables with unsorted ttime.
This is very repeatable and seems to be caused by the database
compact. Has anyone seen something similar to this issue?
charlie