English speaking PostgreSQL public chat. This group is for discussions on PostgreSQL-related topics and strives to provide best-effort support as well.
I was asking him, because in Patroni, u need to install pgbackrest in each and every node of patroni, then have a dedicated server for pgbackrest repository, and set the configuration to allow pgbackrest to take backup from patroni nodes, then finally u have to set the archive_command and restore parameters in patroni yaml files in each node, that's it so far I guess. Correct me if I am missing something, pls
Читать полностью…Hi everyone, I'm a beginner in postgres, do you have any recommendations like books to boost my skills in it?
Читать полностью…I know how to set up backrest in standalone...how about when we have ha setup
Читать полностью…How to automate basebackup ij both primary and replica
Читать полностью…But everytime closing and opening of the tool will not cause this issue
Читать полностью…Hmmm. I *wonder* what could cancel your ETL job then 😏
Читать полностью…computer also depends on quantum physics
brain is a piece of hardware
fake.
Stops in the sense tool itself closes within 5-10 days where in job is kept in running state
Читать полностью…Hi guys, I have a pentaho integration tool-etl, which is running in windows, but suddenly stops at night level at unknown intervals ...any particular reason behind it
Читать полностью…Please create temporary tablespace and assign to users. It is storing in storage.. once session is completed, automatically removed
Читать полностью…Good evening, maybe someone can guide me, I have a cluster where connections are made through pgpool on port 9999 using a virtual IP, I want to create a user that connects through the virtual IP and is only read-only, it gives me this error Unable to connect to server connection failed to server 192.168.15.145 port 9999 failed error failed to authenticate with backend using scram detail valid password not found, I already created the user but when I use postgres port 5432 it does allow me to connect but I don't want it there, I want it through port 9999 so that it does the correct pgpool balancing, how could I do where should I create the user? In pgpool_hba.conf?? Where and the postgres encryption method is scram, and pgpool md5, can someone explain to me if it is possible and what I am doing
Читать полностью…I have checked the replication slot and there is no abondoned slot. Also before no archiving was there but I set it now. But the issue is if all 539 gb wal files will copy to remote server , it will fail because not enough space. So this is the scenario. How to tackle this
Читать полностью…Can anyone pls help. My whole motto is to reduce the pg_wal size without affecting replication and archiving. How to achieve this?
Читать полностью…Thank u for all information but I am still confused how to reduce size of pg_wal on master server. After setting archive command on master it will copy the wal files to a remote server and if it copies all files of 539 gb to remote server, it will fail because remote server has not this space.
So in this scenario what should I do to to reduce pg_wal size till 50 gb
Or for miscellaneous purposes or PITR, or auditing, or....
Читать полностью…Patroni just manages Postgres. No difference there.
But you can benefit from pgbackrest in your Patroni config, e.g. for initial cloning etc. There are examples in the Patroni docs, check them out.
You define pg2-*
and decide if you want to backup_standby
Do not automate basebackup, but rather use pgbackrest or other backup solutions
Читать полностью…temp tables are written into a special schema, on disk. But they are not WAL logged (i.e. not sync
ed), so they essentially reside in the shared buffers, if they grow larger they end up in the OS' filesystem cache and *may* spill to the filesystem.
N.B.: the catalog changes related to TEMP tables *are* WAL logged.
That may well be your problem... 5-10 days might be the patch & reboot cycle in your organisation. I've worked in several large shops that rebooted each Window$ machine (including servers) every weekend.
Читать полностью…I guess you'll find what you need here: https://jdbc.postgresql.org/documentation/use/#connecting-to-the-database
Читать полностью…Give me the jdbc url to connect postgres in Databricks help me in this
Читать полностью…Dear collegues, hello
Could anyone tell me which component of memory(RAM, disk) stores temp tables in postgres?
As i know, temp tables are storing while the session or transaction is alive
So in this case where temp tables are storing?
Can I manually delete 2 months older wal files from pg_wal on master if I take full hot backup everyday? Will it cause any error on replication or anything else?
Читать полностью…I will say it once again, the database will not delete a wal segment until:
- it has been succesfully archived
- there are no more replication slots needing that segment
If you have >500gb of of wal segments, check the logs because something is going very wrong in your setup
Ok. It means suppose I set wal keep size to 50 gb. Will it reduce the pg_wal size to 50 gb from 539 gb?
Читать полностью…A quick search in this chat would have discovered this...
Читать полностью…In case your standby points directly to the pg_wal folder of the primary server
Читать полностью…