Re: To estimate maximum active sessions on my oracle database is reasonable to the approach?
From: Mladen Gogala <gogala.mladen_at_gmail.com>
Date: Sun, 31 Oct 2021 00:35:10 -0400
Message-ID: <bda54f68-4240-b884-86c3-831a61e9a263_at_gmail.com>
Date: Sun, 31 Oct 2021 00:35:10 -0400
Message-ID: <bda54f68-4240-b884-86c3-831a61e9a263_at_gmail.com>
On 10/30/21 23:35, Quanwen Zhao wrote:
Hey my folks and colleagues 😉,For estimating the maximum concurrent connections on my oracle database server I did the some work as follows:
Via the above two steps I've got some data, such as, aas value is 3.66 and logic cpus are 192. Next I've got the current concurrent connections (61) by running this SQL statement: select count(*) from v$session where status = 'ACTIVE';
- Acquiring Average Active Sessions & Logic CPUs in Real Time;
- Retrieving the current concurrent connections on view "v$session";
Thus I am able to estimate the maximum concurrent connections using the following formula: aas value / logic cpus = current concurrent connections / maximum concurrent connections. That is to say, 3.66 / 192 = 61 / maximum concurrent connections, so which is 3200. Is it reasonable to this approach?
Best RegardsQuanwen Zhao
That is approximately as efficient as hunting grizzly bears with a sewing needle. There is a table named V$RESOURCE_LIMIT which has MAX_UTILIZATION column. The table is described here:
Thanks for reminding to switch my documentation bookmark from
12.2 to 19c, I'll do that tomorrow. As for the grizzly bears,
everybody knows that they should only be hunted with your bare
hands. The same applies to their black cousins.
-- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com-- http://www.freelists.org/webpage/oracle-l Received on Sun Oct 31 2021 - 05:35:10 CET