Results 1 to 5 of 5
  1. #1
    tomhouy is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2014
    Posts
    2

    Why are Access files so much larger than Excel files with the same data?


    I have a rather large Excel file, with approxmately 800,000 rows of data in it. I noticed when I save this as an Excel file, the total file size is about 44 MB. However, if I export it as a CSV file, it shoots up to about 588 MB. Similarly when I import the 44 MB Excel file into an Access database, the database winds up being 566 MB. I even tried the compact and repair option, but it made no difference to the total file size. I thought Access was supposed to be more efficient with large data, am I missing something here?


  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I never thought about this. Don't know if Access is more efficient in terms of storage but it will hold more records than Excel has rows.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    tomhouy is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2014
    Posts
    2
    So if close to 1MM rows is a little over a half Gig in file size, does that mean the maximum number of rows Access can handle is roughly 4MM?

    My original intent was to import these Excel files on a daily basis (they're daily performance data on some ad campaigns) so I can have all the data in one large database, but at this rate it seems like I would max out the maximum file size for Access (which I believe is 2GB) in just about 3-4 days.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Review this discussion http://answers.microsoft.com/en-us/o...8-1b895c25fa19

    It does seem odd that your db is maxing so quickly.

    The db has only the one table - no queries, forms, reports, code? Is it a normalized structure?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Hi -

    It may well be a result of differences between how MS Access and Excel store data, especially numeric data. My (possibly wrong!) impression that Access pre-allocates fixed amounts of space for numeric data, whereas for text fields it doesn't.

    If many of your 140 fields are numeric, and you have say 1000 bytes per record as a result, then 800,000 rows result in 800MB, before anything else.

    140 fields in a record is a lot - what is the structure of the records?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Importing from several Excel files to Access.
    By cmdteardrops in forum Access
    Replies: 2
    Last Post: 10-02-2013, 03:33 PM
  2. regarding choking of access while importing excel files
    By ritimajain in forum Import/Export Data
    Replies: 1
    Last Post: 08-12-2013, 02:16 PM
  3. Replies: 10
    Last Post: 12-28-2012, 02:06 PM
  4. import excel files into access automatically
    By jstei012 in forum Import/Export Data
    Replies: 1
    Last Post: 12-19-2011, 04:12 PM
  5. Replies: 1
    Last Post: 02-21-2011, 09:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums