-
Rocksdb Tombstone 占用大量 CPU
--16.31%--rocksdb::MemTable::NewRangeTombstoneIterator
|
--15.92%--rocksdb::FragmentedRangeTombstoneList::FragmentedRangeTombstoneList
|
--13.88%--rocksdb::FragmentedRangeTombstoneList::FragmentTombstones
|
|--6.38%--rocksdb::FragmentedRangeTombstoneList::FragmentTombstones(std::unique_ptr<rocksdb::InternalIteratorBase<rocksdb::Slice>, std::default_delete<rocksdb::InternalIteratorBase<rocksdb::Slice> > >, rocksdb::InternalKeyComparator const&, bool, std::vector<unsigned long, std::allocator<unsigned long> > const&)::{lambda(rocksdb::Slice const&)#1}::operator()
| |
| |--2.28%--std::_Rb_tree<unsigned long, unsigned long, std::_Identity<unsigned long>, std::less<unsigned long>, std::allocator<unsigned long> >::_M_get_insert_hint_unique_pos
| |
| --0.68%--__memcmp_sse4_1
|
|--2.36%--operator new
| |
| --1.67%--my_malloc
| |
| --0.51%--je_malloc_default
|
|--1.77%--std::_Rb_tree<rocksdb::ParsedInternalKey, rocksdb::ParsedInternalKey, std::_Identity<rocksdb::ParsedInternalKey>, rocksdb::ParsedInternalKeyComparator, std::allocator<rocksdb::ParsedInternalKey> >::_M_emplace_unique<rocksdb::Slice&, unsigned long&, rocksdb::ValueType>
| |
| --1.34%--rocksdb::InternalKeyComparator::Compare
| |
| --0.55%--__memcmp_sse4_1
|
--0.70%--std::_Rb_tree_insert_and_rebalance
-
Github Issue:
-
Github Fix PR:
-
Jira
-
问题版本:
-
3.1.0 ~ 3.1.14
-
3.2.0 ~ 3.2.10
-
3.3.0 ~ 3.3.2
-
-
修复版本:
-
3.1.15+
-
3.2.11+
-
3.3.3+
-
-
问题原因:
-
临时解决办法: