You are on page 1of 4

15/4/2020 ADB HOL # 5-1: Understanding Connectivity Services | Oracle Community

ADB HOL # 5-1: Understanding connection services  Version 6

Created by TakeshiNagakubo-Oracle on Dec 20, 2019 12:37 AM. Last modified by TakeshiNagakubo-Oracle on Feb 13, 2020 6:12 AM.

Back to Contents : Tutorial: Get Started with Oracle Cloud Infrastructure


> Return to ADB Contents List : Autonomous Database Hands-on Lab

When connecting to an instance, Autonomous Database should choose a "connection service" depending on the characteristics of the application.
Since resource control by the resource manager has been set for each "connection service", the user can control CPU allocation and parallel processing
simply by selecting the connection service.

Guidelines for proper use and starting points

OLTP processing
If many users execute relatively light SQL at the same time , please use TP first .
Since it has a relatively high priority and is processed by a single CPU core, the resource usage of single processing can be minimized and
throughput (TPS: Transaction Per Sec) can be improved.
On the other hand, if you want to manually control the degree of parallelism, or if you want special processing that requires the highest priority,
use TPURGENT .
In addition, HIGH / MEDIUM is not suitable for OLTP processing because it has a limited number of concurrent executions.

Batch / DWH processing


If the number of concurrent users is small, but one SQL is heavy and takes a long time , please use MEDIUM first .

https://community.oracle.com/docs/DOC-1035075 1/4
15/4/2020 ADB HOL # 5-1: Understanding Connectivity Services | Oracle Community
Since multiple CPU cores are assigned to a single SQL and queuing is also implemented, efficient processing is possible and response
(Elapsed Time) can be improved.
If you want to allocate more resources to improve performance, use HIGH . However, the number of concurrent executions is limited to 3.

Other management operations


Please use LOW

In the following, which can be set for each connection service, set the CPU / IO priority (Shares) , the upper limit setting of the processing time /
use IO amount to learn about.

Workflow
1. Access the Resource Manager settings screen of the service console
2. Let's change the priority of CPU / IO
3. Let's set the upper limit of processing time / IO used

Time required: about 10 minutes

1. Access the setting screen

1. Click Service Console .

2. Administration from Set Resource Management Rules and click.

2. Change the Shares parameter


This corresponds to the MGMT_P1 parameter in Resource Manager.

https://community.oracle.com/docs/DOC-1035075 2/4
15/4/2020 ADB HOL # 5-1: Understanding Connectivity Services | Oracle Community
A value that indicates the relative priority of CPU allocation between each connection service (consumer group). For example, when a session using TP
and a session using HIGH are processed simultaneously, of the available CPU resources, 8 / (8 + 4) = 66.7% is allocated to TP and 4 / (8 + 4) = 33.3%
is allocated to HIGH.

IO is allocated in proportion to the CPU.

1. Click the CPU / IO shares tab.

2. By default, no upper limit is set. Change the values as appropriate and click Save Changes.
(Here, as an example, the TP priority is changed from the default 8 to 10. )

3. Set the processing time and the upper limit of IO

1. Click the Run-away criteria tab.

2. Check the default settings, change the values as appropriate and click Save Changes.
(Here, as an example , the processing time upper limit for HIGH and MEDIUM is set to 10 minutes, and the IO upper limit for MEDIUM is set to
10 GB.)

https://community.oracle.com/docs/DOC-1035075 3/4
15/4/2020 ADB HOL # 5-1: Understanding Connectivity Services | Oracle Community

That concludes the work in this chapter.

Please proceed to the next chapter.


ADB HOL # 5-2: Analytical query execution (Star Schema Benchmark)

145 Views Categories: Autonomous Database Tags:

Average User Rating

(0 ratings)

0 Comments

Oracle Community

   
About Oracle Developer Community FAQ Communities Other Languages Oracle.com

Site Map Legal Notices Terms of Use Privacy Cookie Preferences Ad Choices

https://community.oracle.com/docs/DOC-1035075 4/4

You might also like