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

How to automate basebackup ij both primary and replica

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

PostgreSQL

But everytime closing and opening of the tool will not cause this issue

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

PostgreSQL

Hmmm. I *wonder* what could cancel your ETL job then 😏

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

PostgreSQL

computer also depends on quantum physics
brain is a piece of hardware
fake.

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

PostgreSQL

Stops in the sense tool itself closes within 5-10 days where in job is kept in running state

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

PostgreSQL

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

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

PostgreSQL

Please create temporary tablespace and assign to users. It is storing in storage.. once session is completed, automatically removed

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

PostgreSQL

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

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

PostgreSQL

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

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

PostgreSQL

Can anyone pls help. My whole motto is to reduce the pg_wal size without affecting replication and archiving. How to achieve this?

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

PostgreSQL

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

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

PostgreSQL

Or for miscellaneous purposes or PITR, or auditing, or....

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

PostgreSQL

https://postgresqlco.nf/doc/en/param/wal_keep_size/

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

PostgreSQL

The archived WAL segments will be considered for deleting after two checkpoints. You can see where the archiver is currently working on by checking aforementioned view. *Did you?*

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

PostgreSQL

It should decrease automatically, assuming postgresql believes that the wal has been archived and there is no pending replication slot

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

PostgreSQL

temp tables are written into a special schema, on disk. But they are not WAL logged (i.e. not synced), 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.

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

PostgreSQL

Postgresql on windows 😢

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

PostgreSQL

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.

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

PostgreSQL

I guess you'll find what you need here: https://jdbc.postgresql.org/documentation/use/#connecting-to-the-database

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

PostgreSQL

Can anyone help me out

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

PostgreSQL

Give me the jdbc url to connect postgres in Databricks help me in this

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

PostgreSQL

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?

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

PostgreSQL

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?

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

PostgreSQL

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

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

PostgreSQL

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?

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

PostgreSQL

A quick search in this chat would have discovered this...

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

PostgreSQL

In case your standby points directly to the pg_wal folder of the primary server

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

PostgreSQL

Then what is role of wal keep size

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

PostgreSQL

Aka, as i said earlier:
- check that your archive command is returning status correctly
- check that you don't have any replication slots that have been left abandoned

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

PostgreSQL

Sir how it will decrease automatically. Is there any specific parameter for this?

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