We are using the DBF40 drivers (com.hxtt.sql.HxttConnectionPoolDataSource) as part of a web-based application. The database table we are using consists of 166,000 rows joined to a smaller table of 4000 rows. In working with the application, we have noticed that their is a significant delay (approximately 120 seconds) when the first user makes a query through the application. Subsequent queries appear to be almost instantaneous, unless a session expires and then the initial query is slow again.
Can you help me understand this behavior?
>Can you help me understand this behavior?
Because for join table on big table, it will build temporary index automatically sometimes. After delayedClose(a connection property) seconds, it will release that temporary index.
If you're using some join sql frequently, you can use create index sql to create permanent index files.