diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2016-02-18 14:00:00 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2016-02-18 14:00:00 +1100 |
commit | 5cdd3e320cb19cd54111c2572a3d6e33d3009ad4 (patch) | |
tree | aa11f6aa045af0ab4b06b1e4ac59782806a969e3 /src/docs/compression.dox | |
parent | 5e3a56f0abb433a23e0b8cb8f9a0c86c2d6ad80f (diff) | |
parent | 563b7823f74dcd219740945aa7067de0927ee9df (diff) | |
download | mongodb-3.2.4.tar.gz |
Merge branch 'mongodb-3.2.3' into mongodb-3.2mongodb-3.2.4
Diffstat (limited to 'src/docs/compression.dox')
-rw-r--r-- | src/docs/compression.dox | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/src/docs/compression.dox b/src/docs/compression.dox index 56715e20752..0be96835760 100644 --- a/src/docs/compression.dox +++ b/src/docs/compression.dox @@ -1,36 +1,7 @@ /*! @m_page{{c,java},compression,Compressors} This section explains how to configure WiredTiger's builtin support for -the bzip2, lz4, snappy and zlib compression engines. - -@section compression_bzip2 Using bzip2 compression - -To use the builtin support for -<a href="http://www.bzip.org/">Julian Seward's bzip2</a> -compression, first check that bzip2 is installed in include and library -directories searched by the compiler. Once bzip2 is installed, you can -enable bzip2 using the \c --enable-bzip2 option to configure. - -If bzip2 is installed in a location not normally searched by the -compiler toolchain, you'll need to modify the \c CPPFLAGS and \c LDFLAGS -to indicate these locations. For example, with the bzip2 includes and -libraries installed in \c /usr/local/include and \c /usr/local/lib, you -would run configure with the following additional arguments: - -@code ---enable-bzip2 CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/include" -@endcode - -When opening the WiredTiger database, load the bzip2 shared library as -an extension. For example, with the WiredTiger library installed in -\c /usr/local/lib, you would use the following extension: - -@snippet ex_all.c Configure bzip2 extension - -Finally, when creating the WiredTiger object, set \c block_compressor -to \c bzip2: - -@snippet ex_all.c Create a bzip2 compressed table +the lz4, snappy and zlib compression engines. @section compression_lz4 Using LZ4 compression |