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

  • SEARCH
  • Home
  • 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 6053849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:05:12+00:00 2026-05-23T08:05:12+00:00

This is a new issue that I haven’t run into before. I have a

  • 0

This is a new issue that I haven’t run into before.

I have a table that at one point contained over 100k records, it’s an event log for a dev environment.

it took up to 10 seconds to load the table (simply clicking on it to view the data in the table).

I removed all but 30 rows and it still takes 7 seconds to load.

I’m using Toad, and it gives me a dialog box that says “Statement Processing…”

Any ideas?

The following are some select statements and how long they took

select * from log;  21 rows in 10 secs
select * from log where id = 120000; 1 row in 1 msec
select * from log where user = 35000; 9 rows in 7 sec

The id is the pk, there is no index on the user field.

I have a table view that contains all of the fields sitting ontop of this table as well and it runs just as slow.

  • 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-23T08:05:13+00:00Added an answer on May 23, 2026 at 8:05 am

    If you issue a “select * from event_log_table”, then you are scanning the entire table with a full table scan. It has to scan through all allocated segments to see if there are rows in there. If your table once contained over 100K rows, then it has allocated at least the amount of space to be able to hold those 100K+ rows. Please see: http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/schema.htm#sthref2100

    Now if you delete rows, the space is still allocated to this table, and Oracle still has to scan all space. It works like a high water mark.

    To reduce the high water mark, you can issue a TRUNCATE TABLE command, which resets the high water mark. But then you’ll lose ALL rows.

    And there is an option to shrink the space in the table. You can read about it and its preconditions here:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm#sthref5117

    Regards,
    Rob.

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

Sidebar

Related Questions

I'm having a bizarre issue that I haven't seen before and I'm thinking it
I haven't seen this issue covered on SO so here it goes. I have
This is a really basic issue, but I'm new to perl and cannot work
I just started to read about this new technology... Does someone have some knowledge
This is a follow up to a previous question that I had before about
I am running into an issue with my app that I wasn't running into
I have a dilemna that needs I've been thinking a while but still haven't
I'm pretty new to J2ME development scene. And for that matter, have just recently
I am new to haskell and I encountered a performance issue that is so
I have been googling/SO:ing this issue for a while and many seem to be

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.