All Products
Search
Document Center

SHOW RECYCLEBIN

Last Updated: Jun 18, 2021

Description

You can execute the SHOW RECYCLEBIN statement to view objects in the recycle bin.

Syntax

 SHOW RECYCLEBIN;

Parameters

None.

Examples

  • View objects in the recycle bin.
OceanBase(admin@test)> create table t1(c1 int);
Query OK, 0 rows affected (0.24 sec)

OceanBase(admin@test)> drop table t1;
Query OK, 0 rows affected (0.07 sec)

OceanBase(admin@test)> show recyclebin;
+-------------------------------------------+---------------+-------+----------------------------+
| OBJECT_NAME                               | ORIGINAL_NAME | TYPE  | CREATETIME                 |
+-------------------------------------------+---------------+-------+----------------------------+
| __recycle_$_1_1099511628776_1099511677777 | t1            | TABLE | 2017-10-20 17:27:40.881506 |
+-------------------------------------------+---------------+-------+----------------------------+
1 row in set (0.02 sec)