Files
doris/docs/en/sql-manual/sql-reference/Show-Statements/SHOW-TRASH.md
Mingyu Chen 74a482ca7f [fix] fix docs build bug (#9293)
After this PR #9272, the `docs/build_help_zip.sh` will run failed.
This PR fix this issue.
But the help module still has some parse problem, I will fix it in next PR.

This CL mainly changes:
1. fix `docs/build_help_zip.sh` error
2. remove `sql-reference-v2` to `sql-reference`
3. modify build extension github action to run `docs/build_help_zip.sh`
2022-04-28 22:19:04 +08:00

1.5 KiB

title, language
title language
SHOW-TRASH en

SHOW-TRASH

Name

SHOW TRASH

Description

This statement is used to view the garbage data footprint within the backend.

grammar:

SHOW TRASH [ON BackendHost:BackendHeartBeatPort];

illustrate:

  1. The Backend format is the node's BackendHost:BackendHeartBeatPort
  2. TrashUsedCapacity indicates the space occupied by the garbage data of the node.

Example

  1. View the space occupied by garbage data of all be nodes.

     SHOW TRASH;
    
  2. View the space occupied by garbage data of '192.168.0.1:9050' (specific disk information will be displayed).

    SHOW TRASH ON "192.168.0.1:9050";
    

Keywords

SHOW, TRASH

Best Practice