|
-
Jan 28th, 2010, 02:06 PM
#1
Thread Starter
Lively Member
[RESOLVED] Another DB choice thread... mdb vs accdb or something else?
I am developing a program that is looking at a Local db every few seconds with approx 10,000 enteries per table (it will only be looking at one table at a time)
also I might be using the some of the terms incorrectly... feel free to correct me.
Is there any reason to go with the accdb format (Access 2007) over the mdb format?
Also is it better to have multiple db files, or a single db with many tables?
(I am concerned with problems from opening and closing multiple db files...)
Thanks
-Qman
Last edited by QuagmireMan; Jan 28th, 2010 at 02:07 PM.
Reason: spelling errors
-
Jan 28th, 2010, 02:09 PM
#2
Re: Another DB choice thread... mdb vs accdb or something else?
Single db with many tables. Don't even think of many dbs of a single table each. What will the size be for the total database that might drive consideration of which database also
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Jan 28th, 2010, 02:44 PM
#3
Thread Starter
Lively Member
Re: Another DB choice thread... mdb vs accdb or something else?
there will be 200 - 500 seperate tables
with no more than 10,000 rows each.
but I am talking about have 5 files for 5 different routines in my program. Or would you still go with a single db file?
-
Jan 28th, 2010, 03:03 PM
#4
Re: Another DB choice thread... mdb vs accdb or something else?
Single database. The choice of database will depend on the size the database can get to. I have issues with Access about 500 meg. When it gets that size I suggest SQLExpress
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Jan 28th, 2010, 03:10 PM
#5
Thread Starter
Lively Member
Re: Another DB choice thread... mdb vs accdb or something else?
is there a way to calculate estimated size of a table before I build it?
-
Jan 28th, 2010, 03:16 PM
#6
Re: Another DB choice thread... mdb vs accdb or something else?
Sure how many rows in the table * the size of a row. The size of a row can be calculated by looking at the size of the field for the table. As an example
We have table1 columns FName Text (or Varchar) 20, LName Text 30, AddressLine1 Text 50, AddressLine2 Text50 AddressLine3 Text 50, City Text 20, State Text 2, ZipCode Text 10 PK Int
This adds up to 20 + 30 + 50 + 50 + 50 + 20 + 2 + 10 + 4 * the number of rows exptected in the table (rough only)
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Jan 28th, 2010, 03:46 PM
#7
Thread Starter
Lively Member
Re: Another DB choice thread... mdb vs accdb or something else?
is that (20 + 30 + 50 + 50 + 50 + 20 + 2 + 10 + 4) bytes?
-
Jan 28th, 2010, 03:51 PM
#8
Re: Another DB choice thread... mdb vs accdb or something else?
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Jan 28th, 2010, 04:10 PM
#9
Thread Starter
Lively Member
Re: Another DB choice thread... mdb vs accdb or something else?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|