/// <summary> /// Compact the underlying storage for the key range [startKey,limitKey]. /// In particular, deleted and overwritten versions are discarded, /// and the data is rearranged to reduce the cost of operations /// needed to access the data. This operation should typically only /// be invoked by users who understand the underlying implementation. /// </summary> /// <remarks> /// CompactRange(null, null) will compact the entire database /// </remarks> /// <param name="startKey"> /// null is treated as a key before all keys in the database /// </param> /// <param name="limitKey"> /// null is treated as a key after all keys in the database /// </param> public void CompactRangeRaw(byte[] startKey, byte[] limitKey) { CheckDisposed(); Native.leveldb_compact_range_raw(Handle, startKey, limitKey); }