Suggestion to improve query performance of data validation in proc. - Mailing list pgsql-admin

From postgann2020 s
Subject Suggestion to improve query performance of data validation in proc.
Date
Msg-id CANynezPm5t35FEiCV7zukXd+N_u4LPDVU0E7fzn0hKZ6CeOoQg@mail.gmail.com
Whole thread Raw
List pgsql-admin
Hi Team,
Thanks for your support.

Could you please suggest on below query.

We have multiple long procs that are having 100s of data validations and currently we have written as below.

***********

if (SELECT 1  FROM SCHEMA.TABLE WHERE column=data AND column=data) then
statements
etc..

***********

Are there any other ways to validate the data, which will help us to improve the performance of the query?.

Thanks for your support.

Regards,
PostgAnn.

pgsql-admin by date:

Previous
From: Raj kumar
Date:
Subject: Lag clarification with Sync Replication
Next
From: devchef2020 d
Date:
Subject: Request to help on Query improvement suggestion.