You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think properly caching the Rdb_iterator should resolve this performance issue. Then I have tried to change the code to cache the Rdb_iterator in Rdb_transaction but failed(I'm not familiar with myrocks code).
Rdb_iterator_base::setup_scan_iteratorconsumed too much time.sysbench select_random_ranges run --simple_ranges=10 --table_size=1000000 \ --time=600 --db-driver=mysql --threads=50 \ --mysql-host=**** --mysql-user=**** --mysql-password=**** --mysql-db=**** \ --mysql_storage_engine='rocksdb default charset latin1'I think properly caching the
Rdb_iteratorshould resolve this performance issue. Then I have tried to change the code to cache theRdb_iteratorin Rdb_transaction but failed(I'm not familiar with myrocks code).Here is the overall flame graph:
Focus on handler::multi_range_read_next