Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-653

CLONE - How to use compression while inserting record?

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Done
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: mongofiles
    • Labels:
      None
    • Environment:
      Linux, php,

      Description

      I am developing application with PHP and Mongodb.
      Recently I upgraded to v3.0 to use compression feature.
      For configuration I run below command.
      mongod --storageEngine wiredTiger --dbpath /var/lib/mongo --wiredTigerJournalCompressor zlib --wiredTigerCollectionBlockCompressor zlib

      Now I am inserting record record in document but its taking same space in disk as it was taking without using compression tool.

      if I run "gzip datafile" command, it compresses file.
      But I was expecting like this zip process should be automated, while inserting record.

      Is this possible to achieve this?

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            praveend06 Praveen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: