mymeiyi opened a new pull request, #30592:
URL: https://github.com/apache/doris/pull/30592
## Proposed changes
add `DataSize` and `RemoteDataSize` info when `show catalog recycle bin`
before:
```
mysql> show catalog recycle bin;
+-----------+------------+-------+---------+-------------+---------------------+
| Type | Name | DbId | TableId | PartitionId | DropTime
|
+-----------+------------+-------+---------+-------------+---------------------+
| Table | tp | 13009 | 138136 | | 2024-01-29
19:03:17 |
| Table | tp | 13009 | 138602 | | 2024-01-29
19:28:44 |
| Table | tp | 13009 | 139179 | | 2024-01-29
19:28:59 |
| Partition | p_20230126 | 13009 | 138136 | 138130 | 2024-01-29
19:02:51 |
+-----------+------------+-------+---------+-------------+---------------------+
4 rows in set (0.00 sec)
```
after:
```
mysql> show catalog recycle bin;
+-----------+------------------------------------+--------+---------+-------------+---------------------+------------+----------------+
| Type | Name | DbId | TableId |
PartitionId | DropTime | DataSize | RemoteDataSize |
+-----------+------------------------------------+--------+---------+-------------+---------------------+------------+----------------+
| Database | db2 | 152078 | |
| 2024-01-30 19:01:27 | 0.000 | 0.000 |
| Database | regression_test_insert_p0 | 11040 | |
| 2024-01-30 17:16:10 | 245.977 KB | 0.000 |
| Table | datatype | 11040 | 51211 |
| 2024-01-30 16:56:13 | 2.139 KB | 0.000 |
| Table | datatype | 11040 | 150090 |
| 2024-01-30 17:16:10 | 2.139 KB | 0.000 |
| Table | insert_group_commit_into_duplicate | 11040 | 51283 |
| 2024-01-30 16:56:14 | 2.479 KB | 0.000 |
| Partition | p_20230126 | 13009 | 138136 | 138130
| 2024-01-29 19:02:51 | 0.000 | 0.000 |
+-----------+------------------------------------+--------+---------+-------------+---------------------+------------+----------------+
```
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]