[MDEV-17171] Bug: RocksDB Tables do not have "Creation Date" Created: 2018-09-11 Updated: 2020-08-25 Resolved: 2019-11-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | 10.3.9 |
| Fix Version/s: | 10.3.19, 10.4.9 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Juan Telleria | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream, upstream-fixed | ||
| Environment: |
Windows |
||
| Description |
|
If you execute:
In a Database with RocksDB Tables, you will see that RocksDB Tables never contain:
But InnoDB Table do. Could this be fixed please? Thank you. |
| Comments |
| Comment by Sergei Petrunia [ 2019-09-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
An observation by marko : in InnoDB, the Update_time is non-persistent, the data is only stored in InnoDB's in-memory structure. (This is important, as maintaining a fast-changing value on disk would cause IO overhead or require some clever tricks). Check_time is always NULL for InnoDB tables. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2019-09-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Checked if upstream FB/MySQL 5.6 have implemented this feature - no, they don't have it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2019-09-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The patch was pushed to https://github.com/MariaDB/server/tree/bb-10.4-mdev17171 , waiting for BB pass for it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2019-09-07 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Pull request against FB/MySQL-5.6 upstream : https://github.com/facebook/mysql-5.6/pull/1046 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2019-09-18 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Got a question, what is/should happen with create_time when somebody runs ALTER TABLE ? Trying it on InnoDB
So, for in-place ALTER TABLE:
if ALTER TABLE requires table rebuild:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2019-09-24 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Addressed review input. Together with Yoshinori, designed a way to change the data dictionary format so that it is backward and forward- compatible. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2019-10-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Setting to Blocker as discussed with serg. |