English speaking PostgreSQL public chat. This group is for discussions on PostgreSQL-related topics and strives to provide best-effort support as well.
How can clear the directory I have 800gb used of wal log
Читать полностью…... and leaves 70% garbarge lying around while doing so, according to your 1.7->1TB migration 🤓
Читать полностью…Massive performance gains due to the ability to use SSDs as caching and tiered storage
Читать полностью…and does postgreSQL work fine with it rather than the most popular filesystem which is ext4?
Читать полностью…how did u upgrade your overall cluster then? Like if you could tell the brief steps in order to carry this out in the most efficient way?
Читать полностью…>How much time does it take to vacuum full and analyze? And did u vacuum full and anaylze in all tables on the database?
in my case it was a four day job because it's a >1TB database on spinning rust.
>How u can avoid the implications of tables locks in your situation, even if it is carried out in the downtime?
Your best bet is pg_repack https://reorg.github.io/pg_repack/ which will take minimal locks and work like VACUUM FULL (but you need 2x the storage of the db, and at least one primary/unique key per table)
>Also, did u use pgupgrade utility with link or without link in your example?
I used pg_upgradecluster with the link parameter.
How much time does it take to vacuum full and analyze? And did u vacuum full and anaylze in all tables on the database?
How u can avoid the implications of tables locks in your situation, even if it is carried out in the downtime?
Also, did u use pgupgrade utility with link or without link in your example?
I decided to VACUUM FULL before the upgrade and ANALYZE because in the past i had data loss due to undetected corruption on a filesystem (I'm running bcachefs as experimentation)
Читать полностью…json_table and pg_basebackup now supports incremental backup
Читать полностью…Upgraded to 17 today, already in love with it as always, happy upgrading everybody :)
Читать полностью…t.me/catsgang_bot/join?startapp=jeHAWePvwt4yLgr3JPBhf
Meow, lets see who is OG 😼
and did you setup a WAL archive (and does that work???) and/or replication slots?
Читать полностью…Hi guys, i have pg_wal directory with 1 month old of archive logs, how to configure the retention of wall? I have pgpool configured with 1 synchronous and another asynchronous, the parameter wal_keep_size by default is 0
Читать полностью…Aka no need for tablespaces anymore - the filesystem will take care of migrating most used or least used data to the most appropriate storage type, be it ssd or hdd
Читать полностью…Postgresql will work fine with any posix-compliant filesystem
Читать полностью…yeah, does it make any difference on the performance?
Читать полностью…bcachefs is a new generation file system which i'm testing in place of zfs/ext4. It has some promising features but it's not 100% stable. I'm using it in a semi-production environment to see how it behaves
Supposedly it is impossible to lose data with it due to extensive self-healing and checksumming capabilities
Could you pls explain more by what is bcasbefs on the filesystem that it is detected a corruption?
Читать полностью…Go figure. Perhaps i had some extra orphan data files somewhere in the data directory
Читать полностью…Also surprisingly enough, after pg_upgrade my database size went from 1.7TB to 1TB!
Читать полностью…Though we have many reasons to love it, anything specific that attracts you the most ? 😊
Читать полностью…A good start would be a pg_buffercache standard extension and (a lot of) query plan analysyses with buffers, timing, wal options.
Читать полностью…How to check the cache size of tables in postgres database
Читать полностью…Pretty much.
I often find cloud solutions tend to be designed for general usecases.
Where as with your own, you have access to a lot more options to tailor your solution.