topling / mytopling Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Show CompactionFilter stat in Rdb_compat_filter_factory WebView.
mtr test “rocksdb.add_index_inplace 'write_committed'” failed
output:
CURRENT_TEST: rocksdb.add_index_inplace
mysqltest: At line 411: Query 'ALTER TABLE t1 DROP INDEX idx, ADD UNIQUE KEY idx (j)' succeeded, should have failed with error '1062'
Feature: Show CompactionFilter stat in Rdb_tbl_prop_coll_factory
WebView
show status like 'Rocksdb_git%';
shows none
:
+------------------+------------------------------------------+
| Variable_name | Value |
+------------------+------------------------------------------+
| Rocksdb_git_date | none |
| Rocksdb_git_hash | none |
+------------------+------------------------------------------+
components: mytopling, toplingdb, sideplugin, cspp-memtab, cspp-wbwi, topling-rocks
in which topling-rocks is optional:
__attribute__((weak)) const char* git_version_hash_info_topling_rocks();
// ...
if (git_version_hash_info_topling_rocks) {
// topling-rocks is present
}
MyRocks inplace_populate_sk()
scan table one pass for each index, this waste CPUs, but this waste is not a hot spot because MyRocks MergeTree is very slow -- thus MergeTree is the hot spot.
MyTopling has auto_sort_sst
, which is very fast, especially for building indexes, thus the wasted table scans are hot spot.
So creating multiple indexes shoule be realized by just one pass table scan, at least for non-unique index.
This needs decode SST smallest/largest userkey by mytopling data dictinary.
Now MyTopling inherited MyRocks's pack/unpack code, which is slow because it pack/unpack data dynamically, in table scan stage, pack/unpack consume , as show in this flame graph:
We can optimize it as below:
We expecting this will greatly improve pack/unpack performance.
InnoDB support parallel index creation by setting innodb_ddl_threads
, mytopling should provide similar feature to speed up index creation and other long running ddl operation.
We had filed such a feature request to myrocks: facebook/mysql-5.6#1245
If myrocks community implemented such feature early, we can merge their contribution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.