Hi,
Your error is the use of quotes around the constant numeric value!
You should not use it because that means then that it is a character constant
causing an implicit conversion.
We must consider any implicit conversion in our queries as a potential problem
and we must absolutely avoid u
Hi,
Do you really need to do select *?
In other words, is it necessary to have all columns in the result?
Michel SALAIS
De : benoit
Envoyé : lundi 12 juin 2023 23:35
À : Chris Hoover
Cc : pgsql-performance@lists.postgresql.org
Objet : RE: Forced to use UNION ALL when having multiple
Hi,
The choice between inlining and materializing is not a question of syntax. It
matters if the parent query references the CTE expression more than once but
this is not a decisive factor...
Sometimes one is better and sometimes the other is best.
In Oracle, the choice is done by COST. This sh
Hi,
Does the following query return something:
Select user_name, count(*) from your_table group by user_name having count(*) >
1
Best regards
Michel SALAIS
De : Sajjad Abid
Envoyé : mercredi 27 novembre 2024 05:28
À : Diomedes Dominguez
Cc : pgsql-performance@lists.postgresq
Hi
It is not your question but for such situations, you should consider using
partitioning.
And more closely to your question: I would not disable autovacuum but it must
not work with default values.
Best regards
Michel SALAIS
De : Leo
Envoyé : vendredi 2 mai 2025 16:23
À : pgsql-