Advertisement

06.06.2008 at 09:21AM PDT, ID: 23464253
[x]
Attachment Details

Need a faster delete query

Asked by srikanthradix in Oracle 10.x, SQL Query Syntax

Tags: Oracle, SQLPlus, 10.0

I am using delete query like this.

delete from stagingclm;

stagingtables has 118 columns in it and has a primary key clmnumber which is referenced as foreign key by two other tables stagingclmline and stagingclmvalues.

stagingclm table has 2 million records in it.
When i am using delete from stagingclm it is taking enormous amount of time.
Is there any faster delete query that can be performed on it? I know i can't use truncate. please suggest.Start Free Trial
[+][-]06.06.2008 at 09:34AM PDT, ID: 21730565

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 09:36AM PDT, ID: 21730583

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.06.2008 at 09:55AM PDT, ID: 21730751

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 10:07AM PDT, ID: 21730862

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 10:12AM PDT, ID: 21730911

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 10:15AM PDT, ID: 21730938

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 10:23AM PDT, ID: 21731004

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 10:31AM PDT, ID: 21731079

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle 10.x, SQL Query Syntax
Tags: Oracle, SQLPlus, 10.0
Sign Up Now!
Solution Provided By: ajexpert
Participating Experts: 4
Solution Grade: A
 
 
[+][-]06.06.2008 at 10:36AM PDT, ID: 21731131

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.06.2008 at 10:37AM PDT, ID: 21731142

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628