Skip to content

Commit

Permalink
Quartz sync: Jan 5, 2024, 8:46 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
ellie committed Jan 5, 2024
1 parent 573e0c6 commit a8b733c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion content/notes/postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ SELECT * FROM pg_replication_slots;
SELECT extract(epoch from now() - pg_last_xact_replay_timestamp()) AS replica_lag
```


### Dump database schema only
```bash
pg_dump --schema-only databasename
```
## Useful tools
- [WAL streaming and backup via object storage](https://github.com/wal-g/wal-g)

0 comments on commit a8b733c

Please sign in to comment.