pg_sql | Unsorted

Telegram-канал pg_sql - PostgreSQL

2806

English speaking PostgreSQL public chat. This group is for discussions on PostgreSQL-related topics and strives to provide best-effort support as well.

Subscribe to a channel

PostgreSQL

So how can I reduce the space of pg_wall directory in master database? It is 539 GB space occupied

Читать полностью…

PostgreSQL

And after archiving wal files to remote server , all 539 gb files will copy to remote server or only recent files?

Читать полностью…

PostgreSQL

If it doesn't something is not setup correctly

Читать полностью…

PostgreSQL

I have a question. In master server I established archive command to another remote server. pg_wal on master contains the 6 months old wal files till today's files and size of pg_wal is 539 GB. I have set max_wa_size 10 GB. My question is after archiving the files to remote server , would pg_wal directory space decreased or anything other I need to do?

Читать полностью…

PostgreSQL

archive command is returning 0, and wal files successfully copied to remote location, but on source location copied wal files still did not removed?

Читать полностью…

PostgreSQL

Old wal files are not removed if:
- the archive command is not returning status 0
- there is a standing replication slot without a connected server that has reported succesful wal replay

Читать полностью…

PostgreSQL

So just curious about how wal files get archived and deleted in a replication setup. If anybody knows plz help

Читать полностью…

PostgreSQL

archive command is not running properly if I set it, then will it delete old wal files?

Читать полностью…

PostgreSQL

I have set archive_mode on and set archive_command and max_wal_size is 10 GB. But the size of pg_wal directory is 539 GB. How to handle this situation?

Читать полностью…

PostgreSQL

Thank you. Anyway this doesn't work: bash: /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh: No such file or directory - even if the dir exist

Читать полностью…

PostgreSQL

this folder exist: /usr/share/postgresql-common/pgdg/

Читать полностью…

PostgreSQL

You forgot the "bash" part...

Читать полностью…

PostgreSQL

...because that's one of the HA solutions that EDB has helped customers to set up?

Читать полностью…

PostgreSQL

Well, I know if ur have skilled Engineers to setup the environment for you, then yeah u don't need EDB.
But my question is more in technical level, why still some companies prefer Patroni to EDB, and both they have support and also skilled engineers?

Which is better, and has more to offer?

Читать полностью…

PostgreSQL

Just a random question, why I have seen couples of companies still use Patroni in their HA, even though they have support from EDB?

Читать полностью…

PostgreSQL

The archiver will archive everything that hasn't been archived yet. Check pg_stat_archiver

Читать полностью…

PostgreSQL

So would I need to set wal_keep_size value or not?

Читать полностью…

PostgreSQL

Yes it should decrease automatically

Читать полностью…

PostgreSQL

Check the second one

Читать полностью…

PostgreSQL

Hello All,

In our environment, PostgreSQL is currently running on lower versions, ranging from 9 to 11. We are planning to upgrade to the latest version, and I have a few questions regarding the process.

What are the key considerations or checks we need to perform before the upgrade?

Can we directly upgrade from version 9 to 15, or is a step-by-step upgrade required?
How should we handle extensions during the upgrade process?

What challenges or issues should we anticipate during or after the upgrade?

If anyone with experience in upgrading Postgres, please share your guidance.

Читать полностью…

PostgreSQL

Sir pls help. I have manually copied some wal files to a remote location and executed the checkpoint; but the copied wal files did not get deleted from pg_wal? Why Plz explain

Читать полностью…

PostgreSQL

I have tested it by manually copying wal files to remote location and manually executed checkpoint; but old wal files did not removed

Читать полностью…

PostgreSQL

Check that your archive command is returning properly.

Читать полностью…

PostgreSQL

Mind running this:

dpkg -L postgresql-common | grep pgdg

Читать полностью…

PostgreSQL

Please look up linux and command line basics

Читать полностью…

PostgreSQL

bash: /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh: No such file or directory

Читать полностью…

PostgreSQL

sudo: /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh: command not found

Читать полностью…

PostgreSQL

Aurora or Neon serverless is better.

Читать полностью…

PostgreSQL

Patroni is free open source HA solution. Comparing with EDB is like apples to oranges. Besides if company can recruit skilled postgres dba why would they pay to third party?

Читать полностью…

PostgreSQL

sudo apt install postgresql-common
sudo bash /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
sudo apt update
sudo apt upgrade # will probably refresh some packages
sudo apt install postgresql-17 # or whichever release you want

Читать полностью…
Subscribe to a channel