Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
oldsysops
oldsysops
@oldsysops@social.dk-libre.fr  ·  activity timestamp 12 hours ago
#askfedi : when you refresh collation on a #postgresql database after an os upgrade, is there a way to refresh collation on the replicate without launching a full pg_basebackup ?

#dba #NotForAFriend
  • Copy link
  • Flag this post
  • Block
Julien Riou
Julien Riou
@jriou@hachyderm.io replied  ·  activity timestamp 11 hours ago

@oldsysops If it's a physical replica, the database collation is updated on the replica as soon as you update the primary.

  • Copy link
  • Flag this comment
  • Block
oldsysops
oldsysops
@oldsysops@social.dk-libre.fr replied  ·  activity timestamp 11 hours ago
@jriou@hachyderm.io yes,
i've just figure out that i forgot to upgrade the secondary server so the replication was not working...
my mistake
  • Copy link
  • Flag this comment
  • Block
Julien Riou
Julien Riou
@jriou@hachyderm.io replied  ·  activity timestamp 10 hours ago

@oldsysops Upgrade the OS or PG on the replica?

  • Copy link
  • Flag this comment
  • Block
oldsysops
oldsysops
@oldsysops@social.dk-libre.fr replied  ·  activity timestamp 10 hours ago
@jriou@hachyderm.io the os, i've done an upgrade to debian 13, switch to the upgraded secondary and the replication log was all about collation mismatch...
but that's ok now, everything is up to date now and replication is on.
i can rest now 🙂
  • Copy link
  • Flag this comment
  • Block
Julien Riou
Julien Riou
@jriou@hachyderm.io replied  ·  activity timestamp 10 hours ago

@oldsysops You should reindex all databases concurrently after a collation refresh

  • Copy link
  • Flag this comment
  • Block
oldsysops
oldsysops
@oldsysops@social.dk-libre.fr replied  ·  activity timestamp 10 hours ago
@jriou@hachyderm.io already done !
it was on my check-list.
  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct