EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB47653: Cached database connections for the statistics tables are not invalidated when the connection idle timeout reached.


Community Admin

• Strategy


SYMPTOM
 Cached database connections for the statistics tables are not invalidated when the connection idle timeout reached.
 
STEPS TO REPRODUCE

  • Configure the timeout settings for the connection cashing in the database connection for the statistics tables as shown in the image below:
ka04W000000Oad8QAC_0EM4400000029Dc.jpeg
  • Make sure not to mainpulate on Strategy so that none of the record is written to the statistics tables.
  • Note that the caches connection is invalided in 40 seconds which is the connection life time as shown below:
ka04W000000Oad8QAC_0EM4400000029Da.jpeg
  • 2015-08-13 23:31:38.362-08:00 [H..][P..][T..][D..][Connection Management] Connection created: Connection ID: 5, Connection String: DSN=STATS……..
    2015-08-13 23:31:38.377-08:00 [H..][P..][T..][D..][Connection Instances] Connection created: Connection ID: 5, Connection String: DSN=STATS……..
    2015-08-13 23:31:38.393-08:00 [H..][P..][T..][D..][Connection Management] Current connection count in STATISTICS: 1.
    2015-08-13 23:31:38.471-08:00 [H..][P..][T..][D..][Connection Management] Connection cached: Connection ID: 5, Connection String: DSN=STATS……..
    2015-08-13 23:31:48.545-08:00 [H..][P..][T..][D..][Connection Management] Connection picked from cache: Connection ID: 5, Connection String: DSN=STATS……..
    2015-08-13 23:31:48.561-08:00 [H..][P..][T..][D..][Connection Management] Connection cached: Connection ID: 5, Connection String: DSN=STATS……..
    2015-08-13 23:31:58.620-08:00 [H..][P..][T..][D..][Connection Management] Connection picked from cache: Connection ID: 5, Connection String: DSN=STATS……..
    2015-08-13 23:31:58.635-08:00 [H..][P..][T..][D..][Connection Management] Connection cached: Connection ID: 5, Connection String: DSN=STATS……..
    2015-08-13 23:32:08.710-08:00 [H..][P..][T..][D..][Connection Management] Connection picked from cache: Connection ID: 5, Connection String: DSN=STATS……..
    2015-08-13 23:32:08.710-08:00 [H..][P..][T..][D..][Connection Management] Connection cached: Connection ID: 5, Connection String: DSN=STATS……..
    2015-08-13 23:32:18.363-08:00 [H..][P..][T..][D..][Connection Management] Connection deleted: Connection ID: 5, Connection String: DSN=STATS……..
    2015-08-13 23:32:18.379-08:00 [H..][P..][T..][D..][Connection Instances] Connection deleted: Connection ID: 5, Connection String: DSN=STATS……..
  • New connection is created once the connection is deleted.
ka04W000000Oad8QAC_0EM4400000029DZ.jpeg
  • 2015-08-13 23:32:18.394-08:00 [H..][P..][T..][D..][Connection Management] Current connection count in STATISTICS: 0.
    2015-08-13 23:32:18.909-08:00 [H..][P..][T..][D..][Connection Management] Connection created: Connection ID: 0, Connection String: DSN=STATS……..
    2015-08-13 23:32:18.924-08:00 [H..][P..][T..][D..][Connection Instances] Connection created: Connection ID: 0, Connection String: DSN=STATS……..
    2015-08-13 23:32:18.940-08:00 [H..][P..][T..][D..][Connection Management] Current connection count in STATISTICS: 1.
    2015-08-13 23:32:19.033-08:00 [H..][P..][T..][D..] Connection cached: Connection ID: 0, Connection String: DSN=STATS……..
    2015-08-13 23:32:29.108-08:00 [H..][P..][T..][D..][Connection Management] Connection picked from cache: Connection ID: 0, Connection String: DSN=STATS……..
    2015-08-13 23:32:29.124-08:00 [H..][P..][T..][D..][Connection Management] Connection cached: Connection ID: 0, Connection String: DSN=STATS……..

 
CAUSE
The cached connection is picked up every 10 seconds because Intelligence Server writes the statistics records in a buffer. The connection idle timeout set to more than 10 seconds is not triggered.
 
ACTION
There is no action required as this is working as designed.
 
 
KB47653


Comment

0 comments

Details

Knowledge Article

Published:

April 10, 2017

Last Updated:

January 29, 2019