Обсуждение: Validation of db post minor upgradation

Поиск
Список
Период
Сортировка

Validation of db post minor upgradation

От
Rajesh Kumar
Дата:
Hi all,

Is there any validation to be performed in database after upgrading postgres version from 15.2 to 15.6 ?

I am using openshift env.

Re: Validation of db post minor upgradation

От
vignesh kumar
Дата:
Just you need to go through the release notes of both the versions and validate them accordingly. Upon my experience that's the best known method to validate things. Again it depends whether you wanted to do a data validation of the admin level validation ( considering only the file system level changes or binary upgrades if any). Pg_upgrade should infact take care of the upgrade. That's why it's better to do a pg_upgrade check before doing actual upgrade.. hope this helps.


From: Rajesh Kumar <rajeshkumar.dba09@gmail.com>
Sent: Wednesday, March 20, 2024 11:41:28 AM
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Validation of db post minor upgradation
 
Hi all,

Is there any validation to be performed in database after upgrading postgres version from 15.2 to 15.6 ?

I am using openshift env.

Re: Validation of db post minor upgradation

От
Rajesh Kumar
Дата:
I think it's not possible to perform pg_upgrade check in operator platform like openshift.

We are simply changing the image tags in yaml and applying it.


On Wed, 20 Mar 2024, 12:19 vignesh kumar, <vigneshkumar.venugopal@outlook.com> wrote:
Just you need to go through the release notes of both the versions and validate them accordingly. Upon my experience that's the best known method to validate things. Again it depends whether you wanted to do a data validation of the admin level validation ( considering only the file system level changes or binary upgrades if any). Pg_upgrade should infact take care of the upgrade. That's why it's better to do a pg_upgrade check before doing actual upgrade.. hope this helps.


From: Rajesh Kumar <rajeshkumar.dba09@gmail.com>
Sent: Wednesday, March 20, 2024 11:41:28 AM
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Validation of db post minor upgradation
 
Hi all,

Is there any validation to be performed in database after upgrading postgres version from 15.2 to 15.6 ?

I am using openshift env.

Re: Validation of db post minor upgradation

От
vignesh kumar
Дата:
End of the day it's the postgres image that matters from which version you are upgrading.. OCI will just be a top layer to keep container operating..



From: Rajesh Kumar <rajeshkumar.dba09@gmail.com>
Sent: Wednesday, March 20, 2024 12:38:53 PM
To: vignesh kumar <vigneshkumar.venugopal@outlook.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Validation of db post minor upgradation
 
I think it's not possible to perform pg_upgrade check in operator platform like openshift.

We are simply changing the image tags in yaml and applying it.


On Wed, 20 Mar 2024, 12:19 vignesh kumar, <vigneshkumar.venugopal@outlook.com> wrote:
Just you need to go through the release notes of both the versions and validate them accordingly. Upon my experience that's the best known method to validate things. Again it depends whether you wanted to do a data validation of the admin level validation ( considering only the file system level changes or binary upgrades if any). Pg_upgrade should infact take care of the upgrade. That's why it's better to do a pg_upgrade check before doing actual upgrade.. hope this helps.


From: Rajesh Kumar <rajeshkumar.dba09@gmail.com>
Sent: Wednesday, March 20, 2024 11:41:28 AM
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Validation of db post minor upgradation
 
Hi all,

Is there any validation to be performed in database after upgrading postgres version from 15.2 to 15.6 ?

I am using openshift env.

Re: Validation of db post minor upgradation

От
Michael Banck
Дата:
Hi,

On Wed, Mar 20, 2024 at 06:49:47AM +0000, vignesh kumar wrote:
> Pg_upgrade should infact take care of the upgrade. That's why it's
> better to do a pg_upgrade check before doing actual upgrade.. hope
> this helps.

pg_upgrade is for major upgrades. This thread is about minor/maintenance
upgrades if I understood correctly.


Michael



Re: Validation of db post minor upgradation

От
vignesh kumar
Дата:
Ok i see your concern. Minor upgrade just need replacing binaries with newer ones. Which changing the image tag will do the work for you. Eventually you need to know what are all the changes that went through from previous minor build version to new ones so that you can test that particular component 

From: Michael Banck <mbanck@gmail.com> on behalf of Michael Banck <mbanck@gmx.net>
Sent: Wednesday, March 20, 2024 3:16:00 PM
To: vignesh kumar <vigneshkumar.venugopal@outlook.com>
Cc: Rajesh Kumar <rajeshkumar.dba09@gmail.com>; Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Validation of db post minor upgradation
 
Hi,

On Wed, Mar 20, 2024 at 06:49:47AM +0000, vignesh kumar wrote:
> Pg_upgrade should infact take care of the upgrade. That's why it's
> better to do a pg_upgrade check before doing actual upgrade.. hope
> this helps.

pg_upgrade is for major upgrades. This thread is about minor/maintenance
upgrades if I understood correctly.


Michael