Skip to content

Commit 4758541

Browse files
clusterdb: add page (#18368)
Co-authored-by: Harshavardhan <[email protected]>
1 parent c3d93f1 commit 4758541

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pages/common/clusterdb.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# clusterdb
2+
3+
> Cluster (reorganize) a PostgreSQL database.
4+
> More information: <https://www.postgresql.org/docs/current/app-clusterdb.html>.
5+
6+
- Cluster a specific database:
7+
8+
`clusterdb {{database_name}}`
9+
10+
- Cluster all databases:
11+
12+
`clusterdb {{[-a|--all]}}`
13+
14+
- Cluster a specific table in a database:
15+
16+
`clusterdb {{[-t|--table]}} {{table_name}} {{database_name}}`

0 commit comments

Comments
 (0)