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 8341523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:30:33+00:00 2026-06-09T05:30:33+00:00

The situation : i have a table A. i want to load a lots

  • 0

The situation :

  • i have a table A.

  • i want to load a lots of data into table A( lets say few millions records or more )

Ok so i look for options etc., and i came to conclusion that i should disable indexes for the table during loadtime ok :

*alter index your_index unusable;*

But during load other processes and systems can search data in table A and insert data into table A. So i need to use :

*alter system set skip_unusable_indexes = true;*

After data is loaded i rebuild index and clear flags.

Ok here comes a questions :

  1. will queries use my index( when it is set unusable ) – we are talking about big tables, without index they will timeout

  2. if 1 is true what happens with newly inserted records( i mean the ones inserted through other processes not bulk-load ) before i rebuild index, are they returned when queried? Is it possible to somehow partially rebuild indexes/disable them for one session and keep for other?

I mean it shouldn`t be such uncommon situation in big systems – lots of data to load, but system needs to stay responsive.


To summarize – partitioning and partition exchange looks like the way to go

  • 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-06-09T05:30:35+00:00Added an answer on June 9, 2026 at 5:30 am

    If the index is unusable, queries will not be able to use it. If your queries will time out if they cannot use the index and the queries need to happen at the same time that you are loading data, you can’t mark the index unusable. You’ll have to incur the overhead of index maintenance during your loads.

    Depending on the situation, you may benefit from partitioning the table in such a way that the large loads can be done into a staging table, the index(es) are built on the staging table, and a partition exchange is done to exchange a new, empty partition in the table for the staging table you just populated. Of course, without knowing more about the data, it’s impossible to know whether partitioning the table in this way would be possible or whether it would have other negative implications for query performance.

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

Sidebar

Related Questions

I have the following situation. We want an reputation table to evaluate Users And
I have a situation where I want to associate multiple values from one table
I want to model the following situation. I have a table of items, and
I have a situation, I wish to have 3 word in 1 table data.
I want to add colspan or rowspan on a table data The situation is
My situation is I have two tables. I want to join them together and
Here is my situation: I have one table that contains a list of drugs
Okay, here's the situation: We have a table of about 50 columns (created by
Consider the below situation I have a database table as below user_id user_rank ------------------
We've encountered the following situation in our database. We have table 'A' and table

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.