Comments (8)
Comment by jkedgar
Thursday Sep 10, 2015 at 18:55 GMT
I have this working to check the number of keys in the table. I thought about attempting to compare the table names, but wondered if that would run into problems when aliases were used. What other information do we store in the MyRocks data dictionary that you would like to see compared?
from mysql-5.6.
Comment by yoshinorim
Thursday Sep 10, 2015 at 22:21 GMT
We store database_name.table_name in MyRocks data dictionary idx_id=0x1 (https://github.com/MySQLOnRocksDB/mysql-5.6/wiki/MyRocks-data-dictionary-format). We don't store aliases in MyRocks data dictionary.
from mysql-5.6.
Comment by jkedgar
Thursday Sep 10, 2015 at 22:23 GMT
Okay. I'll look into the table name further. Besides these two things, what should we check the consistency of?
from mysql-5.6.
Comment by yoshinorim
Thursday Sep 17, 2015 at 00:52 GMT
Sorry I missed the last comment. I think checking database_name.table_name for all tables is fine. Checking indexes will need to parse frm file itself, which will make things more complex.
from mysql-5.6.
Is failing the system when there are tables with .frm files but not using the rocksdb storage engine too restrictive? It seems like there could be generic uses cases for creating tables with other storage engines.
from mysql-5.6.
As far as it's configurable, I think failing the system at startup is ok. Creating tables with other storage engines may happen on temporary tables, but tmp tables can easily be filtered out.
from mysql-5.6.
There are also tables created using the blackhole engine though that persist across restarts. The current checks would always fail for them.
from mysql-5.6.
Fixed: https://reviews.facebook.net/D47619
from mysql-5.6.
Related Issues (20)
- Make compilation faster HOT 1
- How to achieve ~20% replication throughput improvement using Read Free Replication (RFR) feature
- Keep long-running MyRocks mtr tests in their own suite HOT 1
- MyRocks 8.0.28 has poor performance of primary key range query HOT 1
- create secondary index needs attention
- issue while install HOT 1
- Error during create secondary index
- Update the Build Steps page HOT 1
- MyRocks engine should respect WITH_UNIT_TESTS
- Allow users to manually set the number of block cache shards HOT 1
- Provide a counter to show pending compaction bytes for RocksDB
- MyRocks does commit step non-durably under server group 2PC protocol HOT 1
- alter talbe add index optimization
- Range lock support HOT 2
- Cached RocksDB transaction object accessed after delete by XA COMMIT
- optimize table has no effect on HIDDEN_PK table
- Rdb_iterator_base::next_with_direction: too many compares for eof check HOT 2
- Determin secondary index value emptiness by datadic
- undefined reference to `sgemm_' When compiling vector DB
- -DWITH_LZ4=system doesn't find the lz4 library on the fb-mysql-8.0.28 branch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mysql-5.6.