Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
It would be great to have an option for mysqldump to read data as of specific timestamp from system-versioned tables. One should just use:
SELECT * FROM <t> FOR SYSTEM_TIME AS OF TIMESTAMP '...';
|
Instead of simple SELECT for such tables if the option is provided.
I think it makes sense to implement this separately from MDEV-16029
Attachments
Issue Links
- causes
-
MDEV-26946 Various small mysqldump manual improvements for the --as-of and --tz-utc options
-
- Open
-
-
MDEV-27749 Binary changes for --as-of and --tz-utc options
-
- Closed
-
-
MDEV-28254 Wrong position for row_start, row_end after adding column to implicit versioned table
-
- Closed
-
- relates to
-
MDEV-16029 mysqldump: dump and restore historical data
-
- Closed
-
-
MDEV-16798 need mysqldump option to include SYSTEM VERSIONING historical records in backups
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Description |
It would be great to have an option for mysqldump to read data as of specific timestamp from system-versioned tables. One should just use:
select * from <t> FOR SYSTEM_TIME AS OF TIMESTAMP '...' instead of simple SELECT for such tables if the option is provided. I think it makes sense to implement this separately from https://jira.mariadb.org/browse/MDEV-16029 |
It would be great to have an option for mysqldump to read data as of specific timestamp from system-versioned tables. One should just use:
select * from <t> FOR SYSTEM_TIME AS OF TIMESTAMP '...' instead of simple SELECT for such tables if the option is provided. I think it makes sense to implement this separately from |
Assignee | Aleksey Midenkov [ midenok ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Comment |
[ h3. Security precaution
Should we allow function calls as {{--asof-time}} parameter, like: {code} mysqldump '--asof-time=NOW()' test {code} ? ] |
Assignee | Aleksey Midenok [ midenok ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Link |
This issue relates to |
Link |
This issue is blocked by |
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 ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Link |
This issue is blocked by |
Priority | Major [ 3 ] | Critical [ 2 ] |
Link |
This issue is blocked by |
Link |
This issue is blocked by |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] |
Due Date | 2021-09-14 |
Assignee | Sergei Golubchik [ serg ] | Aleksey Midenkov [ midenok ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Aleksey Midenkov [ midenok ] | Sergei Golubchik [ serg ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Aleksey Midenkov [ midenok ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Aleksey Midenkov [ midenok ] | Sergei Golubchik [ serg ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Component/s | Scripts & Clients [ 11002 ] | |
Component/s | Backup [ 13902 ] | |
Fix Version/s | 10.7.0 [ 26072 ] | |
Fix Version/s | 10.7 [ 24805 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link | This issue relates to TODO-3118 [ TODO-3118 ] |
Description |
It would be great to have an option for mysqldump to read data as of specific timestamp from system-versioned tables. One should just use:
select * from <t> FOR SYSTEM_TIME AS OF TIMESTAMP '...' instead of simple SELECT for such tables if the option is provided. I think it makes sense to implement this separately from |
It would be great to have an option for mysqldump to read data as of specific timestamp from system-versioned tables. One should just use:
{noformat} SELECT * FROM <t> FOR SYSTEM_TIME AS OF TIMESTAMP '...'; {noformat} Instead of simple SELECT for such tables if the option is provided. I think it makes sense to implement this separately from |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link |
This issue causes |
Link | This issue causes MDEV-26946 [ MDEV-26946 ] |
Workflow | MariaDB v3 [ 87596 ] | MariaDB v4 [ 133568 ] |
Link |
This issue relates to |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue causes |
Link | This issue causes MENT-1457 [ MENT-1457 ] |
Zendesk Related Tickets | 139667 111284 |