• Get size of table (2000)

    Author
    Topic
    #400142

    I don’t know of any way to do it within Access, but one way you could find out is to create an empty database and import just that table. Then compact the database, and the size of the database will be reasonably close to the size of the table.

    Viewing 2 reply threads
    Author
    Replies
    • #778363

      (Edited by HansV to make subject a bit more descriptive than “Access”)

      How do you get the size (megabytes) of a table?

      • #778529

        Since the limits generally apply to the entire database long before they get to the single table level, what would be the purpose of finding out the size of a particular table?

      • #778530

        Since the limits generally apply to the entire database long before they get to the single table level, what would be the purpose of finding out the size of a particular table?

      • #778769

        We use Access as a front end with SQL Server as a backend for large database applications. When we’re using Access to prototype an application, we’re often given many very large tables. If we need to create several mdb files to get around the 2 gigabyte mdb limit, we want to know how large each table is so we can combine them rationally in new mdb files. Also, append queries can increase an existing table beyond the 1 gigabyte table limit. Again, we’d like to know when a given table begins getting large enough for us to be concerned about possibly exceeding the 1 gigabyte limit as we add new records.

        Thanks for your response and interest.

        • #778780

          The 1 gigabyte limit was Access 97. In 2000 and later, it is 2 Gb because of unicode.

          • #778789

            Interesting. The Access 2000 Help File still indicates a 1 gigabyte single table size limit.

            Btw, is the Access 2 gigabyte limit an Access constraint, or is it tied to FAT32? If the latter, will be seeing a much larger file limit as everybody moves to NTFS?

            Thanks again.

            • #778802

              As far as I know, the limit is built into Access, it is not caused by the file system. Access 2002 help indicates 2 GB.

            • #778810

              Access help indicates 2GB for an Access Database (mdb file) but in the section Table specifications it says 1GB for a table

            • #778812

              blush Yes, you’re correct. Good point!

            • #778813

              blush Yes, you’re correct. Good point!

            • #778811

              Access help indicates 2GB for an Access Database (mdb file) but in the section Table specifications it says 1GB for a table

            • #778803

              As far as I know, the limit is built into Access, it is not caused by the file system. Access 2002 help indicates 2 GB.

          • #778790

            Interesting. The Access 2000 Help File still indicates a 1 gigabyte single table size limit.

            Btw, is the Access 2 gigabyte limit an Access constraint, or is it tied to FAT32? If the latter, will be seeing a much larger file limit as everybody moves to NTFS?

            Thanks again.

        • #778781

          The 1 gigabyte limit was Access 97. In 2000 and later, it is 2 Gb because of unicode.

        • #778907

          Is there a reason for not creating a SQL Server test database? We tried you approach for a while, but finally concluded that it wasn’t worth all the pain and strain when you start dealing with large million record tables. In addition, when you want to take an application live, it’s much easier to simply switch the ODBC data source than it is to upsize everything and then try to create data constraints, relationships and triggers and views. You might also consider using the MSDE since it is SQL Server dumbed down a bit.

        • #778908

          Is there a reason for not creating a SQL Server test database? We tried you approach for a while, but finally concluded that it wasn’t worth all the pain and strain when you start dealing with large million record tables. In addition, when you want to take an application live, it’s much easier to simply switch the ODBC data source than it is to upsize everything and then try to create data constraints, relationships and triggers and views. You might also consider using the MSDE since it is SQL Server dumbed down a bit.

      • #778770

        We use Access as a front end with SQL Server as a backend for large database applications. When we’re using Access to prototype an application, we’re often given many very large tables. If we need to create several mdb files to get around the 2 gigabyte mdb limit, we want to know how large each table is so we can combine them rationally in new mdb files. Also, append queries can increase an existing table beyond the 1 gigabyte table limit. Again, we’d like to know when a given table begins getting large enough for us to be concerned about possibly exceeding the 1 gigabyte limit as we add new records.

        Thanks for your response and interest.

    • #778386

      Or rather, the difference in size between the empty database and the database with the table (both after compacting.)

    • #778387

      Or rather, the difference in size between the empty database and the database with the table (both after compacting.)

    Viewing 2 reply threads
    Reply To: Get size of table (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: