mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-19 18:01:37 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/clusterdb
Normal file
21
tldr/clusterdb
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# clusterdb
|
||||
|
||||
> Cluster (reorganize) a PostgreSQL database.
|
||||
> More information: <https://www.postgresql.org/docs/current/app-clusterdb.html>.
|
||||
|
||||
- Cluster a specific database:
|
||||
|
||||
`clusterdb {{database_name}}`
|
||||
|
||||
- Cluster all databases:
|
||||
|
||||
`clusterdb {{[-a|--all]}}`
|
||||
|
||||
- Cluster a specific table in a database:
|
||||
|
||||
`clusterdb {{[-t|--table]}} {{table_name}} {{database_name}}`
|
||||
Reference in New Issue
Block a user