rocksdb/utilities/transactions
agiardullo c5f3707d42 DisableIndexing() for Transactions
Summary:
MyRocks reported some perfomance issues when inserting many keys into a transaction due to the cost of inserting new keys into WriteBatchWithIndex.  Frequently, they don't even need the keys to be indexed as they don't need to read them back.  DisableIndexing() can be used to avoid the cost of indexing.

I also plan on eventually investigating if we can improve WriteBatchWithIndex performance.  But even if we improved the perf here, it is still beneficial to be able to disable the indexing all together for large transactions.

Test Plan: unit test

Reviewers: igor, rven, yoshinorim, spetrunia, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D48471
2015-10-09 15:36:09 -07:00
..
optimistic_transaction_db_impl.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00
optimistic_transaction_db_impl.h Pessimistic Transactions 2015-08-11 17:52:23 -07:00
optimistic_transaction_impl.cc Transactions: Release Locks when rolling back to a savepoint 2015-09-11 18:10:50 -07:00
optimistic_transaction_impl.h Transactions: Release Locks when rolling back to a savepoint 2015-09-11 18:10:50 -07:00
optimistic_transaction_test.cc Transaction stats 2015-09-09 13:35:53 -07:00
transaction_base.cc DisableIndexing() for Transactions 2015-10-09 15:36:09 -07:00
transaction_base.h DisableIndexing() for Transactions 2015-10-09 15:36:09 -07:00
transaction_db_impl.cc DisableIndexing() for Transactions 2015-10-09 15:36:09 -07:00
transaction_db_impl.h Transactions: Release Locks when rolling back to a savepoint 2015-09-11 18:10:50 -07:00
transaction_db_mutex_impl.cc TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_db_mutex_impl.h TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_impl.cc Fix accidental object copy in transactions 2015-09-29 17:36:56 -07:00
transaction_impl.h Transactions: Release Locks when rolling back to a savepoint 2015-09-11 18:10:50 -07:00
transaction_lock_mgr.cc TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_lock_mgr.h TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_test.cc DisableIndexing() for Transactions 2015-10-09 15:36:09 -07:00
transaction_util.cc Transactions: Release Locks when rolling back to a savepoint 2015-09-11 18:10:50 -07:00
transaction_util.h Transactions: Release Locks when rolling back to a savepoint 2015-09-11 18:10:50 -07:00