Results 1 to 3 of 3
  1. #1
    pharmacologist is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Oct 2019
    Posts
    39

    Disk space requirements of additional fields vs additional records

    I'm trying to figure out if it's a bad idea to create an additional table with values rather than create a comma separated list in a field. I have a table that requires about 100 paired values (values are long integers) per record and am looking at around 500-750 of these records per year. Ideally, I would keep all these values in their own fields so that I can drill down and view/group them individually though this is not vital to my needs, more like a nice-to-have. I'm wondering what, if any, trade offs there are between creating a table with rows for these values versus creating an additional field in each record that has all the values separated, e.g. csv. I'm wondering how Access stores values whether they're in their own table or simply an additional field in another and how much more space that requires.

    Thanks

  2. #2
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    There's a lot of considerations, none of which I suspect you need worry about at 700 records per year, especially if there are only 2 fields. You could probably have a million records before things start becoming problematic. Factors which contribute to the db limit of 2Gb are field data types (replication id is the largest), indexes, number of fields, number of tables and other objects, and to a lesser extent, the code project. So 2 tables of 5000 records each would result in a file size that is larger than one table with 10000 similar records - because each table adds its own overhead.

    EDIT - I would avoid the comma separated values unless absolutely required and that's rare.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    moke123's Avatar
    moke123 is online now Me.Dirty=True
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,651
    You'd likely be under a million records in that table after 10 years. You could split that table out to an additional backend file if you had concerns about size.

    Edit: just for giggles I ran a loop of 1 million records with 4 numeric fields and the file size was only 33 mb's.
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

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

Similar Threads

  1. selecting additional records
    By Homegrownandy in forum Programming
    Replies: 4
    Last Post: 01-23-2019, 09:49 AM
  2. Unable to add additional records
    By MushingJeep in forum Programming
    Replies: 1
    Last Post: 01-15-2014, 10:46 AM
  3. Append additional records
    By BFlat in forum Queries
    Replies: 2
    Last Post: 04-20-2012, 02:28 PM
  4. Adding additional fields in form
    By ThebigCt in forum Forms
    Replies: 2
    Last Post: 02-23-2012, 12:33 AM
  5. additional detail records to be inserted
    By Mclaren in forum Reports
    Replies: 1
    Last Post: 03-16-2011, 02:10 AM

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