BoulderRidge
Programmer
My original MDB was 220 MB with 1 table. Table had 26 fields: 1 DATE, 2 LONG, rest CHAR of varying size.
New MDB with 1 table is 1.9 GB!!! Table has 155 fields: 24 DATE, 15 LONG, 9 SINGLE, rest CHAR of varying size (sum of all char sizes = 1307)
All of the "extra" fields introduced in the new table are currently empty--only data is in fields that were present in the original data. Both tables have 450,000 records. What is causing the bloat??
My process was:
Create new empty MDB.
LINK in the original 220 MB table.
Turn off AutoIndex.
Import empty target table and append query.
Run append query that copies data from my original linked table into my new target table with all the empty fields.
Now my new MDB is 1.9 GB and compacting does not shrink it at all.
What can I do (field properties, etc???) to reduce the size of my new table/MDB? I need all the new fields for a standard layout for future data.
Note: the new table was originally created from a script that didn't specify anything but fieldname and data type, so it would have taken all the default properties. Excerpt below:
CREATE TABLE Consultations (
MY_VERSION CHAR(255),
MY_DEFINED_RID CHAR(35),
SPELL_ID LONG,
GENERATED_RECORD_ID LONG,
MY_RECORD_TYPE CHAR(3),
REASON_ACCESS_PROVIDED CHAR(20),
PSEUDONYMISATION_STATUS LONG,
LOCAL_PATIENT_ID CHAR(10),
etc.....
Thanks for any help!!
--BoulderRidge B-)
New MDB with 1 table is 1.9 GB!!! Table has 155 fields: 24 DATE, 15 LONG, 9 SINGLE, rest CHAR of varying size (sum of all char sizes = 1307)
All of the "extra" fields introduced in the new table are currently empty--only data is in fields that were present in the original data. Both tables have 450,000 records. What is causing the bloat??
My process was:
Create new empty MDB.
LINK in the original 220 MB table.
Turn off AutoIndex.
Import empty target table and append query.
Run append query that copies data from my original linked table into my new target table with all the empty fields.
Now my new MDB is 1.9 GB and compacting does not shrink it at all.
What can I do (field properties, etc???) to reduce the size of my new table/MDB? I need all the new fields for a standard layout for future data.
Note: the new table was originally created from a script that didn't specify anything but fieldname and data type, so it would have taken all the default properties. Excerpt below:
CREATE TABLE Consultations (
MY_VERSION CHAR(255),
MY_DEFINED_RID CHAR(35),
SPELL_ID LONG,
GENERATED_RECORD_ID LONG,
MY_RECORD_TYPE CHAR(3),
REASON_ACCESS_PROVIDED CHAR(20),
PSEUDONYMISATION_STATUS LONG,
LOCAL_PATIENT_ID CHAR(10),
etc.....
Thanks for any help!!
--BoulderRidge B-)