Home
last modified time | relevance | path

Searched refs:RocksDB (Results 1 – 25 of 168) sorted by relevance

1234567

/rocksdb-6.9/java/src/test/java/org/rocksdb/
DReadOnlyTest.java31 final RocksDB db = RocksDB.open(options, in readOnlyOpen()
34 try (final RocksDB db2 = RocksDB.openReadOnly( in readOnlyOpen()
118 try (final RocksDB db = RocksDB.open(options, in failToWriteInReadOnly()
131 try (final RocksDB rDb = RocksDB.openReadOnly( in failToWriteInReadOnly()
150 final RocksDB db = RocksDB.open(options, in failToCFWriteInReadOnly()
161 try (final RocksDB rDb = RocksDB.openReadOnly( in failToCFWriteInReadOnly()
180 final RocksDB db = RocksDB.open(options, in failToRemoveInReadOnly()
193 try (final RocksDB rDb = RocksDB.openReadOnly( in failToRemoveInReadOnly()
211 final RocksDB db = RocksDB.open(options, in failToCFRemoveInReadOnly()
242 final RocksDB db = RocksDB.open(options, in failToWriteBatchReadOnly()
[all …]
DRocksDBTest.java41 final RocksDB db = RocksDB.open(opt, in open_opt()
51 try (final RocksDB db1 = RocksDB.open(dbPath)) { in openWhenOpen()
52 try (final RocksDB db2 = RocksDB.open(dbPath)) { in openWhenOpen()
297 final RocksDB db = RocksDB.open(options, in write()
478 final RocksDB db = RocksDB.open(opt, in merge()
630 final RocksDB db = RocksDB.open(opt, in fullCompactRange()
668 try (final RocksDB db = RocksDB.open(opt, in fullCompactRangeColumnFamily()
705 final RocksDB db = RocksDB.open(opt, in compactRangeWithKeys()
733 final RocksDB db = RocksDB.open(opt, in compactRangeWithKeysReduce()
779 try (final RocksDB db = RocksDB.open(opt, in compactRangeWithKeysColumnFamily()
[all …]
DColumnFamilyTest.java55 final RocksDB db = RocksDB.open(options, in listColumnFamilies()
70 final RocksDB db = RocksDB.open(options, in defaultColumnFamily()
102 final RocksDB db = RocksDB.open(options, in createColumnFamily()
141 final RocksDB db = RocksDB.open(options, in openWithColumnFamilies()
184 final RocksDB db = RocksDB.open(options, in getWithOutValueAndCf()
223 final RocksDB db = RocksDB.open(options, in createWriteDropColumnFamily()
254 final RocksDB db = RocksDB.open(options, in createWriteDropColumnFamilies()
346 final RocksDB db = RocksDB.open(options, in iteratorOnColumnFamily()
388 final RocksDB db = RocksDB.open(options, in multiGet()
432 final RocksDB db = RocksDB.open(options, in multiGetAsList()
[all …]
DMergeTest.java35 final RocksDB db = RocksDB.open(opt, in stringOption()
67 final RocksDB db = RocksDB.open(opt, in uint64AddOption()
98 final RocksDB db = RocksDB.open(opt, in cFStringOption()
140 final RocksDB db = RocksDB.open(opt, in cFUInt64AddOption()
171 final RocksDB db = RocksDB.open(opt, in operatorOption()
193 final RocksDB db = RocksDB.open(opt, in uint64AddOperatorOption()
225 final RocksDB db = RocksDB.open(opt, in cFOperatorOption()
287 final RocksDB db = RocksDB.open(opt, in cFUInt64AddOperatorOption()
339 final RocksDB db = RocksDB.open(opt, in operatorGcBehaviour()
347 final RocksDB db = RocksDB.open(opt, in operatorGcBehaviour()
[all …]
DCheckPointTest.java29 try (final RocksDB db = RocksDB.open(options, in checkPoint()
41 try (final RocksDB db = RocksDB.open(options, in checkPoint()
49 try (final RocksDB db = RocksDB.open(options, in checkPoint()
69 try (final RocksDB db = RocksDB.open( in failIfDbNotInitialized()
78 try (final RocksDB db = RocksDB.open(dbFolder.getRoot().getAbsolutePath()); in failWithIllegalPath()
DBackupEngineTest.java34 final RocksDB db = RocksDB.open(opt, in backupDb()
55 final RocksDB db = RocksDB.open(opt, in deleteBackup()
83 final RocksDB db = RocksDB.open(opt, in purgeOldBackups()
112 RocksDB db = null; in restoreLatestBackup()
114 db = RocksDB.open(opt, in restoreLatestBackup()
144 db = RocksDB.open(opt, dbFolder.getRoot().getAbsolutePath()); in restoreLatestBackup()
162 RocksDB db = null; in restoreFromBackup()
165 db = RocksDB.open(opt, in restoreFromBackup()
195 db = RocksDB.open(opt, in restoreFromBackup()
213 final RocksDB db = RocksDB.open(opt, dbFolder.getRoot().getAbsolutePath())) { in backupDbWithMetadata()
[all …]
DStatisticsTest.java39 final RocksDB db = RocksDB.open(opt, in getTickerCount()
60 final RocksDB db = RocksDB.open(opt, in getAndResetTickerCount()
85 final RocksDB db = RocksDB.open(opt, in getHistogramData()
116 final RocksDB db = RocksDB.open(opt, in getHistogramString()
136 final RocksDB db = RocksDB.open(opt, in reset()
163 final RocksDB db = RocksDB.open(opt, in ToString()
DTransactionLogIteratorTest.java23 final RocksDB db = RocksDB.open(options, in transactionLogIterator()
38 final RocksDB db = RocksDB.open(options, in getBatch()
86 final RocksDB db = RocksDB.open(options, in transactionLogIteratorStallAtLastRecord()
115 try (final RocksDB db = RocksDB.open(options, in transactionLogIteratorCheckAfterRestart()
124 try (final RocksDB db = RocksDB.open(options, in transactionLogIteratorCheckAfterRestart()
DRocksMemEnvTest.java41 try (final RocksDB db = RocksDB.open(options, "dir/db")) { in memEnvFillAndReopen()
78 try (final RocksDB db = RocksDB.open(options, "dir/db")) { in memEnvFillAndReopen()
112 final RocksDB db = RocksDB.open(options, "dir/db"); in multipleDatabaseInstances()
113 final RocksDB otherDb = RocksDB.open(options, "dir/otherDb") in multipleDatabaseInstances()
141 final RocksDB db = RocksDB.open(options, "db/dir")) { in createIfMissingFalse()
DLoggerTest.java43 try (final RocksDB db = RocksDB.open(options, in customLogger()
73 try (final RocksDB db = RocksDB.open(options, in warnLogger()
104 try (final RocksDB db = RocksDB.open(options, in fatalLogger()
134 new ColumnFamilyDescriptor(RocksDB.DEFAULT_COLUMN_FAMILY)); in dbOptionsLogger()
137 try (final RocksDB db = RocksDB.open(options, in dbOptionsLogger()
221 try (final RocksDB db = RocksDB.open(options, in changeLogLevelAtRuntime()
DMemoryUtilTest.java46 final RocksDB db = in getApproximateMemoryUsageByType()
47 RocksDB.open(options, dbFolder1.getRoot().getAbsolutePath())) { in getApproximateMemoryUsageByType()
49 List<RocksDB> dbs = new ArrayList<>(1); in getApproximateMemoryUsageByType()
105 final RocksDB db1 = in getApproximateMemoryUsageByTypeMultiple()
106 RocksDB.open(options1, dbFolder1.getRoot().getAbsolutePath()); in getApproximateMemoryUsageByTypeMultiple()
112 final RocksDB db2 = in getApproximateMemoryUsageByTypeMultiple()
113 RocksDB.open(options2, dbFolder2.getRoot().getAbsolutePath()); in getApproximateMemoryUsageByTypeMultiple()
118 List<RocksDB> dbs = new ArrayList<>(1); in getApproximateMemoryUsageByTypeMultiple()
125 for (RocksDB db: dbs) { in getApproximateMemoryUsageByTypeMultiple()
/rocksdb-6.9/docs/_posts/
D2014-04-02-the-1st-rocksdb-local-meetup-held-on-march-27-2014.markdown2 title: The 1st RocksDB Local Meetup Held on March 27, 2014
10 On Mar 27, 2014, RocksDB team @ Facebook held the 1st RocksDB local meetup in FB HQ (Menlo Park, Ca…
16 RocksDB team @ Facebook gave four talks about the latest progress and experience on RocksDB:
21 …s://github.com/facebook/rocksdb/raw/gh-pages/talks/2014-03-27-RocksDB-Meetup-Haobo-RocksDB-In-Memo…
26 …* [Column Families in RocksDB](https://github.com/facebook/rocksdb/raw/gh-pages/talks/2014-03-27-R…
31 …* ["Lockless" Get() in RocksDB?](https://github.com/facebook/rocksdb/raw/gh-pages/talks/2014-03-27…
36 …* [Prefix Hashing in RocksDB](https://github.com/facebook/rocksdb/raw/gh-pages/talks/2014-03-27-Ro…
39 A very interesting question asked by a massive number of guests is: does RocksDB plan to provide re…
41 …ecided yet. We will see whether the community is interested in it and how it can help RocksDB grow.
43 If you have any questions or feedback for the meetup or RocksDB, please let us know in [our Faceboo…
D2015-02-27-write-batch-with-index.markdown10 RocksDB can be used as a storage engine of a higher level database. In fact, we are currently plugg…
14RocksDB previously written by the same transaction (read-your-own-write). To read the updated valu…
16RocksDB data structure for atomic writes of multiple keys. Users can buffer their updates to a `Wr…
18RocksDB. When the user wants to call `Get()`, we first check if the value exists in the `WriteBatc…
20 Using `WriteBatchWithIndex`, we successfully implemented read-your-own-writes in the RocksDB storag…
D2015-07-15-rocksdb-2015-h2-roadmap.markdown2 title: RocksDB 2015 H2 roadmap
10RocksDB team gets together to prioritize the work ahead of us. We just went through this exercise …
16 As you might know, we're working hard to integrate RocksDB as a storage engine for MySQL. This proj…
21 1. Reduce CPU costs of RocksDB as a MySQL storage engine
35 Another database that we're working on is MongoDB. The project of integrating MongoDB with RocksDB
49 **RocksDB on cheaper storage media**
51 … the next six months, we plan to deploy RocksDB on cheaper storage media. We will optimize perform…
64 …urring. We need to fix them to make our customers happy. We will improve RocksDB to provide better…
83 …eployment of RocksDB, engineers are spending more time on debugging RocksDB issues. We plan to imp…
92 What’s the status of this roadmap? “RocksDB on cheaper storage media”, has this been implemented?
D2014-03-27-how-to-persist-in-memory-rocksdb-database.markdown2 title: How to persist in-memory RocksDB database?
10RocksDB for in-memory workloads. With growing RAM sizes and strict low-latency requirements, lots …
14 In this article we will explain how you can recover your in-memory RocksDB database even after a ma…
16 Every update to RocksDB is written to two places - one is an in-memory data structure called memtab…
18 Options::wal_dir is the directory where RocksDB stores write-ahead log files. If you configure this…
21RocksDB provides an utility that enables you to easily backup the snapshot of your database. You c…
25 …on will also move any archived log files back to WAL directory, enabling RocksDB to replay all arc…
44 * Backup RocksDB every T/2 seconds, with BackupableDBOptions::backup_log_files = false
D2016-03-07-rocksdb-options-file.markdown2 title: RocksDB Options File
10 In RocksDB 4.3, we added a new set of features that makes managing RocksDB options easier. Specifi…
12 …* **Persisting Options Automatically**: Each RocksDB database will now automatically persist its c…
16 …b/utilities/options_util.h#L48-L58) that enables developers to construct RocksDB options object fr…
20 …utilities/options_util.h#L64-L77) that performs compatibility check on two sets of RocksDB options.
24 …e this new features? Check out the [RocksDB Options File wiki page](https://github.com/facebook/ro…
D2015-01-16-migrating-from-leveldb-to-rocksdb-2.markdown2 title: Migrating from LevelDB to RocksDB
10RocksDB, one problem you need to overcome is to map the options for LevelDB to proper options for
36 RocksDB code:
82 Once you get up and running with RocksDB you can then focus on tuning RocksDB further by modifying …
84RocksDB have moved to other structures in different components. For example, block_size is not ava…
86 RocksDB code from scratch:
112 The LevelDBOptions utility can ease migration to RocksDB from LevelDB and allows us to break down t…
/rocksdb-6.9/
DUSERS.md1 This document lists users of RocksDB and their use cases. If you are using RocksDB, please open a p…
9 … query throughput, low (millisecond) latency, key-value storage service built on top of RocksDB.[1]
19 Two different use cases at Linkedin are using RocksDB as a storage engine:
33 DNANexus is using RocksDB to speed up processing of genomics data.
37 Iron.io is using RocksDB as a storage engine for their distributed queueing system.
41 Tango is using RocksDB as a graph storage to store all users' connection data and other social acti…
44 Turn is using RocksDB as a storage layer for their key/value store, serving at peak 2.4MM QPS out o…
45 Check out our RocksDB Protobuf merge operator at: https://github.com/vladb38/rocksdb_protobuf
58 Pinterest's Object Retrieval System uses RocksDB for storage: https://www.youtube.com/watch?v=MtFEV…
71 quasardb uses a heavily tuned RocksDB as its persistence layer.
[all …]
DINSTALL.md3 **Important**: If you plan to run RocksDB in production, don't compile using default
4 `make` or `make all`. That will compile RocksDB in debug mode, which is much slower
7 RocksDB's library should be able to compile without any dependency installed,
11 There are few options when compiling RocksDB:
17 * `make check` will compile and run all the unit tests. `make check` will compile RocksDB in debug …
32 * You can link RocksDB with following compression libraries:
116 * Install the dependencies for RocksDB:
135 * Build RocksDB from source:
148 * As RocksDB is not available in the ports yet you have to build it on your own:
150 * Install the dependencies for RocksDB:
[all …]
/rocksdb-6.9/docs/_docs/
Dfaq.md8 Here is an ever-growing list of frequently asked questions around RocksDB
10 ## What is RocksDB?
12 RocksDB is an embeddable persistent key-value store for fast storage. RocksDB can also be the found…
24 ## What is RocksDB suitable for?
26 RocksDB can be used by applications that need low latency database accesses. Possibilities include:
34 ## How big is RocksDB adoption?
36 RocksDB is an embedded storage engine that is used in a number of backend systems at Facebook. In t…
38 RocksDB is proving to be a useful component for a lot of other groups in the industry. For a list o…
40 ## How good is RocksDB as a database storage engine?
42RocksDB has great potential as storage engine for databases. It has been proven in production with…
[all …]
/rocksdb-6.9/CMakeFiles/Export/7a006447cadce6044e9a8143a913fd66/
DRocksDBTargets-release.cmake8 # Import target "RocksDB::rocksdb" for configuration "Release"
9 set_property(TARGET RocksDB::rocksdb APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
10 set_target_properties(RocksDB::rocksdb PROPERTIES
15 list(APPEND _cmake_import_check_targets RocksDB::rocksdb )
18 # Import target "RocksDB::rocksdb-shared" for configuration "Release"
19 set_property(TARGET RocksDB::rocksdb-shared APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
20 set_target_properties(RocksDB::rocksdb-shared PROPERTIES
25 list(APPEND _cmake_import_check_targets RocksDB::rocksdb-shared )
DRocksDBTargets-relwithdebinfo.cmake8 # Import target "RocksDB::rocksdb" for configuration "RelWithDebInfo"
9 set_property(TARGET RocksDB::rocksdb APPEND PROPERTY IMPORTED_CONFIGURATIONS RELWITHDEBINFO)
10 set_target_properties(RocksDB::rocksdb PROPERTIES
15 list(APPEND _cmake_import_check_targets RocksDB::rocksdb )
18 # Import target "RocksDB::rocksdb-shared" for configuration "RelWithDebInfo"
19 set_property(TARGET RocksDB::rocksdb-shared APPEND PROPERTY IMPORTED_CONFIGURATIONS RELWITHDEBINFO)
20 set_target_properties(RocksDB::rocksdb-shared PROPERTIES
25 list(APPEND _cmake_import_check_targets RocksDB::rocksdb-shared )
/rocksdb-6.9/java/src/test/java/org/rocksdb/util/
DBytewiseComparatorIntTest.java153 try (final RocksDB db = RocksDB.open(opt, db_path.toString())) { in testRoundtrip()
163 try (final RocksDB db = RocksDB.open(opt, db_path.toString()); in testRoundtrip()
200 new ColumnFamilyDescriptor(RocksDB.DEFAULT_COLUMN_FAMILY), in testRoundtripCf()
212 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
233 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
DReverseBytewiseComparatorIntTest.java156 try (final RocksDB db = RocksDB.open(opt, db_path.toString())) { in testRoundtrip()
166 try (final RocksDB db = RocksDB.open(opt, db_path.toString()); in testRoundtrip()
203 new ColumnFamilyDescriptor(RocksDB.DEFAULT_COLUMN_FAMILY), in testRoundtripCf()
215 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
236 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
DIntComparatorTest.java152 try (final RocksDB db = RocksDB.open(opt, db_path.toString())) { in testRoundtrip()
162 try (final RocksDB db = RocksDB.open(opt, db_path.toString()); in testRoundtrip()
199 new ColumnFamilyDescriptor(RocksDB.DEFAULT_COLUMN_FAMILY), in testRoundtripCf()
211 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
232 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()

1234567