Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. MSAccess file format woes

MSAccess file format woes

Scheduled Pinned Locked Moved The Lounge
question
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kri5
    wrote on last edited by
    #1

    One mdb file with one table, 3 columns and containing approx 15 records. Size is 88kb. Deleted ALL records, no other changes, and...guess what? Size *grows* to 128Kb...:confused:

    D P C S 4 Replies Last reply
    0
    • K Kri5

      One mdb file with one table, 3 columns and containing approx 15 records. Size is 88kb. Deleted ALL records, no other changes, and...guess what? Size *grows* to 128Kb...:confused:

      D Offline
      D Offline
      Don Miguel
      wrote on last edited by
      #2

      Probably, this is related to possibility to restore deleted rows. So, even you have no data in the table, the "log" maintained internally by databse recorded your records and you will be able to restore them.

      K 1 Reply Last reply
      0
      • K Kri5

        One mdb file with one table, 3 columns and containing approx 15 records. Size is 88kb. Deleted ALL records, no other changes, and...guess what? Size *grows* to 128Kb...:confused:

        P Offline
        P Offline
        Pavel Klocek
        wrote on last edited by
        #3

        Use "Compress and repair" function in Access and it should shrink. The Jet db engine only ads sectors while manipulating the db file. Pavel Sonork 100.15206

        1 Reply Last reply
        0
        • K Kri5

          One mdb file with one table, 3 columns and containing approx 15 records. Size is 88kb. Deleted ALL records, no other changes, and...guess what? Size *grows* to 128Kb...:confused:

          C Offline
          C Offline
          C0d3_P03t
          wrote on last edited by
          #4

          There is an option in access, compact and repair, do it and u'll see a better file size :) Regards, Luke

          1 Reply Last reply
          0
          • K Kri5

            One mdb file with one table, 3 columns and containing approx 15 records. Size is 88kb. Deleted ALL records, no other changes, and...guess what? Size *grows* to 128Kb...:confused:

            S Offline
            S Offline
            S Douglas
            wrote on last edited by
            #5

            Kri5 wrote: guess what? Size *grows* to 128Kb... Thats common, to reduce the size of the file, you need to compact and repair the database. ------------------------------- DEBUGGING : Removing the needles from the haystack.

            1 Reply Last reply
            0
            • D Don Miguel

              Probably, this is related to possibility to restore deleted rows. So, even you have no data in the table, the "log" maintained internally by databse recorded your records and you will be able to restore them.

              K Offline
              K Offline
              Kri5
              wrote on last edited by
              #6

              Yes that's what i thought initially: the engine doesn't really delete the records, but adds extra info to mark them as deleted, hence the increase in size.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups