mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-04 03:52:56 +00:00
chore: improve markdown formatting (#8825)
fixes:  fixes: 
This commit is contained in:
committed by
GitHub
parent
06795c6b9a
commit
cdfdcd3e5d
@@ -36,7 +36,7 @@ To play with it locally one may start proxy over a local postgres installation
|
|||||||
```
|
```
|
||||||
|
|
||||||
If both postgres and proxy are running you may send a SQL query:
|
If both postgres and proxy are running you may send a SQL query:
|
||||||
```json
|
```console
|
||||||
curl -k -X POST 'https://proxy.localtest.me:4444/sql' \
|
curl -k -X POST 'https://proxy.localtest.me:4444/sql' \
|
||||||
-H 'Neon-Connection-String: postgres://stas:pass@proxy.localtest.me:4444/postgres' \
|
-H 'Neon-Connection-String: postgres://stas:pass@proxy.localtest.me:4444/postgres' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
@@ -44,7 +44,8 @@ curl -k -X POST 'https://proxy.localtest.me:4444/sql' \
|
|||||||
"query":"SELECT $1::int[] as arr, $2::jsonb as obj, 42 as num",
|
"query":"SELECT $1::int[] as arr, $2::jsonb as obj, 42 as num",
|
||||||
"params":[ "{{1,2},{\"3\",4}}", {"key":"val", "ikey":4242}]
|
"params":[ "{{1,2},{\"3\",4}}", {"key":"val", "ikey":4242}]
|
||||||
}' | jq
|
}' | jq
|
||||||
|
```
|
||||||
|
```json
|
||||||
{
|
{
|
||||||
"command": "SELECT",
|
"command": "SELECT",
|
||||||
"fields": [
|
"fields": [
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ to list timelines and find their backup and start LSNs.
|
|||||||
|
|
||||||
If S3 state is altered first manually, pageserver in-memory state will contain wrong data about S3 state, and tenants/timelines may get recreated on S3 (due to any layer upload due to compaction, pageserver restart, etc.). So before proceeding, for tenants/timelines which are already deleted in the console, we must remove these from pageservers.
|
If S3 state is altered first manually, pageserver in-memory state will contain wrong data about S3 state, and tenants/timelines may get recreated on S3 (due to any layer upload due to compaction, pageserver restart, etc.). So before proceeding, for tenants/timelines which are already deleted in the console, we must remove these from pageservers.
|
||||||
|
|
||||||
First, we need to group pageservers by buckets, `https://<admin host>/admin/pageservers`` can be used for all env nodes, then `cat /storage/pageserver/data/pageserver.toml` on every node will show the bucket names and regions needed.
|
First, we need to group pageservers by buckets, `https://<admin host>/admin/pageservers` can be used for all env nodes, then `cat /storage/pageserver/data/pageserver.toml` on every node will show the bucket names and regions needed.
|
||||||
|
|
||||||
Per bucket, for every pageserver id related, find deleted tenants:
|
Per bucket, for every pageserver id related, find deleted tenants:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user