R
rm
What have I done wrong? Our database has ballooned. I was worried when
the file size moved to 20 MB. But now the file has grown by 67,653,632
bytes while we have on added 650 + 339 records! When I compact and
repair the size moves back down to 10 Mb. Here is the def of the two
primary tables. There are 6 lookup tables - but there has not been
more than 5 records added to those tables in the last 4 months.
I am using lookup fields. I didn't realize that I shouldn't be using
them (per the MVPs that so graciously offer advice on this NG) unitl
it was too late. Could that be doing it?
Table1
id AutoNumber Long Integer PK
pid Long Integer
field1 Text(10) Unique Index
field2 Long Integer
field3 Long Integer
field4 Yes/No
field5 Date/Time
field6 Long Integer
field7 Date/Time
field8 Date/Time
field9 Date/Time
field10 Date/Time
field11 Date/Time
comments Text(255)
Table2
id AutoNumber Long Integer PK
field1 Text(18)
fname Text (45)
mname Text(45)
lname Text(45) Index Non Unique
field2 Long Integer
gender Text(1)
DOB Date/Time
field3 Date/Time
comment Text(255)
Some time in August-
Select count(id) FROM Table1 38,719
Select count(id) FROM Table2 22,611
Total 61,330 Records
DB Size on Disk 11,096,064 bytes
--------------------------
Some time in September
Select count(id) FROM Table1 39,369
Select count(id) FROM Table2 22,950
Total 62,319 Records
DB Size on Disk 78,749,696 bytes
the file size moved to 20 MB. But now the file has grown by 67,653,632
bytes while we have on added 650 + 339 records! When I compact and
repair the size moves back down to 10 Mb. Here is the def of the two
primary tables. There are 6 lookup tables - but there has not been
more than 5 records added to those tables in the last 4 months.
I am using lookup fields. I didn't realize that I shouldn't be using
them (per the MVPs that so graciously offer advice on this NG) unitl
it was too late. Could that be doing it?
Table1
id AutoNumber Long Integer PK
pid Long Integer
field1 Text(10) Unique Index
field2 Long Integer
field3 Long Integer
field4 Yes/No
field5 Date/Time
field6 Long Integer
field7 Date/Time
field8 Date/Time
field9 Date/Time
field10 Date/Time
field11 Date/Time
comments Text(255)
Table2
id AutoNumber Long Integer PK
field1 Text(18)
fname Text (45)
mname Text(45)
lname Text(45) Index Non Unique
field2 Long Integer
gender Text(1)
DOB Date/Time
field3 Date/Time
comment Text(255)
Some time in August-
Select count(id) FROM Table1 38,719
Select count(id) FROM Table2 22,611
Total 61,330 Records
DB Size on Disk 11,096,064 bytes
--------------------------
Some time in September
Select count(id) FROM Table1 39,369
Select count(id) FROM Table2 22,950
Total 62,319 Records
DB Size on Disk 78,749,696 bytes