-
Notifications
You must be signed in to change notification settings - Fork 13
Index Condition Pushdown for RocksDB-SE #37
Comments
Got a patch that seems to work. Testing is difficult, because there is no counter for how many index records were scanned. MariaDB has counters that tell how many times Index Condition was checked ( https://mariadb.com/kb/en/mariadb/index-condition-pushdown/), but MySQL 5.6 (and so webscale) doesn't. |
It seems, internal_key_skipped count doesn't count all rows that were read from an index. The following query makes 10 Next() calls, but nothing increases:
|
Actually, stepping through gdb, it looks like the counter is getting incremented, but we're not recording it. I've set a breakpoint where the counter is bumped and it's the following stack trace: (gdb) bt We're only recording stats in the secondary_index_read() and rnd_next_with_direction() spots, but not in the apply iterator, which calls into rocksdb directly. I can move perf records up a level and have them at the index_first/index_read_map and rnd_init/rnd_first calls. How does that sound? |
Summary: A straightforward implementation of Index Condition Pushdown Test Plan: mtr t/rocksdb_icp.test Reviewers: maykov, hermanlee4, jonahcohen, jtolmer, yoshinorim Reviewed By: yoshinorim Differential Revision: https://reviews.facebook.net/D35181
Summary: A straightforward implementation of Index Condition Pushdown Test Plan: mtr t/rocksdb_icp.test Reviewers: maykov, hermanlee4, jonahcohen, jtolmer, yoshinorim Reviewed By: yoshinorim Differential Revision: https://reviews.facebook.net/D35181
We need to support Index Condition Pushdown in RocksDB-SE.
The text was updated successfully, but these errors were encountered: