PrepAway - Latest Free Exam Questions & Answers

How should the system administrator tune the data source properties to improve the application response time?

A performance test team was testing the capacity of concurrent users of a web application
deployed on a multi-processor server. While testing 250 concurrent users, the administrator
discovers connections to the database are failing.
In response, a system administrator increased the connection pool to the maximum limit which the
database allows and increased the prepared statement cache size. The test passed, but the
application response time was slower.
How should the system administrator tune the data source properties to improve the application
response time?

PrepAway - Latest Free Exam Questions & Answers

A.
Change connection pools purge policy.

B.
Decrease connection pool reap time.

C.
Decrease number of free pool partitions.

D.
Decrease the prepared statement cache size.

13 Comments on “How should the system administrator tune the data source properties to improve the application response time?

  1. ibmsucks says:

    Even though “The Reap Time interval also affects performance. Smaller intervals mean that the pool maintenance thread runs more often and degrades performance.” in that case the connection to db is the bottleneck and not CPU. The Reap Time interval affects the accuracy of the Unused Timeout and Aged Timeout settings. The smaller the interval, the greater the accuracy. Default is 180 seconds (3min) which of course will lead to performance degradation. In worst case this means that unused connections wont be returned to the pool 1800 seconds +180 seconds.
    So B does make sense.




    0



    0
    1. certhunt says:

      It says
      Specifies the number of partitions that are created in each of the shared pools.

      Partition support is always enabled. The default values of 0 should be used to enable the connection pool to pick the best values for performance. In some cases where large multiprocessor systems are used, adjusting the partition support properties might help performance.




      0



      0
  2. Charles says:

    I agree that B is correct. IBM says ‘Purge policy – Specifies how to purge connections when a stale connection or fatal connection error is detected.’ But the context of question said, “when it increased the connection pool maximum limit and cache size, the test passed’. It means, the bottleneck was not the connection failure ( connections were waiting in the queue, not failing because of statement error ). I think decrease the reaps time does make sense to improve the responding time.




    0



    0

Leave a Reply