The dump files are very simple - just the BSON for each collection as a
separate file. You could read in the BSON and split into pieces yourself
before upload, or modify mongodump (it is open source).
Also is your data compressible at all? For my admin tool I use mongodump to
make the dump and then use 7zip to produce an archive. Behind the scenes
7zip uses the LZMA compression method. 7zip is open source and works on
Windows, Linux and Mac. I use this command line which uses the tweaked
lzma2 algorithm, and all CPU cores:
7z -m0=lzma2 -mf=off -mx=9 a out.7z
It does a fantastic job producing a small archive. Some of my data is
uncompressible - zip files stored using gridfs.
Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwxbfAACgkQmOOfHg372QT1OgCgilKH1y5qZvgF0FtOHxYqhwMZ
OhIAnjw31K5BHs7KLMwwizKOvRL9UmKB
=SHNO
-----END PGP SIGNATURE-----
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
Windows - The only OS you can buy from TOYSrUS
http://www.toysrus.com/product/index.jsp?productId=3896283
Tim Hawkins
tim.h...@me.com
http://coderstalk.blogspot.com/2008/03/create-and-extract-rar-files-in-linux.html
rar, unrar for linux, will create multi file archives with a guaranteed maximum length per part.
On 07/05/2010 12:11 AM, Tim Hawkins wrote:
> http://coderstalk.blogspot.com/2008/03/create-and-extract-rar-files-in-linux.html
>
> rar, unrar for linux, will create multi file archives with a guaranteed maximum length per part.
Note that rar is not open source and does require payment (see even the
screenshots in that posting) or violating the license.
In any event 7z can also do multi-part archives, as can tar, zip etc. 7z's
compression ratios are way better than rar, which is hardly surprising as it
uses more cpu and memory to do the compression (and rar uses more than zip
getting better compression than that etc).
With the large amounts of data being talked about, you do need a compressor
that will use multiple cores. 7z with LZMA does that (2 cores with LZMA, as
many as you have with LZMA2). If you use the pbzip2 program then it will do
multi-core bzip2.
Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwyIccACgkQmOOfHg372QQflgCfXF3KbIVi8cfEF7Odw6LL1fBA
QtgAoNVqExBB09aaCo5gfpobezeiLlIX
=9MUB
-----END PGP SIGNATURE-----
Alberto Lerner wrote:
> Even if chunked, your data is still part of a collection. So the
> collection commands apply.
> Alberto.
>
>
> On Mon, Jul 5, 2010 at 4:34 AM, Buyung Bahari <buyung...@detik.com
> <mailto:buyung...@detik.com>> wrote:
>
> Hi all,
>
> I was spliting my data ini mongodb and become chunks. And this
> chunks based on my data range. How i can drop this chunks.
>
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com
> <mailto:mongod...@googlegroups.com>.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com
> <mailto:mongodb-user%2Bunsu...@googlegroups.com>.
I'm using sharding, when the data grow up they create a chunk. I need to
remove to save space.
Thanks
Kyle Banker wrote:
> If the chunks are in a collection called 'images' then you'd just do
> from the shell:
>
> db.images.remove();
>
> If it's more complicated than that, just provide us with some more
> details and we can help.
>
> On Mon, Jul 5, 2010 at 11:57 PM, Buyung Bahari
> <buyung...@detik.com <mailto:buyung...@detik.com>> wrote:
>
> Alberto, do you have example of this.
>
>
> Alberto Lerner wrote:
>
> Even if chunked, your data is still part of a collection. So
> the collection commands apply.
> Alberto.
>
>
> On Mon, Jul 5, 2010 at 4:34 AM, Buyung Bahari
> <buyung...@detik.com <mailto:buyung...@detik.com>
> <mailto:buyung...@detik.com
> <mailto:buyung...@detik.com>>> wrote:
>
> Hi all,
>
> I was spliting my data ini mongodb and become chunks. And this
> chunks based on my data range. How i can drop this chunks.
>
>
> Thanks
>
> -- You received this message because you are subscribed
> to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to
> mongod...@googlegroups.com
> <mailto:mongod...@googlegroups.com>
> <mailto:mongod...@googlegroups.com
> <mailto:mongod...@googlegroups.com>>.
>
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com
> <mailto:mongodb-user%2Bunsu...@googlegroups.com>
> <mailto:mongodb-user%2Bunsu...@googlegroups.com
> <mailto:mongodb-user%252Buns...@googlegroups.com>>.
I'm using sharding, when the data grow up they create a chunk. I need to remove to save space.