Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: rearrange cli doc sections

Qiao Hanb992677de382
diff --git a/spec/common-cli-sections.json b/spec/common-cli-sections.json
index 866fce897e5..39983906394 100644
--- a/spec/common-cli-sections.json
+++ b/spec/common-cli-sections.json
@@ -216,75 +216,69 @@
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-bloat",
- "title": "Estimates space allocated to a relation that is full of dead tuples",
- "slug": "supabase-inspect-db-bloat",
- "type": "cli-command"
- },
- {
- "id": "supabase-inspect-db-blocking",
- "title": "Show queries that are holding locks and the queries that are waiting for them to be released",
- "slug": "supabase-inspect-db-blocking",
+ "id": "supabase-inspect-db-calls",
+ "title": "Show most frequently run queries",
+ "slug": "supabase-inspect-db-calls",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-cache-hit",
- "title": "Show cache hit rates for tables and indices",
- "slug": "supabase-inspect-db-cache-hit",
+ "id": "supabase-inspect-db-long-running-queries",
+ "title": "Show long running queries",
+ "slug": "supabase-inspect-db-long-running-queries",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-calls",
- "title": "Show queries from pg_stat_statements ordered by total times called",
- "slug": "supabase-inspect-db-calls",
+ "id": "supabase-inspect-db-outliers",
+ "title": "Show queries ordered by total execution time",
+ "slug": "supabase-inspect-db-outliers",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-index-sizes",
- "title": "Show index sizes of individual indexes",
- "slug": "supabase-inspect-db-index-sizes",
+ "id": "supabase-inspect-db-blocking",
+ "title": "Show queries waiting and holding locks",
+ "slug": "supabase-inspect-db-blocking",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-index-usage",
- "title": "Show information about the efficiency of indexes",
- "slug": "supabase-inspect-db-index-usage",
+ "id": "supabase-inspect-db-locks",
+ "title": "Show queries taking exclusive locks",
+ "slug": "supabase-inspect-db-locks",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-locks",
- "title": "Show queries which have taken out an exclusive lock on a relation",
- "slug": "supabase-inspect-db-locks",
+ "id": "supabase-inspect-db-total-index-size",
+ "title": "Show total size of all indexes",
+ "slug": "supabase-inspect-db-total-index-size",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-long-running-queries",
- "title": "Show currently running queries running for longer than 5 minutes",
- "slug": "supabase-inspect-db-long-running-queries",
+ "id": "supabase-inspect-db-index-sizes",
+ "title": "Show sizes of individual indexes",
+ "slug": "supabase-inspect-db-index-sizes",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-outliers",
- "title": "Show queries from pg_stat_statements ordered by total execution time",
- "slug": "supabase-inspect-db-outliers",
+ "id": "supabase-inspect-db-index-usage",
+ "title": "Show information about index efficiency",
+ "slug": "supabase-inspect-db-index-usage",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-replication-slots",
- "title": "Show information about replication slots on the database",
- "slug": "supabase-inspect-db-replication-slots",
+ "id": "supabase-inspect-db-unused-indexes",
+ "title": "Show indexes with low usage",
+ "slug": "supabase-inspect-db-unused-indexes",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-role-connections",
- "title": "Show number of active connections for all database roles",
- "slug": "supabase-inspect-db-role-connections",
+ "id": "supabase-inspect-db-total-table-sizes",
+ "title": "Show total size of all tables",
+ "slug": "supabase-inspect-db-total-table-sizes",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-seq-scans",
- "title": "Show number of sequential scans recorded against all tables",
- "slug": "supabase-inspect-db-seq-scans",
+ "id": "supabase-inspect-db-table-sizes",
+ "title": "Show sizes of individual tables",
+ "slug": "supabase-inspect-db-table-sizes",
"type": "cli-command"
},
{
@@ -293,6 +287,12 @@
"slug": "supabase-inspect-db-table-index-sizes",
"type": "cli-command"
},
+ {
+ "id": "supabase-inspect-db-cache-hit",
+ "title": "Show cache hit rates for tables and indices",
+ "slug": "supabase-inspect-db-cache-hit",
+ "type": "cli-command"
+ },
{
"id": "supabase-inspect-db-table-record-counts",
"title": "Show estimated number of rows per table",
@@ -300,32 +300,32 @@
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-table-sizes",
- "title": "Show table sizes of individual tables without their index sizes",
- "slug": "supabase-inspect-db-table-sizes",
+ "id": "supabase-inspect-db-seq-scans",
+ "title": "Show number of sequential scans for all tables",
+ "slug": "supabase-inspect-db-seq-scans",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-total-index-size",
- "title": "Show total size of all indexes",
- "slug": "supabase-inspect-db-total-index-size",
+ "id": "supabase-inspect-db-replication-slots",
+ "title": "Show information about replication slots",
+ "slug": "supabase-inspect-db-replication-slots",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-total-table-sizes",
- "title": "Show total table sizes, including table index sizes",
- "slug": "supabase-inspect-db-total-table-sizes",
+ "id": "supabase-inspect-db-role-connections",
+ "title": "Show number of active connections",
+ "slug": "supabase-inspect-db-role-connections",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db-unused-indexes",
- "title": "Show indexes with low usage",
- "slug": "supabase-inspect-db-unused-indexes",
+ "id": "supabase-inspect-db-bloat",
+ "title": "Show estimated database bloat",
+ "slug": "supabase-inspect-db-bloat",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-vacuum-stats",
- "title": "Show statistics related to vacuum operations per table",
+ "title": "Show statistics related to vacuum operations",
"slug": "supabase-inspect-db-vacuum-stats",
"type": "cli-command"
}
@@ -373,22 +373,22 @@
},
{
"id": "supabase-branches-create",
- "title": "Create a preview branch for the linked project.",
+ "title": "Create a preview branch",
"slug": "supabase-branches-create",
"type": "cli-command"
},
- {
- "id": "supabase-branches-get",
- "title": "Retrieve details of the specified preview branch.",
- "slug": "supabase-branches-get",
- "type": "cli-command"
- },
{
"id": "supabase-branches-list",
"title": "List all preview branches",
"slug": "supabase-branches-list",
"type": "cli-command"
},
+ {
+ "id": "supabase-branches-get",
+ "title": "Retrieve details of a preview branch",
+ "slug": "supabase-branches-get",
+ "type": "cli-command"
+ },
{
"id": "supabase-branches-update",
"title": "Update a preview branch",
@@ -397,13 +397,13 @@
},
{
"id": "supabase-branches-delete",
- "title": "Delete a preview branch by its ID.",
+ "title": "Delete a preview branch",
"slug": "supabase-branches-delete",
"type": "cli-command"
},
{
"id": "supabase-branches-disable",
- "title": "Disable preview branching for the linked project.",
+ "title": "Disable preview branching",
"slug": "supabase-branches-disable",
"type": "cli-command"
}