Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
oldsysops
oldsysops
@oldsysops@social.dk-libre.fr  ·  activity timestamp last month
#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  ·  activity timestamp last month

@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  ·  activity timestamp last month
@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  ·  activity timestamp last month

@oldsysops Upgrade the OS or PG on the replica?

  • Copy link
  • Flag this comment
  • Block
oldsysops
oldsysops
@oldsysops@social.dk-libre.fr  ·  activity timestamp last month
@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  ·  activity timestamp last month

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

  • Copy link
  • Flag this comment
  • Block
oldsysops
oldsysops
@oldsysops@social.dk-libre.fr  ·  activity timestamp last month
@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.2-alpha.32 no JS en
Federation disabled
Log in
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct