DROP SNAPSHOT
Syntax Description
DROP SNAPSHOT is used to delete snapshots created under the current instance.
Syntax Structure
> DROP SNAPSHOT snapshot_name;
Example
--Execute under instance 585b49fc_852b_4bd1_b6d1_d64bc1d8xxxx
create snapshot sp1 for account `585b49fc_852b_4bd1_b6d1_d64bc1d8xxxx`;
mysql> show snapshots;
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SNAPSHOT_NAME | TIMESTAMP | SNAPSHOT_LEVEL | ACCOUNT_NAME | DATABASE_NAME | TABLE_NAME |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| sp1 | 2024-07-09 06:34:09.381035637 | account | 585b49fc_852b_4bd1_b6d1_d64bc1d8xxxx | | |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 row in set (0.16 sec)
drop snapshot sp1;
mysql> show snapshots;
Empty set (0.01 sec)