Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
Backup through mysqldump loses historical data from versioned tables.
mysqldump does not read historical rows from the versioned tables, it runs SELECT, not SELECT .. FOR SYSTEM_TIME ALL. But even if we fixed it, it would still be impossible to load this data back, since we are dealing either with invisible columns into which we can't insert at all, or with virtual columns for which values are ignored. So, for now it becomes a known limitation which needs to be documented.
Attachments
Issue Links
- causes
-
MDEV-29730 mysqldump --dump-history creates broken dump if there are precision-versioned tables
-
- Closed
-
-
MDEV-29736 mysqldump sets system_versioning_insert_history=1 twice and doesn't restore previous value
-
- Closed
-
-
MDEV-29737 mysqldump doesn't check for --tz-utc when it accepts --dump-history
-
- Closed
-
-
MDEV-29828 Indicate that --dump-history only applies to timestamp-based versioning
-
- Closed
-
- duplicates
-
MDEV-23125 Backfilling System Versioned Tables
-
- Closed
-
- includes
-
MDEV-16733 mysqldump --tab and --xml options are conflicting
-
- Closed
-
-
MDEV-16734 LOAD DATA and system_versioning_modify_history
-
- Closed
-
- is blocked by
-
MDEV-15923 option to control who can set session @@timestamp
-
- Closed
-
-
MDEV-16546 System versioning setting to allow history modification
-
- Closed
-
-
MDEV-16684 Wrong timestamps on restore from mysqldump --compact
-
- Closed
-
- is duplicated by
-
MDEV-16798 need mysqldump option to include SYSTEM VERSIONING historical records in backups
-
- Closed
-
- is part of
-
MDEV-29547 prepare 10.11.0 preview releases
-
- Closed
-
- relates to
-
MDEV-16355 Add option for mysqldump to read data as of specific timestamp from system-versioned tables
-
- Closed
-
-
MDEV-16766 mysqldump: dump history in XML
-
- Open
-
-
MDEV-29741 SHOW BINLOG EVENTS shows garbage with system_versioning_insert_history=on
-
- Closed
-
-
MDEV-29750 Triggers can modify history
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Ian Gilfillan [ greenman ] |
Assignee | Alexander Krizhanovsky [ krizhanovsky ] |
Link |
This issue is blocked by |
Assignee | Alexander Krizhanovsky [ krizhanovsky ] | Aleksey Midenkov [ midenok ] |
Link |
This issue relates to |
Status | Open [ 1 ] | In Progress [ 3 ] |
Description |
{{mysqldump}} does not read historical rows from the versioned tables, it runs {{SELECT}}, not {{SELECT .. FOR SYSTEM_TIME ALL}}. But even if we fixed it, it would still be impossible to load this data back, since we are dealing either with invisible columns into which we can't insert at all, or with virtual columns for which values are ignored. So, for now it becomes a known limitation which needs to be documented.
|
Backup through mysqldump loses historical data from versioned tables.
{{mysqldump}} does not read historical rows from the versioned tables, it runs {{SELECT}}, not {{SELECT .. FOR SYSTEM_TIME ALL}}. But even if we fixed it, it would still be impossible to load this data back, since we are dealing either with invisible columns into which we can't insert at all, or with virtual columns for which values are ignored. So, for now it becomes a known limitation which needs to be documented. |
Summary | Backup through mysqldump loses historical data from versioned tables | mysqldump: dump and restore historical data |
Link |
This issue is blocked by |
Link |
This issue is blocked by |
Link |
This issue relates to |
Link |
This issue includes |
Link | This issue relates to MDEV-16766 [ MDEV-16766 ] |
Link |
This issue includes |
Link |
This issue relates to |
Assignee | Aleksey Midenkov [ midenok ] | Nikita Malyavin [ nikitamalyavin ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Nikita Malyavin [ nikitamalyavin ] | Aleksey Midenkov [ midenok ] |
Assignee | Aleksey Midenkov [ midenok ] | Sergei Golubchik [ serg ] |
Assignee | Sergei Golubchik [ serg ] | Aleksey Midenkov [ midenok ] |
Assignee | Aleksey Midenkov [ midenok ] | Sergei Golubchik [ serg ] |
Link |
This issue is duplicated by |
Link |
This issue blocks |
Link |
This issue relates to |
Priority | Major [ 3 ] | Critical [ 2 ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Fix Version/s | 10.4 [ 22408 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Link |
This issue blocks |
Labels | need_feedback |
Labels | need_feedback |
Fix Version/s | 10.5 [ 23123 ] |
Link |
This issue duplicates |
Link |
This issue blocks |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] |
Link |
This issue blocks |
Priority | Critical [ 2 ] | Major [ 3 ] |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.6 [ 24028 ] |
Fix Version/s | 10.8 [ 26121 ] | |
Fix Version/s | 10.7 [ 24805 ] |
Affects Version/s | 10.3 [ 22126 ] | |
Issue Type | Bug [ 1 ] | Task [ 3 ] |
Workflow | MariaDB v3 [ 86795 ] | MariaDB v4 [ 131766 ] |
Fix Version/s | 10.9 [ 26905 ] | |
Fix Version/s | 10.8 [ 26121 ] |
Link |
This issue relates to |
Link | This issue is duplicated by MENT-1467 [ MENT-1467 ] |
Fix Version/s | 10.11 [ 27614 ] | |
Fix Version/s | 10.9 [ 26905 ] |
Description |
Backup through mysqldump loses historical data from versioned tables.
{{mysqldump}} does not read historical rows from the versioned tables, it runs {{SELECT}}, not {{SELECT .. FOR SYSTEM_TIME ALL}}. But even if we fixed it, it would still be impossible to load this data back, since we are dealing either with invisible columns into which we can't insert at all, or with virtual columns for which values are ignored. So, for now it becomes a known limitation which needs to be documented. |
Backup through mysqldump loses historical data from versioned tables. {{mysqldump}} does not read historical rows from the versioned tables, it runs {{SELECT}}, not {{SELECT .. FOR SYSTEM_TIME ALL}}. But even if we fixed it, it would still be impossible to load this data back, since we are dealing either with invisible columns into which we can't insert at all, or with virtual columns for which values are ignored. So, for now it becomes a known limitation which needs to be documented. |
Status | In Review [ 10002 ] | In Testing [ 10301 ] |
Status | In Testing [ 10301 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Testing [ 10301 ] |
Assignee | Sergei Golubchik [ serg ] | Elena Stepanova [ elenst ] |
Link |
This issue is part of |
Link | This issue relates to TODO-3607 [ TODO-3607 ] |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue relates to |
Link |
This issue causes |
Link |
This issue relates to |
Link |
This issue causes |
Status | In Testing [ 10301 ] | Stalled [ 10000 ] |
Fix Version/s | 10.11.1 [ 28454 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Labels | Preview_10.11 |
Zendesk Related Tickets | 111284 |