LARGE DB HANDLING QUESTION

uriah

New Member
Joined
Jun 24, 2002
Messages
40
In handling multiple large DB is it better/more efficient to query the final union query or to 'make tables' and query a (humongous) consolidated DB? I think Access tops out at 1 gig.? Thx...
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
I think querying a table would be quicker.

But creating the table would obviously take some time.
 
Upvote 0
Thanks N.

Yes, especially at end of year when their are 12 files to be consolidated
or 11 separate union queries. This is all a big hmm. But, yes, as you
said, I might go the query route to save on server space, if the union
queries don't hit a memory ceiling on the 9month of the year or so.

Uriah
 
Upvote 0
Why do you have 12 different files?

Is it one file per month?

Surely you would be better with one file covering the whole year?

By the way do you actually mean a table when you say file?
 
Upvote 0
N. Thanks for your interest.

Technically the file is recreated nightly and a new one at the end of each
month from a flat file on as400 box created by VB from an outside
vendor. So, am stuck with the 1 creation a month.
Since the data comes from plc's from a plant floor,
there is not much control there.

Roughly there are 40 datapoints per minute, or 57,600 records
per day. A month final file would be about 1,700,000.

Do you think it would be in the best interest to create 1 single table
from the various months or like we/you said earlier query it now
that you know the size.

thx again.............Uriah
 
Upvote 0
Is this file a text file that you are importing into Access?
 
Upvote 0
There is a (compiled) program that uploads the new
data table nightly to the Access Db. Cannot touch that
routine, purchased services, etc.

tks

T
 
Upvote 0
reply; Noria; Large Db Handling; More

Noria

What did you think about a consolidated db at 24million records per year
versus the union qry of 12 separate. I did not see a reply. If you do not have one, you can say, unknown. That is ok. The Msacces limit is a 1-gig I believe,
and it would be way under that.

Thx again

Uriah
 
Upvote 0
Hi Uriah

The table size limit is apparently 1 Gigabyte for Access 2K & prior, or 2Gb for XP & 2003 version - see here.

If you had all 12 months records in one table would you expect to run detailed queries on this table? By detailed I mean right down to individual records? Or would you be looking for summarised data, perhaps daily or weekly? If this is the case then you could create a new "master" table with data summarised from the 12 detail files. Maintenance of the main table aside, this would speed up any queries where you were looking to analyse summarised data.

HTH, Andrew. :)
 
Upvote 0
Appending data to one table may be most efficient

If you design the table with Indexes and run monthly append queries you'll get faster performance than trying to Union the separate tables.

You can put this table in it's own database to minimize the impact of the size limit 1GB or 2GB depending on your version. When you write the Append query make sure you select to Append to a different database.

Other than that, the best way to boost performance is more memory. I recently upgraded my PC from 512MB to 1GB can cut process time by better than 50%.

Last option if this doesn't work is to put the table in SQL Server where you can still maintain and query via MS Access.
 
Upvote 0

Forum statistics

Threads
1,221,851
Messages
6,162,429
Members
451,765
Latest member
craigvan888

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top