Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1181

Disk pre-allocation over estimates unreasonably - something is not kosher here

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.4.1
    • Component/s: None
    • Labels:
      None

      Mongo is running with --nssize=2 --smallfiles

      I create a new database with 7 documents in total stored within 3 collections - total data size is 1.6kb (KILObytes)

      I look in /data/db and the database has already spawned a 32mb dbname.1 file - how could it think that it already filled the 16mb dbname.0 with so little data??

      By this system storing 1.6kb of data takes 50mb of disk space (including ns file)!

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            phpmoadmin phpMoAdmin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: