Hi Isomorphic,
could you think of some change between v11.1p_2018-04-11 and v11.1p_2018-04-23 (< 2 weeks difference) that somehow can affect server/database query performance?
I have two instances of almost the same code that behaves well in the older version and bad in the newer version.
Both use the same DB with different data, but both with very little data, so this *should* not be the reason (but of course it can).
Before I start now diving into debugging a hard-to-impossible-to-debug-issue, I wanted to ask if you could think of any change that might have happened in (most likely) DB-related code recently.
The issue is that between those two log timestamps VERY much time (30 sec) passes. The query is complicated, but under no circumstances it may make so long.
A fast "yeah I have an idea" or "no, there definitely did not change anything related to this area" would be enough for now.
Thank you & Best regards
Blama
could you think of some change between v11.1p_2018-04-11 and v11.1p_2018-04-23 (< 2 weeks difference) that somehow can affect server/database query performance?
I have two instances of almost the same code that behaves well in the older version and bad in the newer version.
Both use the same DB with different data, but both with very little data, so this *should* not be the reason (but of course it can).
Before I start now diving into debugging a hard-to-impossible-to-debug-issue, I wanted to ask if you could think of any change that might have happened in (most likely) DB-related code recently.
The issue is that between those two log timestamps VERY much time (30 sec) passes. The query is complicated, but under no circumstances it may make so long.
Code:
[B]=== 2018-04-27 15:10:37,864 [c-20] INFO SQLDriver - [builtinApplication.fetchMyPickedLeads] Executing SQL query on 'Oracle' using connection '579961934': SELECT .... === 2018-04-27 15:11:07,669 [c-20] INFO DSResponse - DSResponse: List with 1 items[/B] === 2018-04-27 15:11:07,669 [c-20] INFO DSResponse - DSResponse: List with 1 items === 2018-04-27 15:11:07,669 [c-20] DEBUG DataSourceDMI - Freeing resources in DataSourceDMI... === 2018-04-27 15:11:07,669 [c-20] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8 === 2018-04-27 15:11:07,669 [c-20] DEBUG SQLTransaction - Committing Oracle transaction "579961934" === 2018-04-27 15:11:07,670 [c-20] DEBUG RPCManager - DMI response, dropExtraFields: false === 2018-04-27 15:11:07,670 [c-20] DEBUG DataSourceDMI - Freeing QueueResources in DataSourceDMI === 2018-04-27 15:11:07,670 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4196 === 2018-04-27 15:11:07,670 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4196 === 2018-04-27 15:11:07,670 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1746 === 2018-04-27 15:11:07,670 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1746 === 2018-04-27 15:11:07,670 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1309 === 2018-04-27 15:11:07,670 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1309 === 2018-04-27 15:11:07,670 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4210 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4210 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1743 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1743 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4207 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4207 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4212 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4212 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 955 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 955 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1731 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1731 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1519 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1519 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4211 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4211 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 328 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 328 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4194 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4194 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1689 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4155 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 4155 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1689 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1695 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1695 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1701 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1701 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1540 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1540 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1707 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1707 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1713 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1713 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1497 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1497 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1719 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1719 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1636 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1636 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1725 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1725 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1307 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1307 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1005 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1005 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLTransaction - getConnection() looked for transactional connection for Oracle: hashcode "579961934" === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLTransaction - Ending Oracle transaction "579961934" === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1552 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1552 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1552 === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLTransaction - getConnection() looked for transactional connection for Oracle: (connection is null) === 2018-04-27 15:11:07,671 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 837 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 837 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 837 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLTransaction - getConnection() looked for transactional connection for Oracle: (connection is null) === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1306 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1306 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1306 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLTransaction - getConnection() looked for transactional connection for Oracle: (connection is null) === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1304 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1304 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1304 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLTransaction - getConnection() looked for transactional connection for Oracle: (connection is null) === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1275 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1275 === 2018-04-27 15:11:07,672 [c-20] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 1275 === 2018-04-27 15:11:07,672 [c-20] INFO Compression - /villeroy-boch/lms/sc/IDACall: 3560 -> 1418 bytes
Thank you & Best regards
Blama
Comment