All Products
Search
Document Center

SHOW RECYCLEBIN

Last Updated: Jun 18, 2021

Description

The SHOW RECYCLEBIN statement is used to view content in the recycle bin.

Syntax

 SHOW RECYCLEBIN;

Parameter description

None

Examples

  • View the content 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)