Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Microsoft Access Performance / Speed
Old 08-08-2007, 03:05 AM Microsoft Access Performance / Speed
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Today I had to pull a bunch of raw server logs and find out what I can from them. It's a bunch of text files, so I loaded them into Access to a staging table with a memo field to hold the entire line, and a PK int ID.

In this little set, I've got about 1.1 million rows, probably about 600 bytes wide on average. They come in pretty quick, but what's more important, a query to delete rows whose first character is # ran in seconds.

The internal VBA code to parse the individual fields out of the line runs slow as anything, and pegs one of my CPUs, but that's to be expected. Server code interacting with the database from the outside would run much faster. Anyway, the code parses out the log record into a relational format - a row with fields. Then it does an insert, and deletes the row from the staging table if it's successful.

Once the data is moved over, it's FAST. Queries that exploit an index return in milliseconds. The worst case is seconds if I can narrow the number of records that need to be evaluated with string expressions.

From a web server, you'll have more than just one connection, but if you pool and multiplex them, Access is pretty quick.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
 
Register now for full access!
Reply     « Reply to Microsoft Access Performance / Speed
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18070 seconds with 12 queries