PostgreSQL

pgconfeu,
@pgconfeu@mastodon.social avatar

We plan to open our call for sponsors at 10:00 Athens time on Wednesday, May 22nd. You can already preview the sponsorship options at:

https://2024.pgconf.eu/become-sponsor/

Limited levels often sell out fast, so act quickly!

clairegiordano,
@clairegiordano@hachyderm.io avatar

Hello to those of you who went to #PGDayChicago (organized by the amazing Henrietta Dombrovskaya) here are my slides.

The conference was so much fun! 🎉🐘 I was honored to give this talk & spend time w/#PostgreSQL & #Microsoft friends

🎤 Map of Amazing Postgres Extensions You Might Not Know About 🎤

#Postgres #OpenSource #database #conference

https://speakerdeck.com/clairegiordano/map-of-amazing-postgres-extensions-you-might-not-know-about-claire-giordano-pgday-chicago-2024

carlton,
@carlton@fosstodon.org avatar

@clairegiordano Great slides. Thanks for sharing! 🎁

stevenharman,
@stevenharman@ruby.social avatar

Speaking of the Roadmap, it would be fantastic if we could get the pg_repack extension added! Show your support! https://github.com/heroku/roadmap/issues/123

stevenharman,
@stevenharman@ruby.social avatar

@ascherbaum As far as I know, it's a matter of demand and priority. It's literally on the backlog, but there's a lot of other work in front of it.

ascherbaum,
@ascherbaum@mastodon.social avatar

@stevenharman As one of the maintainers I'm happy to work with them to make sure it runs properly.

ascherbaum,
@ascherbaum@mastodon.social avatar

On this day, 24 years ago, v7.0 was released.

This release brings Foreign Keys, SQL92 Join syntax (although not all join types) and unlimited query length.

Ever seen the occasional 2 MB long query? That version made it possible.

ascherbaum,
@ascherbaum@mastodon.social avatar

@anfr If you want to suffer ...

anfr,
@anfr@mastodon.social avatar

@ascherbaum

Suffering? Not really. I'm quite happy to at least understand my toolchain. And when I say understand, I mean understand.

kta,
@kta@hostux.social avatar

In database land today. Thinking through striping and mirroring on . Klara Systems has unpacked a lot of this:

... This means two things: solid state and mirrors. SSD drives provide far lower latency than conventional drives possibly can. And mirrors provide far better random access performance than RAIDz can—particularly when we’re talking about small random access ops, which can’t be effectively spread across tons of disks in a wide striped vdev...

[1] https://klarasystems.com/articles/openzfs-storage-best-practices-and-use-cases-part-3-databases-and-vms/

kta,
@kta@hostux.social avatar

Any pointers on ZFS for #postgresql databases out in the wild? A favorite configuration to consider?

ferki,
@ferki@fosstodon.org avatar

@kta I've found the following an interesting read a while back on the performance and robustness considerations of running on :

https://vadosware.io/post/everything-ive-seen-on-optimizing-postgres-on-zfs-on-linux/

Happy hacking!

kevinbrill,
@kevinbrill@gamepad.club avatar

sigh The #postgresql logical replication process that has been running for around 3 weeks failed upon completion last night.

ERROR: table copy could not finish transaction on publisher: FATAL: terminating connection due to idle-in-transaction timeout
SSL connection has been closed unexpectedly

Time for google I suppose and an email to our on-retainer postgres expert.

Moving billions of records from one database to another is a PITA yo.

kevinbrill,
@kevinbrill@gamepad.club avatar

@ascherbaum @argv_minus_one Full disclosure: I’m not a DBA at all. Just a software eng trying my best!

ascherbaum,
@ascherbaum@mastodon.social avatar

@kevinbrill @argv_minus_one Sounds complicated.

How many of these rows are changing? And this is logical replication, right?

Could be worth figuring out if you can copy the old rows either before, or afterwards, in chunks, but not in the same transaction.

paulox,
@paulox@fosstodon.org avatar

I'll be speaking at Posette, formerly Citus Con, a free and virtual developer conference on June 11-13, 2024 organized by PostgreSQL team at Microsoft 🐘
Save the date! 📅

CC @posetteconf

https://citusdata.com/posette/2024

Zekovski, French
@Zekovski@pouet.chapril.org avatar

Est-ce qu'il y a des postgresexuels qui peuvent m'aider ? Apparemment j'ai un problème dans ma base de données mais je n'y connais rien.

https://forum.funkwhale.audio/d/556-front-page-displays-errors/8

#PostgreSql #SQL #Help

Best_parolanto,
@Best_parolanto@mastodon.top avatar

@Zekovski bonjour, vous avez pensez à faire appel à un rebooteur ?

ciredutempsEsme,
@ciredutempsEsme@mamot.fr avatar

@Best_parolanto @Zekovski
Un robooteux ?
Hi hu. Joli

benoit, French
@benoit@ruby.social avatar

Yesterday we migrated many databases to 16.2. It went smoothly for all of them except one.
The database is used by Sidekiq for 90% of the traffic. We choose a time window outside of working hours, but still we had some traffic, and we didn't turn off pods. The database was inaccessible for 10min. Jobs rescheduled, and quickly auto-scaling was triggered. I was not able to perform ANALYZE. So requests retrying at the same time + huge disk read. 💥

esparta,
@esparta@ruby.social avatar

@benoit wow. You were brave there.

Don't get me wrong, my experience told me is usually not a good idea to rely on managed databases that much, if I had full control of the servers then it may be fine, we can do dry-runs multiple times and monitor before proceeding.

When I do not have control of the server I prefer to follow what Heroku have documented:

https://devcenter.heroku.com/articles/upgrading-heroku-postgres-databases

Basically: create an upgraded follower, sync, then switch over, drop the old leader - now the follower.

ascherbaum,
@ascherbaum@mastodon.social avatar

@esparta @benoit This is not really a #PostgreSQL issue, but how RDS handles the upgrade.

I also agree that creating a new follower and populating it with logical replication is a good choice.

Utopiageo, French
@Utopiageo@framapiaf.org avatar

Nous recherchons un administrateur de base de données / à Grenoble Alpes métropole
https://recrutement.grenoblealpesmetropole.fr/?page=advertisement_display&id=2288

Et aussi un apprenti ...
https://recrutement.grenoblealpesmetropole.fr/?page=advertisement_display&id=2334

Avec beaucoup de ❤️

kimaidou,
@kimaidou@mapstodon.space avatar
mkuhn,
@mkuhn@fosstodon.org avatar
underdarkGIS,
@underdarkGIS@fosstodon.org avatar
gjergjiramku,
@gjergjiramku@mastodon.social avatar

What's your go to db for side projects?

From now on mine will be sqlite.

So many benefits compared to other database, where do I start from?

ascherbaum,
@ascherbaum@mastodon.social avatar

@gjergjiramku And it's mostly compatible to #PostgreSQL, once you need network connectivity or multi user...

gjergjiramku,
@gjergjiramku@mastodon.social avatar

@ascherbaum oh yeah, but that alone will get you very far.

sqlite handles quite a bit of load

adlerweb, German
@adlerweb@social.adlerweb.info avatar

Tage Seit explodiert ist? 0.

Aber hey. Locking ist offenbar kompliziert. >_>

ascherbaum,
@ascherbaum@mastodon.social avatar

@adlerweb Was ist passiert?

ishands,
@ishands@hachyderm.io avatar

2050: In a surprising twist, after conquering the digital world, launches its own satellite (PostgresQLite) to store alien data.

ascherbaum,
@ascherbaum@mastodon.social avatar

@ishands Year of first contact with aliens is 2063, not 2050!

#StarTrek

ascherbaum,
@ascherbaum@mastodon.social avatar

Event Calendar, Reminder:

🌐 TLE Vision and Specifics

Date: 2024-04-17T17:00:00Z - 2024-04-17T18:00:00Z
Location: online

ICS file: https://ics.postgresql.life/61eevkt2pat15mlor2gsm3reat.ics

theory,
@theory@xoxo.zone avatar

@ascherbaum stupid computers

ascherbaum,
@ascherbaum@mastodon.social avatar

@theory well, it's complicated. The script queues any changes in the event, and adds a reminder if there is enough time. But I also need to handle changes in past event, as example if a recording is added later on. That deserves a new post.

Thanks for bringing this up, will see what I can do there.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • PostgreSQL
  • ethstaker
  • DreamBathrooms
  • cubers
  • mdbf
  • everett
  • magazineikmin
  • Durango
  • Youngstown
  • rosin
  • slotface
  • modclub
  • kavyap
  • GTA5RPClips
  • ngwrru68w68
  • JUstTest
  • thenastyranch
  • cisconetworking
  • khanakhh
  • osvaldo12
  • InstantRegret
  • Leos
  • tester
  • tacticalgear
  • normalnudes
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines