I developed server applicaton almoust fully based on Poco library. Application has modular structure based on Poco::SharedLibrary. There are HTTP server and several HTTP clients for exctraction some information from internet. Size of C++ code is above 500kb. All project's modules use PostgreSQL for store data. About 10 SQL queries executed in second in several threads, but execution time may be a half second for one query. Average 200-300 miliseconds on query. Database and server application runned on same computer(double dual core). OS is Fedore Core. ODBC driver is ODBCng.
Debug build of same project on Windows XP(single core P4 3000) with psqlODBC driver work faster ten times. Average 10-30 miliseconds on query.
May anybody help solve problem with query exection time on Fedore Core?
May be need to compile library and project special way?
If need additional information please ask me.
Sorry if my english not so good.