Search Postgresql Archives

How can I check if my cursor statement is using index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a program that reads data from Postgresql database (version 8.0.3) through ODBC, but data retrieval is pretty slow. When I type the same SQL sentence in pgadmin III or any other sql tool it is much faster, and typing 'explain' clearly shows that it is using index. However the program is reading data through a dynamic cursor, I would like to know if there is a way to check if the same sql query generated through dynamic cursor still uses indexes?
Thanks in advance

Dragan


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux