Compare the implementation plans for SELECT and DELETE
HelloVersion: 10.2.0.3
I REMOVE slow running in the Production db. I can't import and data, or run the REMOVE to get the Plan. For now, I managed to get the history of the plan.
However I would like to know if it is reasonable to assume the plans to SELECT and DELETE the same?
Rgds,
Guenoun
Gugui wrote:
HelloVersion: 10.2.0.3
I REMOVE slow running in the Production db. I can't import and data, or run the REMOVE to get the Plan. For now, I managed to get the history of the plan.
However I would like to know if it is reasonable to assume the plans to SELECT and DELETE the same?
Rgds,
Guenoun
Do not understand your question.
Because I can very easy do a:
explain plan for
remove from... where...;
And then take a look at the plan generated in the PLAN_TABLE.
However, I guess that plans for a DELETE and a SELECT statement must be the same, because they need to finish work on the same data, in any case...
A simple test showed that I'm right.
PLAN_ID OPERATION OPTIONS OBJECT_TYPE COST CARDINALITY BYTES
---------- ------------------------------ -------------------- ------------------------------ ---------- ----------- ----------
3 DELETE STATEMENT 177714 7702839
3 DELETE
3 TABLE ACCESS FULL TABLE 177714 7702839
4 SELECT STATEMENT 179707 7702839 3928447890
4 TABLE ACCESS FULL TABLE 179707 7702839 3928447890
Tags: Database
Similar Questions
-
I have a subscription, it's almost over, but I need to change plans and cannot select one I need in the menu plan for change, and I can't cancel. Is it possible to cancel it?
Hello
Please contact support by calling/chat for cancellation requests and billing queries:
* Be sure to stay connected with your Adobe ID before accessing the link above *.
You can also check the help below document:
https://helpx.Adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
Please go through the Adobe - General conditions of subscription as well.
-
Hi, I have been on the monthly plan for illustrator and photoshop, but felt that it would be cheaper to just buy these programs instead of paying every month. I don't see this option
There is no option to buy the latest versions of the software. Creative cloud is only available as an ongoing subscription.
However, you can always buy CS6 software if you wish.
Please see: CS6 product purchase
Guinot
-
How to change the Canvio Basics for backup and delete backup files?
I installed the drive HARD Canvio Basics HDTB305EK3AA to do a weekly backup.
After a few weeks, he stopped to save because there is no free memory.
the first backup took 300GB and after several backups fill all memory.1. How can I reprogram the backup and change the folders of the backup?
2. how to remove backup files without harming the internal programs of the HARD drive?
3. all files in backup does not have the name of the original file and it is difficult to manage, can we change it?
4. in the case of Troubé - how can I use the backuo to restore the data on my PC?Thank you
zipimThe Canvio Basic one a common external USB 2.5 "HDD.
You can delete folders or files or format the HARD drive as with other external hard drives... -
How to understand the implementation of the plan in oracle I mean if I see two implementation plans for a single sql_id plans 2 How to determine the best execution plan? Links and answers are much appreciated. Thank you
How to understand the implementation of the plan in oracle I mean if I see two implementation plans for a single sql_id plans 2 How to determine the best execution plan? Links and answers are much appreciated. Thank you
After two execution plans that have the same sql_id, so we can see what you're talking about.
See "Oracle Explain Explain Plan optimizer" by Maria Colgan of the Oracle optimizer group
Examine the various aspects of a selectivity to parallel execution plan
performance and understand what information you should be brilliant
the plan can be overwhelming even for the most experienced DBA. This document
offers a detailed explanation on each of the aspects of the execution plan and a
Overview of what caused the CBO to make the decision, he did.
-
CAPTURE THE OUTPUT IN INSERT INTO SELECT AND DELETE
Hi all
INSERT into employee_history_arch select * from employee_history where employee_status = 'CP' and action_dt < (sysdate-32);
commit;
delete from employee_history where employee_status = 'CP' and action_dt < (sysdate-32);
commit;
I must capture both the output of the insert and delete the sql query and compare the two values for validation. I shouldn't use select count (*) before the delete statement. I shud exactly capture the output... How to do? Please help meWe will have ' 30 deleted rows' or ' 30 inserted rows"in our tool... I need to capture that 'put out' in a variable and validate against the other
This should be easy.
SQL> set serverout on SQL> DECLARE 2 v_rows_inserted PLS_INTEGER; 3 v_rows_deleted PLS_INTEGER; 4 BEGIN 5 INSERT INTO emp_temp 6 SELECT * FROM emp WHERE deptno = 20; 7 v_rows_inserted := SQL%ROWCOUNT; 8 dbms_output.put_line('Rows Inserted: ' || v_rows_inserted); 9 DELETE FROM EMP WHERE deptno = 20; 10 v_rows_deleted := SQL%ROWCOUNT; 11 dbms_output.put_line('Rows Deleted: ' || v_rows_deleted); 12 IF v_rows_inserted = v_rows_deleted THEN 13 dbms_output.put_line('They are same!'); 14 ELSE 15 dbms_output.put_line('They are NOT same!'); 16 END IF; 17 END; 18 / Rows Inserted: 7 Rows Deleted: 7 They are same! PL/SQL procedure successfully completed.
-
LightroomCC2015 disabled just use of the develop Module. Indicating that I need to buy a license. I'm running on the plan for this and other applications. How do I fix this, please?
Please see the troubleshooting section below.
Reference: creative judgment Cloud 2015 to return to the mode of trial
Let us know if that helps.
Kind regards
Mohit
-
Hello I bought 2 months ago the annual plan of photography, and now cause im studying, if I have a student for aps discount all now, I start to study I will be charged twice for photography and the student all the aps plan? or he will renounce this photography automatically project the student and I will be charge for only $19.99?
You should see the links in the document below about educational discounts:
Alternatively, you can contact support for help FAQ: how to contact Adobe for support?
You may cancel the current and pay a new subscription.
-
On Mac Book Pro, how can I select and delete spam with it opening?
On Mac Book Pro, how can I select and delete spam with on their opening?
Go to the junk mail folder in the Mail sidebar. Place the cursor in the message window and press command + A to select all of the messages in the window. Click on the trash in the toolbar or CTRL - RIGHT click and select the Recycle Bin on the shortcut menu.
-
Hi there, he knows someone, if you can use the creative cloud for pc and mac? Or do I have to buy two planes?
Hello
You can have the creative cloud installed and signed in on two computers as long as you don't use it on one at a time. Download and install as you did on the first computer, sign in to your Adobe account on the Adobe using your Adobe ID website, download the desktop app from clouds, then download the software. Sign on a computer that should not be used: log in and log out of the desktop Adobe Creative Cloud application
You can download the installer for Creative Cloud from here:
Creative cloud help | Creative cloud desktop. -
I bought the creative cloud for students and cannot access the document cloud.
Hello. I bought the creative cloud for students and cannot access the document cloud. I thought that it was part of the overall agreement, but it just says my trial has expired and does not allow me to do something. My payments were made. The only reason why I
Your subscription to cloud shows correctly on your account page?
If you have more than one email, you will be sure that you use the right Adobe ID?
https://www.adobe.com/account.html for subscriptions on your page from Adobe
If Yes
Some general information for a subscription of cloud
Cloud programs don't use serial... numbers you, connect you to your cloud account paying to download & install & activate... you may need to sign out of the cloud and restart your computer and log into the cloud for things to work
Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud
-Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
-http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
-http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
-http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
-ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
-http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
If no
This is an open forum, Adobe support... you need Adobe personnel to help
Adobe contact information - http://helpx.adobe.com/contact.html
-Select your product and what you need help with
-Click on the blue box "still need help? Contact us. "
-
WHAT IS THE BEST PLAN FOR ME. WHAT I USE IS PHOTOSHOP
You already have the cheapest plan - special photography Plan includes Photoshop & Lightroom and Bridge & Mobile Lightroom - Cloud Plans https://creative.adobe.com/plans
-
How to capture the execution plan for a query
Hi all
Can someone help me please to find the command to capture the execution plan for a query.
Execution plan for select * from EMP where < condition >
Is getting executed successfully, but I need to get the appropriate for the same execution plan.
Thank youRead the Doc
-
Is there a way to PL/SQL to force Oracle to re-evaluate the implementation plan
In a packaged procedure, I have sturctured of code like this:
The problem is that the first time through the outer loop, that he is on an implementation plan for the cursor from inside. But the plan, with what happens isn't the best plan for later iterations of the loop. I want to do is something like this:for rec1 in cursor1 loop -- do some calculations for rec2 in cursor2(cursor_params) loop -- do more stuff end loop; end loop;
for rec1 in cursor1 loop -- do some calculations if rec1.column1 != prev_column1 then -- forget previously calculated cursor2 execution plan end if; for rec2 in cursor2(cursor_params) loop -- do more stuff end loop; end loop;
http://prutser.WordPress.com/2009/04/19/flushing-a-cursor-out-of-the-library-cache/
-
My iPod touch get now and then next alert message due to change on my iPhone.
EMail address added to < < my device name > > < < my device name > > now using < < my mailadress (identical to the Apple ID) > > for FaceTime and iMessage.
Why I get this message? iPhone is disabled due to my work offshore for two weeks, but the use of the iPod touch is allowed.
What is my apple ID used on other devices with the same name as my iPhone?
I would be happy if anyone has an explanation of why I feel this strange behavior.
When you connect to FaceTime or Messages on another device, another peripheral other device using this same ID will get the message that has been signed to. Some iOS (and OSX) update log for other devices will get the message when that happens.
You said "by reason of change on my iPhone"
What has changed on the iPhone?
Maybe you are looking for
-
Unable to download POP3 e-mail.
WIN8.1 using Tbird 24.5.0. Download the emails became intermittent in mid-May. From 6/4, none can be downloaded. No problem with sending emails. I have a POP3 with Earthlink account. I started Tbird in SafeMode via help > restart with ad - ons disabl
-
How to download music to rca mp3
the same as the title
-
Pavilion C5T69EA #BH5 g6: window 10 compatibility
Hello I had already recorded for window 10 but there is a little problem, my bus device bluetooth audio is not compatible with 10. window made this incompatibility will cause problems if I upgrade to window 10 and y at - there a Posibility to upgrate
-
I need to know how to solve this problem. Thank you
-
Aria press cq 60: Key board and touch does not work
The computer starts normally up to the password screen. On the first page of the window after the page password, the keyboard and touch pad fails. I have windows key will select the menu in Windows 10 and can select the programs Google, Word etc but