Re: PgSQL 15.3: Execution plan not using index as expected

2023-08-11 Thread rob stone
Hello, > - > - >   PostgreSQL 9.3.4 on x86_64-unknown-linux-gnu, compiled by gcc > (Debian > 4.8.3-2) 4.8.3, 64-bit > > > - > -

Re: PgSQL 15.3: Execution plan not using index as expected

2023-08-11 Thread Adrian Klaver
On 8/11/23 03:11, Dürr Software wrote: Please reply to list also Ccing list Dear Adrian, thanks for the reply. Of course i ran ANALYZE on the 15.3 system, its in the second part of my post, but here again, FYI: That is EXPLAIN ANALYZE where it is an option to the command: https://www.postgr

Re: pb with big volumes

2023-08-11 Thread Ron
On 8/10/23 23:40, David Rowley wrote: On Fri, 11 Aug 2023 at 13:54, Ron wrote: Wouldn't IO contention make for additive timings instead of exponential? No, not necessarily. Imagine one query running that's doing a parameterised nested loop join resulting in the index on the inner side being de

Re: pb with big volumes

2023-08-11 Thread Marc Millas
No if there is a pumping effect ie. Loading data in the cache flushed by the other request and again and again. I have had this on an Oracle db years ago. Iostat 100% for days. Managed by partitionning and locking some data in the cache Le ven. 11 août 2023 à 03:54, Ron a écrit : > Wouldn't IO