Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 727563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:34:54+00:00 2026-05-14T06:34:54+00:00

We have a feed process which runs every day of the year. As part

  • 0

We have a feed process which runs every day of the year.
As part of that we delete every row from a table (approx 1 million rows) every day, repopulate it using 5 different stored procedures and then commit the transaction.
This is the only commit statement that we call.
All of a sudden the delete has started takign about 2 hours to complete.
The delete is also very simple (delete from T_PROFILE_WORK)
This has worked perfectly well for the past year, but in the past week I have noticed this issue.

Any help on this is greatly appreciated

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T06:34:54+00:00Added an answer on May 14, 2026 at 6:34 am

    please review the answers of this SO Question: “oracle delete query taking too much time”:

    1. You could be blocked by another session (most likely). Before you
      delete you should make sure noone else
      is locking the rows, eg: issue SELECT
      NULL FROM tablename WHERE
      colname=:value FOR UPDATE NOWAIT,
    2. There could be a ON DELETE TRIGGER that does additional work,
    3. Check for UNINDEXED REFERENCE CONSTRAINTS pointing to this table
      (there is a script from AskTom that
      will help you determine if such
      unindexed foreign keys exist).

    I would check #2 and #3 first, they are the easiest to diagnose.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have process which continuously downloads XML from the feed and saves it to
I have a feed that is populating a single text field in a table
I have an application which has a loop, part of a Scheduler, which runs
Have a WCF service (hosted in IIS 6.0) that takes an XML feed from
I have an in-application service which allows me to feed it messages from various
I have a feed table with say fields: id - unique feed id created
The thing I have a web app (asp.net) which needs to have a feed.
I recall I have read about a parser which you just have to feed
I have a JSON feed that is pulling into an each statement. What I
I have an XML feed that I've retrieved via httpwebrequest, and I'm having problems

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.