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

Hi.
I have a 600GB PostgreSQL database, and I want to set up replication. The issue is that the process of performing pg_basebackup and starting the slave database takes about 3 hours. After that, it seems the replica (slave) attempts to fetch WAL files from the primary (master), but they have already been removed.

Could this issue be related to the wal_keep_size or other WAL-related configurations?

What is the recommended value for these settings to handle a lag of 3 hours?

My Postgres version is 11.

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

PostgreSQL

https://postgrespro.com/community/books/introbook

https://www.postgresql.org/docs/17/index.html

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

PostgreSQL

I have total 10 years of experience in MySQL DBA and AWS solution architect

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

PostgreSQL

It's is not possible
You can use pgpool-ll or manage this from application end like using 2 dB urls.


https://stackoverflow.com/questions/25061136/haproxy-splitting-read-write-postgresql

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

PostgreSQL

In this design developers must use two port one for read and another for write

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

PostgreSQL

Let me introduce you to my new Wordpress blog site:
abconsultdz.wordpress.com

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

PostgreSQL

How do convert MSSQL Database to PostgreSQL db ?

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

PostgreSQL

If I have two port how I can integrate with pgbouncer

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

PostgreSQL

i want the write request go to primary and read request go to replica

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

PostgreSQL

https://www.percona.com/blog/configure-haproxy-with-postgresql-using-built-in-pgsql-check/

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

PostgreSQL

Ping me offline, I conduct training.

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

PostgreSQL

Can I make haproxy automatic separate read from write traffic on single port , the same port for read and write?

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

PostgreSQL

Postgresql by Sadiq basha in Udemy. U will definitely love it.

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

PostgreSQL

yes, and for the read/write separation. Their best guess as to what is read/write is probably good enough to get them started. And I would take EVERYTHING that they are not sure about, and find a way to execute it.
WHERE you can check to see if it consumed an actual TXNID as a result.

Finally, I would see if there were a way to forcibly tell the connection you want a READONLY connection.
Potentially by using a read_only user.

And exercise those questionable calls to see if they error out...

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

PostgreSQL

The overall recommendation is to read the ACTUAL PostgreSQL Documentation.
It's Really Good.

Personally, when I started, AI was not there. I would ask it to summarize the docs for me.
Then I will focus on what I know and work with the AI to compare/contrast to Oracle (b/c I know oracle).

And that's how I would start. But I would also be doing HANDS on stuff, like installing PG.
Installing extensions. Writing Code in plpgsql (stored procedures).
I always like to take something from a different database and try migrating it over.

HTH

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

PostgreSQL

Any one here use citus with postgres

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

PostgreSQL

Now planning to learn Postgres DBA

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

PostgreSQL

Hi all my name is Rajesh

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

PostgreSQL

I want to make it single port

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

PostgreSQL

https://ibb.co/SXhz2hW

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

PostgreSQL

Ping me for... Migration services

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

PostgreSQL

Does your application differentiate between what is a read and write query?

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

PostgreSQL

Yes that it's possible but you need to use more than one port for haproxy

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

PostgreSQL

are this good to separate read from write

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

PostgreSQL

PGPool-II can split by analysing the queries, but I'd highly advice against doing that, especially if you use store functions/procedures.

You can also do similar with multiple databases defined in PGBouncer if your application has the concept of different read vs write connection strings.

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

PostgreSQL

Does anyone know any good "introduction to data modeling" courses or texts? I haven't kept up with the current state of publication in that area, and a friend asked me about it.

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

PostgreSQL

Ok i will definitely take the reference from that. Thanks

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

PostgreSQL

I'm a Mongodb DBA now I want to learn the postgresql database from scratch .how I start or any link or video or online training for postgresql database please guide

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

PostgreSQL

I realized that my question was not at all specific. Thank you for your answer! I don’t trust AI at all yet, although there is a future in this. Thank you again 🙏

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

PostgreSQL

Is there online or offline literature on this Database Management System so that I don’t ask stupid questions here? ) Sorry please

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