Results 1 to 10 of 10
  1. #1
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568

    Table from SAP into Access database - enormous number of records

    Hi People,

    I have about 6 millions records which i want to use in my Access database as vlookup table.

    So if user will choose the employee's ID (not unique) from combobox there subform should be shown with few filtered records based on choosen ID.

    So for example ID: 1001 will show
    Company1 , number of company, department
    Company2 , number of company, department
    Company3 , number of company, department

    and next user would write new records for each company.

    It seems to be good approach.


    Problem is within size of this history table which will be growing every day (new employees are added to SAP).

    What do you think Access will handle it or here i should think about MSSQL server ?

    Best Wishes,
    Jacek Antek

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    for 6 million, you may go with SQLserver. I crammed 2 million in access, but it was at the limit.
    or
    you could try breaking up the table into 26 different .mdbs based on last name letter.

  3. #3
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568
    thank you ranman256.

    I am courious with your second solution.

    So i have 26 small databases.
    how in my front-end should i concatenate them ? (union them)?
    Using simple union query ?

    Additionally problem is that each of these database should be update every day (appending new records).
    So i have to also run a macro inserting into queries... for 26 databases...

    Best Wishes,
    Jacek Antek

  4. #4
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    how in my front-end should i concatenate them ? (union them)?
    If you need to union them, then you're no further ahead. Behind the scenes in MS Access, a query is treated as a temporary table, so if all the data would not fit into one table without exceeding the file size, then it won't fit into a query either (even though it is temporary).

    With the amount of data you have, you should be looking at SQL Server for the data, and MS Access for the front end.

  5. #5
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568
    Thank you John_G.

    Code:
    , so if all the data would not fit into one table without exceeding the file size, then it won't fit into a query either (even though it is temporary).
    sorry, i do not exactly know what you mean, could you please explain it more?

    You are saying that creating union query will exceed the database size?

    Jacek

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870

  7. #7
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    If you normalize the structure (employee table, company table, etc.), this may help reduce the amount of space needed. Also, make sure each field is exactly the right size, not left at the default of 50.

  8. #8
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    You are saying that creating union query will exceed the database size?
    Yes. The results of a query are treated in much the same way as a temporary table, so the union query result could exceed the file size limit. Remember that it would not just be the query result taking up space in the Access file, but all your other objects too - especially other tables.

  9. #9
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568
    Thank you aytee111 for you help!

    orange,
    These are all employees from SAP with their history of companies where they worked.
    (is this sentence correct ? :P)

    best wishes
    Jacek

  10. #10
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568
    Thank you John_G!

    Wow i thought that queries are counted on the fly and theirs weight is very small and futhermore--> they don't have influance for database sizing...

    Best Wishes,
    Jacek Antek

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

Similar Threads

  1. Replies: 4
    Last Post: 06-01-2016, 04:06 PM
  2. Replies: 1
    Last Post: 07-19-2015, 09:00 AM
  3. Replies: 7
    Last Post: 03-06-2014, 09:40 PM
  4. Replies: 9
    Last Post: 06-06-2012, 10:35 AM
  5. Replies: 3
    Last Post: 02-01-2012, 08:19 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