Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP

Loading…

Create information_schema.rocksdb_datadic to print data dictionary #83

Closed
yoshinorim opened this Issue · 3 comments

3 participants

@yoshinorim
Owner

This is rather for debugging purposes, but printing data dictionary via information_schema is often very useful.

@hermanlee
Owner

We have support for printing out the index numbers and tables/databases they belong to in information_schema.rocksdb_ddl, but other parts of the data dictionary need to be added (such as binlog numbers, column family indexes, etc.).

@yhchiang
Collaborator

In case this is not something urgent, I would like to try this out :)

First of all, can I know whether storage/rocksdb/rdb_i_s.cc is the right file to begin with? I'm not familiar with the mysql code base.

@hermanlee
Owner

Yes, rdb_i_s.cc is the right place to start. It has the basic structure for creating information schema tables. The table would need to retrieve the contents of the data dictionary and convert them into the appropriate table format and return it.

@hermanlee hermanlee closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.