Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sverrirab/mongo-export-index-clean
mongo-export-index-clean
https://github.com/sverrirab/mongo-export-index-clean
Last synced: 20 days ago
JSON representation
mongo-export-index-clean
- Host: GitHub
- URL: https://github.com/sverrirab/mongo-export-index-clean
- Owner: sverrirab
- License: apache-2.0
- Created: 2018-01-23T18:00:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T16:08:18.000Z (9 months ago)
- Last Synced: 2024-10-14T09:19:49.365Z (3 months ago)
- Language: Python
- Homepage: https://pypi.python.org/pypi/mongo-export-index-clean
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.rst
Awesome Lists containing this project
README
mongo-export-index-clean
========================Remove records from a MongoDB bson export ( `www.mongodb.com`_ ) that violates index size restrictions.
A change in MongoDB version 2.6 means that older exports will fail to import properly because older releases simply
ignored records with fields that exceeded the index size restrictions.This utility takes an export and removes the records that violates the size restriction (or duplicate unique index).
.. _www.mongodb.com: https://www.mongodb.com/
Getting started
---------------.. code:: bash
pip install mongo-export-index-clean
cd testdata
mongo-export-index-clean myfile.bson
The utility will remove records a .bad
Source code and feedback
------------------------Fully open sourced with `Apache License`_ on `github.com/sverrirab/mongo-export-index-clean`_ including issue tracking.
.. _Apache License: https://github.com/sverrirab/mongo-export-index-clean/blob/master/LICENSE.rst
.. _github.com/sverrirab/mongo-export-index-clean: https://github.com/sverrirab/mongo-export-index-clean