Index rebuilding slow in Oracle 10g

We are trying to build indexes in Oracle 10g and its extremely slow. Any pointers to find out what the problem is and then fixing it?
I am using a syntax like:
alter index INDEX_NAME rebuild tablespace TABLESPACE_NAME online compute statistics parallel;
Should online and parallel together be an issue? (I don't necessarily need to do online, I just removed online and started again, but not sure how it will go)

user8294047 wrote:
We are trying to build indexes in Oracle 10g and its extremely slow. Any pointers to find out what the problem is and then fixing it?
I am using a syntax like:
alter index INDEX_NAME rebuild tablespace TABLESPACE_NAME online compute statistics parallel;
Should online and parallel together be an issue? (I don't necessarily need to do online, I just removed online and started again, but not sure how it will go)In addition to the advices you've already got regarding index rebuilding in general:
If you're using the ONLINE rebuild option it might take a while if there are active transactions on the table, since it waits until no transactions are active to start the rebuild process, the same applies to the completion of the ONLINE operation.
Of course, you should get an "ORA-00054 resource busy" error when this is the case when using the normal (offline) rebuild option without the ONLINE keyword.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/

Similar Messages

  • Subpartitioning on index organized table in Oracle 10g

    We have an indexorganized table with primary key on 3 columns one of which is a DATE column. We need to partition the table on the DATE column month wise and subpartition it further week wise.
    Please let me know if it is possible and if yes, how?

    Composite Partitioning
    Composite partitioning partitions data using the range method, and within each
    partition, subpartitions it using the hash method. Composite partitions are ideal
    for both historical data and striping. Composite Partitioning also provides
    improved manageability of range partitioning and data placement, as well as the
    parallelism advantages of hash partitioning.
    When creating composite partitions, you specify the following:
    Partitioning method: range
    Partitioning column(s)
    Partition descriptions identifying partition bounds
    Subpartitioning method: hash
    Subpartitioning column(s)
    Number of subpartitions per partition or descriptions of subpartition
    Example:
    CREATE TABLE scubagear (equipno NUMBER, equipname VARCHAR(32), price NUMBER)
    PARTITION BY RANGE (equipno) SUBPARTITION BY HASH(equipname)
    SUBPARTITIONS 8 STORE IN (ts1, ts3, ts5, ts7)
    (PARTITION p1 VALUES LESS THAN (1000),
    PARTITION p2 VALUES LESS THAN (2000),
    PARTITION p3 VALUES LESS THAN (MAXVALUE));
    Each subpartition of a composite-partitioned table is stored in its own segment.
    The partitions of a composite-partitioned table are logical structures only as
    their data is stored in the segments of their subpartitions. As with partitions,
    these subpartitions share the same logical attributes. Unlike range partitions
    in a range partitioned table, the subpartitions cannot have different physical
    attributes from the owning partition except for the Tablespace attribute.
    Composite Partitions Indexes
    Composite partitioning method supports both Local and global indexes.
    The following statement creates a local index on the EMP table where the index
    segments will be spread across tablespaces TS7, TS8, and TS9.
    CREATE INDEX emp_ix ON emp(deptno)
    LOCAL STORE IN (ts7, ts8, ts9);
    This local index will be equipartitioned with the base table as follows:
    It will consist of as many partitions as the base partitioned table.
    Each index partition will consist of as many subpartitions as the corresponding
    base table partition.
    Index entries for rows in a given subpartition of the base table will be stored
    in the corresponding subpartition of the index.
    Refer METALINK doc Note:125314.1

  • Query can run in Oracle 10g but very slow in 11g

    Hi,
    We've just migrated to Oracle 11g and we noticed that some of our view are very slow (it takes seconds in 10g and takes 30 minutes in 11g), and the tables are using the local table.
    Do any of you face the same issue?
    This is our query:
    SELECT
    A.wellbore
    ,a.depth center
    ,d.MD maxbc
    ,d.XDELT xbc
    ,d.YDELT ybc
    ,e.MD minac
    ,e.XDELT xac
    ,e.YDELT yac
    from
    table_A d,table_A e, table_B a
    where a.wellbore = d.WELLBORE (+)
    and a.wellbore = e.WELLBORE(+)
    and d.MD = (select max(MD) from table_A b where b.MD < a.depth and
    d.wellBORE = b.wellBORE)
    and e.md = (select min(md) from table_A c where c.MD > a.depth and
    e.wellBORE = c.wellBORE);

    Thanks I will move to the correct one..
    Rafi,
    Build the Indexes and it is still slow. I am querying from a view from another database, which is in 10g instances.
    Moved: Query can run in Oracle 10g but very slow in 11g
    Edited by: 924400 on Apr 1, 2012 6:03 PM
    Edited by: 924400 on Apr 1, 2012 6:26 PM

  • My computer slows down and hangs after installing oracle 10g

    My computer just slows down after installing oracle 10g. I have a pentium 4 3ghz with 512 memory (32 mb used by graphics built in card). It slows down and hanged even if I agjusted the swap memory to 800 mb. I have two swap file/page file - in drive c and drive d. I even cannot shut it down because it takes maybe 30 minutes just to see the "shut-off/log-off" screen.

    Before starting up Oracle, when you go to the task manager, how much RAM does it show actually free? 512 MB is pretty small to run Oracle in the first place-- Windows and Office can use a fair chunk of RAM themselves, depending on which Office apps you are running. You may also be suprised by the amount of RAM that a web browser, email client, and the various other apps that folks generally install can use.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • In EM 10g, i didn''t see alert like index rebuild(same was in 9i)

    in EM 10g, i didn''t see alert like index rebuild(same was in 9i)
    Do you know, which alert was being obsoleted in EM 10g grid

    In 10g, how to create an alert, which send mail who identify indexes which may benefit from rebuild

  • Oracle 10g XE migrate from 32bit to 64bit becomes slower

    Oracle 10g XE migrate from 32bit to 64bit becomes slower
    Currently we have a database using Oracle 10g XE R2
    (Oracle Database 10g Express Edition Release 10.2.0.1.0)
    on a linux 32bit server.
    And recently we did migrate it to another 64bit linux server.
    But found after migration is it running slower at 64bit server (~ 25% slower)
    1. We would wonder any tuning is required on 64bit server?
    Besides, as I know Oracle XE only using single core CPU for processing.
    On 32bit linux the CPU is Intel(R) Xeon(R) CPU E31235 @ 3.20GHz
    On 64bit linux the CPU is Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz
    2. Would the CPU clock speed on a single core also made the 64bit Oracle slower?
    Thanks a lot.

    32 or 64 bit normally won't cause much performance difference as long as you can't use > 4GB RAM
    Please note that XE can use only 1 core and 1GB memory.
    According to benchmarks, Single Thread Rating of the 2 CPU really differ by around 25%. Quite consistent with your observation.
    Of course, IO (i.e., disk) speed is also an important factor.
    https://www.cpubenchmark.net/cpu.php?id=2003
    https://www.cpubenchmark.net/cpu.php?id=1200

  • Oracle 10g direct path write too slow

    Hi All,
    We have Oracle 10g on a Solaris virtual server, VMWare ESXi being the host. Data files are on RAID1, internal storage on a HP DL585 with VMFS partition at ESXi level. Problem is that DB writes for a CREATE TABLE as SELECT... statement is way too slow. To create a table which is 0.5 GB, DB takes 9 minutes which amounts to 1 MB/s. When we check for FTP or file copy at Solaris level with same size file (0.5 GB), it flies through in less than a minute. This is Oracle 10.2.0.4, 8K data block, 2 vCPU assigned to the Solaris VM. Have checked with VMWare support for any known issues and also have SR open with Oracle for any param changes that can help speed up things. Any clues or pointers from you all will be of great help.
    Thanks,
    Nikhil

    Here's the output from tkprof for waits
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    single-task message 1 0.17 0.17
    SQL*Net message to dblink 150 0.00 0.00
    SQL*Net message from dblink 150 0.04 0.32
    SQL*Net message to client 1 0.00 0.00
    direct path write temp 4003 1.16 804.93
    direct path read temp 2563 0.14 35.86
    SQL*Net more data from dblink 126967 0.17 11.81
    SQL*Net message from client 1 17.73 17.73
    Direct Path write temp has total waits of 804.93. Also, I am NOT looking to tune a particular SQL. Database is overall slow on VMware and I am looking for any gotchas for running Oracle 10g within a Solaris VM.
    Thanks,
    Nikhil

  • Index Rebuild in Oracle 7

    Hi DBA's,
    DB Details: ORACLE 7 , Machine : P-III : VMWARE..
    I am getting an error in prod like follows,
    24-may-2011 04:24:33 am: start rebuilding the index on the table ...
    alter index
    ERROR at line 1:
    ORA-01652: unable to extend temp segment by 168168 in tablespace SFX_INDEX
    doubt:
    why does the error say "extend temp segment" for the permanent index tablespace.
    We have 3000MB Free space in Same tablespace & we have 2000MB free space in Temp also.But Still it is Giving error in "ORACLE 7 "
    Any Idea...
    Help me soon .

    user11919409 wrote:
    DB Details: ORACLE 7 , Machine : P-III : VMWARE..
    I am getting an error in prod like follows,
    24-may-2011 04:24:33 am: start rebuilding the index on the table ...
    alter index
    ERROR at line 1:
    ORA-01652: unable to extend temp segment by 168168 in tablespace SFX_INDEX
    doubt:
    why does the error say "extend temp segment" for the permanent index tablespace. Because when you rebuild an index, the new index structure starts life as a temp segment (and so can be easily dropped in case of failure) and gets renamed and reassigned as the index segment once the index rebuild process is complete.
    >
    We have 3000MB Free space in Same tablespace & we have 2000MB free space in Temp also.But ; Still it is Giving error in "ORACLE 7 "
    It's the free space in the SFX_INDEX tablespace that's the problem, you don't have 168168 free contiguous blocks within the tablespace necessary for the index (the actual amount of space this corresponds to is of course is dependent on your block size).
    Cheers
    Richard Foote
    http://richardfoote.wordpress.com/

  • Slow first connection using Oracle 10g xe and Visual Studio 2008

    {noformat}
    Good day,
    I'm slightly unaccustomed to using forums, so bear with me.
    My initial connection to the Oracle database takes approximately 30 seconds. It seems to be waiting for a connection before timing out and trying another connection which works, as all subsequent connections work immediately. I'm unsure how other people's responses in forums can help me due to the plethora of configurations, so here's mine. My comprehension of the oracle world is still growing, you'll have to explain the terms you're using for me, Hoping you can help.
    I'm using Visual Studio 2008, set to use 32 bit debug mode, on a Windows 7 Pro platform. Also using Oracle 10g Xe, and have installed the 32 bit version of ODAC 11.2 (11.2.0.1) to aid making a connection from Visual Studio to Oracle.
    I have a database set up and a user with system admin rights. This is all local for a programming project and will never see the light of day outside of my personal machine.
    I am using code to connect, not the GUI. I wish to code this project completely without the aid of the GUI. so my connection string within Visual Studio C# is (pw/id hidden)...
    string xe = "Data Source=xe;User Id=xxxxx;Password=xxxxx;";
    OracleConnection conn = new OracleConnection(xe);
    My c:\devsuitehome\network\admin\sqlnet.ora file is this:
    # sqlnet.ora Network Configuration File: C:\DevSuiteHome\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
    And my c:\devsuitehome\network\admin\TNSNames.ora file is this:
    tnsnames.ora Network Configuration File: C:\DevSuiteHome\network\admin\tnsnames.ora
    Generated by Oracle configuration tools.
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = xe)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <machine name)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    Just for good measure, my tnsping xe shows:
    "Used paramter files:<br/>
    c:\devsuitehome\network\admin\sqlnet.ora<br/><br/>
    Used TNSNAMES adapter to resolve the alias<br/>
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = xe)))
    OK (0 msec)"
    So, how can I make that initial connection faster so I don't spend 15 years testing my application due to slow start-ups? :)
    Thank you.
    Kevin.
    {noformat}
    Edited by: 832285 on Jan 29, 2011 10:08 AM
    Edited by: 832285 on Jan 29, 2011 10:10 AM

    I have formatted my hard drive since my first post. I was running window 64 bit with a higher version of the ODAC and that proved to crash my machine with faulty error messages about memory. I have reverted to a previous version of the ODAC tools and everything works very smooth now. Still the connection time is consistently 20 seconds or longer on the first attempt.
    Just a little more information.. I am currently taking a college course with 15 other students, as you can tell by the impersonal machine name, where programming using visual studio 2008, and Oracle 10g xe is expected. All of us are using a 64 bit environment and we all have difficulties cutting down the load time of making the first connection to Oracle. Some people are longer making the connection, but none are shorter.
    One other note. After the first connection is made, taking 20 or more seconds, and is closed, all subsequent openings of the connection are instantaneous, for all of us.
    If there is ANYTHING more I can get for you, please let me know. With my environment stable as it is, I will not need to format or change any information for the foreseeable future.
    Here is the information you requested
    1 The connection method I am using, I have chosen the manual connection for you, however the delay exists if the connection is made through the GUI as well.
    Historically, I am getting slow connection speeds through adding the connection through the GUI or by a manual connection. Here is how I am doing it manually. I have the connection being created in 20 seconds, which is the best I can get.
    Imports Oracle.DataAccess.Client
    Also included project reference: oracle.dataaccess / version 2.111.6.20
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim connString As String = "Data Source=XE;User Id=abc;Password=abc;"
            Dim con As OracleConnection = New OracleConnection()
            con.ConnectionString = connString
            Try
                con.Open()
                MessageBox.Show("Connected!")
                con.Close()
                con.Dispose()
            Catch ex As Exception
                MessageBox.Show(ex.Message)
            End Try
        End SubMy current TNS Ping results
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-FEB-2011 01:02:36
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (0 msec)2 Connection to SQL plus is instantaneous.
    I fought for weeks about the ODAC version 11.2.0.1 that you see in the previous post, and that would be a whole new thread. Suffice it to say I have a reliable environment to program in with this 10.2.0.1.0 version that I am running now, and the connection time has not changed, it is still minimum 20 seconds load time, sometimes up to 25.
    3 Ram usage in my typical environment
    I am running this laptop with 4 gigs of ram. This is a typical environment I would be running my application in.
    Physical memory
    total 4090
    cached 1753
    available 2345
    free 656
    system
    handles 27141
    threads 911
    processes 70
    commit megs 2860/8179
    kernel memory megs
    paged 201
    nonpaged 52
    4 I formatted my machine and reinstalled the Windows 7 professional operating system as of a few nights ago. The Oracle software on my machine is
    Oracle Database 10g express edition
    ODAC 11.1.0
    I amm not sure what filename you would need in addition to the product names that I have installed.
    5 The information from the SET command is
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\stepheke\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=STEKEV0908
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\stepheke
    LOCALAPPDATA=C:\Users\stepheke\AppData\Local
    LOGONSERVER=\\STEKEV0908
    NUMBER_OF_PROCESSORS=2
    oracle_sid=xe
    OS=Windows_NT
    Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Oracleapp\stepheke\product\11.1.0\client_1;C:\Oracleapp\stepheke\product\11.1.0\client_1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Windows Live\Shared
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=170a
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\stepheke\AppData\Local\Temp
    TMP=C:\Users\stepheke\AppData\Local\Temp
    USERDOMAIN=stekev0908
    USERNAME=stepheke
    USERPROFILE=C:\Users\stepheke
    VS90COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
    windir=C:\Windows

  • Oracle 10g xe:  speed is very slow

    Hi
    I ve just migrated my application to oracle 10g xe but i found this small server very slow even not only slow but it holds all the resources of the pc that is running oracle 10g xe server. My application is a product and can be run on single pc. Can any body tell me how can i tune 10g xe to get my pc faster and what is the minimum requirement for 10g xe server because it is very problem for me to ask every customer to have 2.0 GHz pc with 1GB ram. At the moment i am use 1.7 GHz pc with 256 MB ram but it is horribly slow on it.
    Regards
    Faheem

    256 MB of RAM is the minimum that Oracle will even install in (512 MB if you're using Vista). Assuming that the installer defaults to reasonably minimal memory configurations in that sort of environment (which I've not tested but seems reasonable given the defaults I've seen it choose), are you running anything other than Oracle on this machine? Since you're so close to the lower limit on hardware resources, running other applications at the same time Oracle is running could well be forcing it to page RAM at a frantic clip. If you're seeing a log of swapping going on and you have to run the other applications that are consuming RAM, you may be able to decrease Oracle's RAM utilization by decreasing the cache size, though that may have its own set of negative performance implications.
    It's been a while since I've seen a business that had machines with only 256 MB of RAM in regular use. Heck, my web browser regularly uses 50 or 60 MB of RAM. If you are targetting that older hardware, though, you may want to consider other databases. Oracle Lite, for example is designed for small footprint applications.
    Justin

  • Cannot create text index in partition table on Oracle 10g

    I try to create context index in a table with 15 millions records. The table is divided 5 partitions and each patition has 3 millions records. When I create the context index in the table, the same error always arised. The follow are my work:
    --First create my own lexer
    begin
    ctx_ddl.createperference('my_chinese_lexer','chinese_lexer');
    end;
    --Second create index
    create index idx_part_text3 on tb_test_part(text3)
    indextype is ctxsys.context local (
    partition p1_ix,
    partition p2_ix,
    partition p3_ix ,
    partition p4_ix,
    partition p5_ix)
    parameters('lexer my_chinese_lexer') parallel;
    --error message
    create index idx_part_text3 on tb_test_part(text3)
    Error in 1 line:
    ORA-12801: Parellel Query Server P000 send error signal
    ORA-29855: Error on execute ODCIINDEXCREATE program
    ORA-06510: PL/SQL: User Defined Error
    ORA-06512: In "CTXSYS.DRIDISP", line 244
    ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
    ORA-06512: In "CTXSYS.DRIPARX", line 10
    ORA-06512: In "CTXSYS.TEXTINDEXMETHODS", line 359
    ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
    ORA-06512: In "CTXSYS.DRUE", line 191
    ORA-06512: In "CTXSYS.DRUE", line 49
    ORA-06512: In "CTXSYS.DRUE", line 24
    ORA-06512: In "CTXSYS.DRUE", line 186
    ORA-06512: In "CTXSYS.DRVDDL", line 682
    ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
    ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
    ORA-06512: In "CTXSYS.DRUE", line 191
    ORA-06512: In "CTXSYS.DRUE", line 49
    ORA-06512: In "CTXSYS.DRUE", line 24
    ORA-06512: In "CTXSYS.DRVDDL", line 452
    ORA-06510: PL/SQL: User Defined Error
    BTW:
    My oracle 10g run on linux AS3 box with 4xP4 and 6G Mem.
    I set pga_aggregate_target=2200M, and at the beginning of creating index, the max pga alloced is about 1100M, but when one patition finished, the error arised and the max pga alloced suddenly reached 3500M. So in every times, the index status is always like below:
    P1_ix usable
    P2_ix Inprogress
    P3_ix Inprogress
    P4_ix Inprogress
    P5_ix Inprogress
    Thx for any help!

    Try to increase LARGE_POOL_SIZE.
    PGA_AGGREGATE_TARGET is not only parameter that can meddle in parallel execution.
    Looks like parallel execution parameters is not correctly set. Check it all, including PARALLEL_EXECUTION_MESSAGE_SIZE.

  • SQL performance slow -- oracle 10g to oracle 11g

    Hi,
    We are have two development server, here we can call server10 and server11.
    Server’s having same hardware and OS, but different oracle version, server 10 and server 11 having oracle 10g and oracle 11g respectively.
    Problem, when you run sql query in oracle 11g it’s very slow compare to oracle 10g server.
    Here I have checked
    1)     sga size – comparatively 11g size is big
    2)     no full table scan
    OS – SUN
    DB: 11.1.0.7.0, 10.2.0.4.0

    mmee wrote:
    Hi,
    We are have two development server, here we can call server10 and server11.
    Server’s having same hardware and OS, but different oracle version, server 10 and server 11 having oracle 10g and oracle 11g respectively.
    Problem, when you run sql query in oracle 11g it’s very slow compare to oracle 10g server.
    Here I have checked
    1)     sga size – comparatively 11g size is big
    2)     no full table scan
    OS – SUN
    DB: 11.1.0.7.0, 10.2.0.4.0If the query is running slow, the sga size should not be the first thing to check. PLease post the execution plans of the queries from both the servers. Please try to post the tkprof output of the trace of both. The reason for this that explain plan may lie to us about what has happened but trace would be the real picture only.
    HTH
    Aman....
    PS: Don't forget to use the code tag and using the Preview tab to see how the code looks. A better formatted post would most likely get better attention and response.

  • Oracle Sys table index rebuild

    hi, expert
    I am new to this expert Forums
    Blow Table Index are rebuild,This table are relation with sys user or not?
    after rebuild index, getting error in alert log file
    ORA-00600: internal error code, arguments: [psdnop-1], [1410], [], [], [], [], [], [], [], [], [], []
    ORA-01410: invalid ROWID
    when trying to select * from dba_network_acls getting error massage Rowid invalid
    ALTER INDEX CTXSYS.SYS_C003684 REBUILD;
    ALTER INDEX CTXSYS.SYS_C003683 REBUILD;
    ALTER INDEX CTXSYS.SYS_C003682 REBUILD;
    ALTER INDEX CTXSYS.SYS_C003681 REBUILD;
    ALTER INDEX CTXSYS.SYS_IOT_TOP_54056 REBUILD;
    ALTER INDEX CTXSYS.SYS_C003677 REBUILD;
    ALTER INDEX CTXSYS.SYS_IL0000054052C00002$$ REBUILD;
    ALTER INDEX CTXSYS.SYS_IOT_TOP_54044 REBUILD;
    ALTER INDEX CTXSYS.SYS_C003675 REBUILD;
    ALTER INDEX CTXSYS.SYS_IOT_TOP_54038 REBUILD;
    ALTER INDEX CTXSYS.SYS_IOT_TOP_54031 REBUILD;
    ALTER INDEX CTXSYS.SYS_IOT_TOP_54028 REBUILD;
    ALTER INDEX CTXSYS.SYS_IOT_TOP_54018 REBUILD;
    ALTER INDEX CTXSYS.DR_STOPLIST_PK REBUILD;
    ALTER INDEX CTXSYS.DR_STOPLIST_UNIQ REBUILD;
    ALTER INDEX CTXSYS.DR_THS_BT REBUILD;
    ALTER INDEX CTXSYS.DR_UNIQ_THS_BT REBUILD;
    ALTER INDEX CTXSYS.SYS_IOT_TOP_54003 REBUILD;
    ALTER INDEX CTXSYS.DR_THS_RINGID REBUILD;
    ALTER INDEX CTXSYS.DR_UNIQ_THS_PHRASE REBUILD;
    ALTER INDEX CTXSYS.SYS_C003629 REBUILD;
    ALTER INDEX CTXSYS.SYS_C003626 REBUILD;
    ALTER INDEX CTXSYS.SYS_C003627 REBUILD;
    ALTER INDEX CTXSYS.SYS_IOT_TOP_53991 REBUILD;
    ALTER INDEX CTXSYS.SYS_IOT_TOP_53963 REBUILD;
    ALTER INDEX OLAPSYS.SYS_C004604 REBUILD;
    ALTER INDEX OLAPSYS.SYS_C004600 REBUILD;
    ALTER INDEX XDB.SYS_C003740 REBUILD;
    ALTER INDEX XDB.SYS_C003741 REBUILD;
    ALTER INDEX XDB.SYS_C003742 REBUILD;
    ALTER INDEX MDSYS.UNIQUE_CLASS_CONSTRAINT REBUILD;
    ALTER INDEX MDSYS.UNIQUE_USER_CONSTRAINT REBUILD;
    ALTER INDEX MDSYS.UNIQUE_LRS_GEOM_LAYER REBUILD;
    ALTER INDEX MDSYS.UNIQUE_NETWORK_LAYER REBUILD;
    ALTER INDEX MDSYS.UNIQUE_NETWORK_LINK_LAYER REBUILD;
    ALTER INDEX MDSYS.UNIQUE_NETWORK_NODE_LAYER REBUILD;
    ALTER INDEX MDSYS.UNIQUE_NETWORK_PATH_LAYER REBUILD;
    ALTER INDEX MDSYS.UNIQUE_NETWORK_PATH_LINK_LAYER REBUILD;
    It is possible to recreate this index again to solve this problem, or any other solution.
    Thanks in Advance sir,

    Pl do not post duplicate threads - Oracle sys Index rebuild then Getting error Invalid Error Ora-01410

  • On Index Rebuild in 10g

    My partitioned table has 150 Million records with average row length of 444. I need to add 8 million more records from another non partitioned table, which will fit into 2 partitions of earlier table.
    I have set database to no force logging, disabled all foreign keys and using APPEND hint to add the rows. I suppose this won't generate redo logs for table.
    Now to reduce redo logs due to indexes, I am planning to set them unusable and then skip the unusable indexes (any unique index will be in used state as Oracle needs to enforce integrity). I can do this for partitioned indexes and rebuild required partitions alone.
    But I have around 12 global single column(with maxlength of 25 bytes) indexes . so my question is, if I rebuild the index offline (as online rebuild scans the full table- Doc ID: 272762.1), will it scans the full table or the existing index, which is in unusable state?
    Or is there any other approach? I suppose I can try using partition exchange option but I still need to deal with those indexes.

    Rebuilding unusable Index scans the table rather than the original index. Also we cannot build it online.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1669403535933#11145054166877

  • Oracle 10G Slow Disk Writes

    We have currently purchased a "SUN SPARC Enterprise T5220" with 2 x 146GB 10K RPM SAS and 2 x 72.8GB 10K RPM SAS disks. I have installed Oracle 10g and created a datbase. The TEMP tablespace and REDO logs and data files all reside on dedicated disks. I have mounted the TEMP, REDO and Datafile filesystems as forcedirectio and set the Oracle setting FILESYSTEMIO_OPTIONS to "SETALL". The speed when writing to disk seems very slow, most of the top waits on the database are for "log file parallel write", "db file parallel write", "direct path write temp",
    cann anyone advise on what I might have done wrong.

    Why do directIO on a local disk. DirectIO should be used when you are using a disk array that has cache on it to avoid the double cache hits (IE system cache hit one and then the cache hit on the array).

Maybe you are looking for