diff --git src/main/docbkx/ops_mgt.xml src/main/docbkx/ops_mgt.xml index 4d89b1f..ee0919e 100644 --- src/main/docbkx/ops_mgt.xml +++ src/main/docbkx/ops_mgt.xml @@ -1769,6 +1769,23 @@ false $ ./bin/hbase shell hbase> snapshot 'myTable', 'myTableSnapshot-122112' + + Take a Snapshot Without Flushing + The default behavior is to require all regions of a table to coordinate in order to + prevent writing to the table, and to perform a flush of data in memory at the same time. + This means that data in memory is included in the snapshot. In most cases, this is the + desired behavior. However, if your set-up can tolerate data in memory being excluded from + the snapshot, you can use the option of the + snapshot command to disable and flushing while taking the + snapshot. + + hbase> snapshot 'mytable', 'snapshot123', {SKIP_FLUSH => true} + + Using this option means that data can be inserted into a table while a snapshot is in + progress, and that new data will not be included in the snapshot. There is no way to + determine the newest data that will be included in the snapshot if flushing is + disabled. +