BLK1: Introduction to Bulk Processing (PL/SQL Channel)

  Рет қаралды 6,879

Practically Perfect PL/SQL with Steven Feuerstein

Practically Perfect PL/SQL with Steven Feuerstein

Күн бұрын

Пікірлер: 12
@paulwhite923
@paulwhite923 6 жыл бұрын
excellent, your explanations are very informative!
@WorldEye88
@WorldEye88 4 жыл бұрын
Thank you for the great details. Could you please advise on the use of compound trigger on a BULK COLLECT statement.
@rajit1710
@rajit1710 3 жыл бұрын
Hi Steven, can you please provide the zip containing demo codes?
@Info-Galaxy
@Info-Galaxy 7 жыл бұрын
Hi Steven, thank you for uploading the video. I have a doubt when we process the huge no.of records using the "FORALL", the undo log grows, in such cases will it leads to performance issues when a commit is issued as it has to move lots of data from undo log to permanent storage. Another doubt is: is it suggestable to use bulk collect when I have less no.of records, let's say 1000 or 5000 or can I go directly with the FOR loop!! Please suggest
@PracticallyPerfectPLSQL
@PracticallyPerfectPLSQL 5 жыл бұрын
Sorry about the delay in answering, Prasad! There is no difference in undo log usage for FORALL vs individual row by row processing. Unless you are changing the commit processing, and that is an application / transaction issue for you to decide. You will definitely see a boost in performance with bulk collect of 1000 or 5000 rows. But a cursor for loop will give you pretty much the same boost. So, no, if your loop does not contain dml, leave it as is.
@praveenkumar-fx5wx
@praveenkumar-fx5wx 5 жыл бұрын
Hi Sir, Is there a way we could implement parallel processing in PL/SQL ? Like we use bulk collect and the execution is serial row by row say 100k rows. Is there a way to divide these 100k rows in batches of 10k rows and run all 10 instances of the procedure at once (parallel run) if yes can you please put a video with some example ?
@PracticallyPerfectPLSQL
@PracticallyPerfectPLSQL 5 жыл бұрын
One possibility: www.oracle.com/technetwork/testcontent/o30plsql-086044.html and asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4248554900346593542 But this is not for bulk collect, not for querying. Generally, you can use dbms_scheduler to kick off N jobs to run at once, or even look into dbms_aq. But it is up to you to handle any synchronization issues. Check out: www.williamrobertson.net/documents/parallel-plsql-launcher.html
@praveenkumar-fx5wx
@praveenkumar-fx5wx 5 жыл бұрын
Practically Perfect PL/SQL with Steven Feuerstein thank you sir !
@praveenkumar-fx5wx
@praveenkumar-fx5wx 5 жыл бұрын
Sir, i am sorry if I am wrong but it seems we cannot use parallel method (dbms_parallel_execute) in case we have an OUT parameter. So is there any way we can use parallelism for procedure with OUT parameters ?
@PracticallyPerfectPLSQL
@PracticallyPerfectPLSQL 5 жыл бұрын
dbms_parallel_execute is only for executing non-query DML - not PL/SQL procedures. Check out the link to William Robertson's examples.
@abbeydudeuk
@abbeydudeuk 7 жыл бұрын
my daughter calls you Mr Clean lol
@PracticallyPerfectPLSQL
@PracticallyPerfectPLSQL 7 жыл бұрын
I will take that as a compliment!
BLK2: Get Data Faster with BULK COLLECT (PL/SQL Channel)
24:36
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 15 М.
DYN6: Method 4 dynamic SQL with DBMS_SQL (PL/SQL Channel)
25:48
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 8 М.
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 45 МЛН
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,6 МЛН
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 85 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 15 МЛН
Performance Anti-Patterns: Non-query DML inside loops
14:03
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 19 М.
BLK3: Change Data Faster with FORALL (PL/SQL Channel)
33:58
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 6 М.
PL/SQL 101: 5+ Basic Tips for Highly-Performant Code
1:02:25
New York Oracle User Group NYOUG
Рет қаралды 133
COL3: Working With Collection Methods
31:56
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 16 М.
Hide Those Business Rules and Formulas! (HC-5)
12:18
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 10 М.
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 98 М.
Top PL/SQL Tips In Just One Hour
1:00:53
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 52 М.
DYN1: Introduction to Dynamic SQL in PL/SQL (PL/SQL Channel)
14:32
Practically Perfect PL/SQL with Steven Feuerstein
Рет қаралды 21 М.
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 45 МЛН