-
1
- #1
Need advice on this one.
I've designed several database applications for an intranet environment. There are many source databases, Foxpro (DBF) format, maintained and indexed by our MIS department. In most cases, these databases include over 500,000 records each.
I'm not using the data control, but I am using DAO (database object), as well as SQL to perform queries.
To keep it simple, most of our queries extract multiple records, using SQL.
My question is this: Why is it so !@^&# slow when querying a DBF format VS an MDB format? I had a DBF database (500,000+ records), performed a query with a moderately complex sql statement, and it takes over 1 minute to return results. I tried importing this database into an MDB, and performed the same query. It took about 2 seconds to return the same results.
With the amount of database work we do, we can't afford to always duplicate the databases in an MDB format.
Is there something I'm doing wrong?
I've designed several database applications for an intranet environment. There are many source databases, Foxpro (DBF) format, maintained and indexed by our MIS department. In most cases, these databases include over 500,000 records each.
I'm not using the data control, but I am using DAO (database object), as well as SQL to perform queries.
To keep it simple, most of our queries extract multiple records, using SQL.
My question is this: Why is it so !@^&# slow when querying a DBF format VS an MDB format? I had a DBF database (500,000+ records), performed a query with a moderately complex sql statement, and it takes over 1 minute to return results. I tried importing this database into an MDB, and performed the same query. It took about 2 seconds to return the same results.
With the amount of database work we do, we can't afford to always duplicate the databases in an MDB format.
Is there something I'm doing wrong?