Hello
Sterpu,
First,
please run vaccum for your Postgresql DB.
No
rows returned from your query. Could you double check
your query criteria.
After
that could you send explain analyze again .
Regards,
FIRAT GÜLEÇ
Infrastructure & Database Operations
Manager
firat.gulec@xxxxxxxxxxxx
M: 0 532 210 57 18
İnönü Mh. Mimar Sinan Cd. No:3 Güzeller
Org.San.Bölg. GEBZE / KOCAELİ
Hello
I'm on a PostgreSQL 12.1 and I
just restored a database from a backup.
When I run a query I get a big
execution time: 5.482 ms
After running EXPLAIN ANALYZE I
can see that the "Planning Time: 5165.742 ms" and
the "Execution Time: 6.244 ms".
The database is new(no need to
vacuum) and i'm the only one connected to it. I use a
single partition on the harddrive.
I also tried this on a postgresql
9.5 and the result was the same.
I'm not sure what to do to
improve this situation.
The query and the explain is
attached.