| From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
|---|---|
| To: | postgann2020 s <postgann2020(at)gmail(dot)com> |
| Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
| Subject: | Re: Suggestion to improve query performance of data validation in proc. |
| Date: | 2020-05-22 08:09:40 |
| Message-ID: | CAKFQuwbcjxWdSQSThOy7Ofo2+8+nK5fGHMoBuciZxjS6RB9CVQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-general pgsql-performance |
On Friday, May 22, 2020, postgann2020 s <postgann2020(at)gmail(dot)com> wrote:
>
> We are looking for a better query than "*SELECT 1 FROM schema.table_name
> WHERE column1=structure_id1*" this query for data validation.
>
There is no more simple a query that involve records on a single,table.
Please suggest is there any other ways to validate this kind of queries
> which will improve the overall performance.
>
Abandon procedural logic and embrace the declarative set oriented nature of
SQL.
David J.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | devchef2020 d | 2020-05-22 10:45:03 | Request to help on Query improvement suggestion. |
| Previous Message | postgann2020 s | 2020-05-22 07:44:27 | Re: Suggestion to improve query performance of data validation in proc. |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tim Kane | 2020-05-22 08:19:57 | btree_gist extension - gbt_cash_union return type |
| Previous Message | postgann2020 s | 2020-05-22 07:44:27 | Re: Suggestion to improve query performance of data validation in proc. |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | devchef2020 d | 2020-05-22 10:45:03 | Request to help on Query improvement suggestion. |
| Previous Message | postgann2020 s | 2020-05-22 07:44:27 | Re: Suggestion to improve query performance of data validation in proc. |