pg_sql | Unsorted

Telegram-канал pg_sql - PostgreSQL

2830

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

I understand the first one but i don't understand the latter

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

PostgreSQL

* If the extension is .sql, you're _not_ doing a tar format dump. But a single, uncompressed SQL file...
* Many ppl in this channel (including myself) will tell you that a dump is not a backup. Read the documentation on the subject (https://www.postgresql.org/docs/current/backup.html) and compare the pros & cons.
* You will _probably_ end up using pgbackrest, BARMAN or a similar kind of solution, with a WAL archive.

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

PostgreSQL

Take the other link. That first one was just my browesr's URL...

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

PostgreSQL

Check out https://web.telegram.org/a/#-1001764686735

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

PostgreSQL

I will make do with low-performamce SQL. No sense in risking burning out the database engine... it already catches sometimes when I try to replicate boxes!

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

PostgreSQL

May be from Kirk, I don't remember any such list 🤔

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

PostgreSQL

Could you please help me , anyone has postgresql videos

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

PostgreSQL

Banned, deleted and reported

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

PostgreSQL

I would immediately invest that 10.8k and keep looping. It is like printing your own money for free.

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

PostgreSQL

yes, replica is active and slot is active true, same vlan theres no firewall or something, actually theres 2 replicas one of running well, update xmin but one of is stuck keeps same xmin , and I facing with this problem on another clusters too

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

PostgreSQL

but if theres no activity why it keeps xmin, aint is a bug

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

PostgreSQL

what you mean actual subscriber, its physical active rep slot, without any activity

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

PostgreSQL

thank you, I need set to off this config right

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

PostgreSQL

I think postgresql has a bug for physical replication slots, sometimes replication slot keeps xmin that inhibits autovacuum clean dead tuples in lider even theres no transactions in replicas

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

PostgreSQL

How would you implement polymorphic datatype with Postgres? Would you just use JSONB or Class Table Inheritance or just nullable fields?

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

PostgreSQL

Dump is not a backup and stay away from pgAdmin.

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

PostgreSQL

Hello guys, I'm from India-Gujarat, I'm a beginner and need help. Currently, I'm taking a full database backup using the pgAdmin GUI tool in Tar format with Encoding UTF-8 without changing anything. It generates a file almost half the size of the database, and the file extension is .sql. I'm also restoring that backup through the pgAdmin GUI tool, which I guess requires pg_dump and pg_restore. So, am I doing it the right way or not? I think it will take more time and space because the database size is almost 400 GB. Is there any other method for taking backup and restoring then please guide me

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

PostgreSQL

/channel/postgresql_lib

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

PostgreSQL

Any training video available?

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

PostgreSQL

On High-performance SQL

https://stackoverflow.blog/2023/09/28/how-to-write-high-performance-sql-for-your-postgres-database/?_hsenc=p2ANqtz-9nGH4mITy2YCSbO5iO1BZu8oSHs4jMspWDYftXFtfLKSSO1dHhkRS4aPuSvwiqoDpLw1GfduMBl_r0Z0clqqUex2KdHxSAiK0N2CH5QXkP_Fg5ecE&_hsmi=277235435&utm_content=277235953&utm_medium=email&utm_source=hs_email

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

PostgreSQL

Hmmm, didn't we have some video links in a pinned message back in the days? List from @J_Arun_Mani or @CaptainKirkFan IIRC?

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

PostgreSQL

We don't mess around in this channel 😎

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

PostgreSQL

Where did the original post go?

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

PostgreSQL

Maybe there is an update that isn't applying on the replica or it hasn't done a checkpoint etc.?

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

PostgreSQL

And the question re the subscriber meant: did you check that there's really a replica connected? Sometimes a firewall suddenly appears out of nowhere, you know...

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

PostgreSQL

Then the setting doesn't apply anyway.

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

PostgreSQL

"off" may disturb queries on the replicas. Anyway, if your _slot_ is blocking VACUUM, did you check there's an actual subscriber on that slot?

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

PostgreSQL

Physical replication slots don't keep xmin (only actual replication connections with hot_standby_feedback=on do).

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

PostgreSQL

All feasible IMHO, although you'll not enjoy the inheritance approach.

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

PostgreSQL

Lucky he didn't run into the problems with 18.2. 😅 We had lists of journals disappearing because titles and descriptions were subject to a substring clause to limit length printed and the values contained non-ASCII characters, and I think some emails not sent on similar grounds. Had to install a snapshot version with it fixed

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