M
mark
Hi, is there a limit to how may rows an access table can have before it performs poorly?
mark said:Hi, is there a limit to how may rows an access table can have before it
performs poorly?
That's depends upon the type and quality of indexes, as well as
other factors. I have a database front-end that connects to a 1.1
GB backend with 6 million records. By using the primary key, I can
pull 1 record out of the database near instantaneously. With an
indexed datefield, I was able to find all 721 records matching a
single date in about 4 seconds. Multiple joins and or criteria may
take a bit longer. Is that poor performance? I don't think so.
In SQL Server or Oracle, you can avoid the overhead of
transferring index trees over the network by running a stored
procedure, so yes, that does save some band width on the network.
David W. Fenton said:The biggest drain on performance, in my experience, is outer joins.
Inner joins are very fast, especially with criteria on both sides of
the join. Outer joins, on the other hand, are quite
resource-instensive even with relatively small tables (10s of 1000s
of records instead of 100s of 1000s or even millions).
When you do a make a View does actual data get stored in the View
or does it run a join when it execute at query? In other words, does
the size of the db increase with respect to the View size?
With Outer Joins, it is often the criteria that cause the
performance degradation.
Even larger performance degradation can be caused by functions,
especially User Defined Functions, and by subqueries, especially
correlated subqueries.
IOW, the fastest performance when using multiple tables is an
Inner Join, which is much faster than a Where Clause.
When you do a make a View does actual data get stored in the View
or does it run a join when it execute at query? In other words,
does the size of the db increase with respect to the View size?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.