Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand the parallel operation of Oracle

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article focuses on "how to understand the parallel operation of Oracle". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to understand the parallel operation of Oracle.

SQL statements are serialized on one cpu by default, and even if the system has multiple cpu, they cannot be used, so an obvious bottleneck is a

The resources used by cpu determine the performance of sql statements.

So it comes out of the situation and operates in parallel-- working with multiple cpu at the same time.

There are two processes for parallel operations:

Slave Process: this type of process is made up of multiple processes with the same status. Each process is responsible for part of or a unit of work. For example, full table scan, each process is responsible

Scan part of the segment, such a set of processes is also called a PS Set.

Query Coodinator: these processes are basically processes that issue sql statements, which are responsible for breaking a task into multiple task slices and applying for PS Set.

Determine the content of its work, and collect the processing results of each PS Set, and finally summarize and return the results.

Give several examples of parallel operations.

This is a statement-level parallel operation that we often use in practice:

`

Insert into / * + parallel (text1 4) * / text1 select * from v$session

`

Parallel operations can be more efficient when cpu is rich, but it can be self-defeating on some poor-performing servers.

At this point, I believe you have a deeper understanding of "how to understand the parallel operation of Oracle". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report