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

Data file from DBPath is not getting cleared.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • 3.0.4, 3.1.5
    • WiredTiger
    • Redhat 12.04 and Ubuntu
    • Linux

    Description

      Hello Team,

      I am just trying to remove the data from the collection, data is completely removed from the collection but the DB path still holds the data file (.wt) which unnecessarily increases the HDD space.

      The db.collection.stats() shows that count, size as 0 but the storage size still holds a value.

      So, I took the wired tiger uri from the stats and searched for the .wt file from data file path. Without a surprise the file was present with the same size.

      Also attaching the files for your perusal.

      Please let me know if it s bug or a normal behavior.

      Thanks
      Sundar

      Attachments

        1. collection stats.PNG
          collection stats.PNG
          34 kB
        2. dbpath.PNG
          dbpath.PNG
          21 kB

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            sundarajan.s@gmail.com Sundarajan Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: