Table lock while creating index?

Hello,
my db is oracle10g. My database is OLTP system. I wanted to create index on one of the table. The table has 200 million records.
Does it lock the entire table when i create index? I am thinking, how it impacts the regular operations in the database while creating the index?
Any help is appreciated...

Hi,
Do you have Enterprise Edition? If so, the online option is available to you.
So, you can do:
create index my_new_index on my_tab(col1,col2) online;or:
alter index my_existing_index rebuild online;If you don't use the online option, then yes, the table will be locked against updates, any OLTP traffic will serialize behinds the index maintenance operation.
Hope that helps,
-Mark

Similar Messages

  • Don't have primary Key in Target table getting errror while creating index

    Hi All,
    I don't have primary key column in target table, while exicuting mapping I got a error while creating INDEX.
    Could you please help how to slove this

    Hi,
    That is a process definition issue.
    If you don't have a PK then:
    1) or you don't execute updates
    2)or you have an alternate Key to update it.
    Case 1) just change the KM to IKM Control Append
    Case 2) at interface, go to each column what is Alternate Key and check it as key (click at column and check the box Key at bottom of propriety window).
    Does it work to you?

  • Do we need any precautions while creating index in MV rather than tables?

    Do we need any precautions while creating index in MV rather than tables?
    Could you please someone tell me is there we need specifically follows while creation on MVs

    MV is a seprate object. You might need to create an indexes on MViews based on how you are accessing that MV. You need to take a same preacutions what you take to create an index on the table,
    I do not know what you mean by your 2nd questions. Read this for better understanding
    http://docs.oracle.com/cd/B28359_01/server.111/b28326/repmview.htm

  • Tables updated while creating order, before saving

    hi friends,
    Please provide list of tables updated while creating the order, before saving it.
    regards,
    vandana arora

    Hi
    The following tables get updated
    VBBE - Sales Requirement
    VBLB - Release Order Data
    VBAK - Sales Document Header
    VBPA - Partner Table
    VEPVG - Delivery Due Index
    VBAP - Sales Document Item Data
    VKDFS - SD Index: Billing initiator
    VAPMA - SD Index: Order Item by Material
    VAKPA - SD Index: Order Item by Partner Function
    VBEP - Schedule Line
    VBKD - Sales Doc: Business Data
    VBEH - Schedule Line History

  • Err while creating Index - ORA-29855: ,ORA-20000

    Got err while creating index. We moved the Table to new tablespace and drop the index. While creating index got this err. Col1 is clob datatype.
    SQL> CREATE INDEX kc_ctx_RAWTEXT ON RAWTEXT
    2 (col1)
    3 INDEXTYPE IS CTXSYS.CONTEXT
    4 PARALLEL ;
    CREATE INDEX KC_CTX_RAWTEXT ON RAWTEXT
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drvddl.ParallelIndexPopulate
    ORA-12801: error signaled in parallel query server P020
    ORA-20000: Oracle Text error:
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.DRVPARX", line 36
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364

    remove parallel clause and try again

  • Error while creating index on  ep 6.0 9 sr1   (trex 6.1).

    Hell o all,
        I am getting following error while creating index on  ep 6.0 9 sr1   (trex 6.1).
    Index could not be created; creating index failed: general configuration error (Errorcode 2030)
    can any on ehelp.
    thanks and regards
    Rajendra

    Hi,
    We are running TREX 6.1.09.00 on EP6.0.9.0.0 and KMC6.0.9.0.0.
    We are experiencing the same problems, even after changing the value in the .ini file as specified in NOTE 766197.
    After doing changes, I restarted the server after doing the changes.
    Alessandro, have you got any ideas for fixing this?
    Message was edited by: Bjorn Bjornstad

  • Error while creating index

    hi all,
    i got this error while creating index in portal.
    <b>Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)</b>
    it a little urgent any will be appreciated.
    thanks in advance
    Ranga

    Hi Ranga,
    Please follow http://help.sap.com/saphelp_nw04s/helpdata/en/c7/e0d13f7fb44c21e10000000a1550b0/frameset.htm
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • Getting error while creating index in RAC environment in 11g

    Hi All,
    I am new to RAC concept while creating index getting below error
    Error: AX_DISABLE_HIST - SQL Error. Error Position: 0
    Return: 12801 - ORA-12801: error signaled in parallel query server P146, instance
    ORA-12853: insufficient memory for PX buffers: current 425904K,
    max needed 11105280K ORA-04031: unable to allocate 32792 bytes of shared memory ("shared pool","unknow
    CREATE UNIQUE iNDEX PS_AX_DISABLE_HIST ON PS_AX_DISABLE_HIST (EMPLID) TABLESPACE PSINDEX STORAGE
    (INITIAL 40000 NEXT 65536 MAXEXTENTS UNLIMITED PCTINCREASE 0) PCTFREE 10 PARALLEL NOLOGGING
    am not able to understanding is this issue is related to index or sga memory. can any once help me on this.
    Thanks in advance
    Prabhakar
    Edited by: 889571 on May 16, 2013 7:41 AM

    Hi,
    Please read the below link for ORA-04031 (Insufficient Memory).
    http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/
    Thanks

  • Proxy error while creating index

    hi all
            i've configured Trex name server in j2ee visual admin,and ialso configure the prosy server in the following path
    System Administration  ® System Configuration  ® Service Configuration ® Applications (Content Catalog) ® com.sap.portal.ivs.httpservice  ® Services  ® Proxy
    by giving host name
    but while creating index the following error occured
    Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fadministrator!2fsuper_admin!2fsuper_admin_role!2fcom.sap.portal.system_administration!2fcom.sap.portal.system_configuration!2fcom.sap.km.AdminConfig!2fcom.sap.km.AdminSystemIndexes!2fcom.sap.km.IndexAdmin. Reason: Error reading from remote server -
    Apache/2.0.52 (Fedora) Server at www.entegs.com Port 80
    and in SysAdmin/SysComfig/Km/Trex Monitor the following error is displaying  
    Proxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request GET /irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy.
    Reason: Error reading from remote server
    Apache/2.0.52 (Fedora) Server at www.entegs.com Port 80
    can any one give me the appropriate solution for the above,its very urgent.
    awaiting for replies
    Regards
    Gnana
    Note:also tell me how to rate for replies coz through this forums i solved many problems

    Hi Gnana,
    as there seem to be no replies here and I do not have one either, please submit a support message to SAP and be prepared to grant system access.
    Regards,
    Karsten

  • Table lock while index rebuild

    Dear all,
    Can anyone kindly tell if the rebuild index operation locks the table on which rebuild index is performed ? (meaning that no inserts or updates are possible on that table during that time)
    I am using Oracle 10.1.0.4
    Thanks in advance
    L

    Dear all,
    Can anyone kindly tell if the rebuild index operation
    locks the table on which rebuild index is performed ?
    (meaning that no inserts or updates are possible on
    that table during that time)
    I am using Oracle 10.1.0.4
    Thanks in advance
    LThe online index rebuild allow DML statements on the tables during the index creation. When you use the ONLINE option to create or alter an index, the current index is left intact while a new copy of the index is created. This allows DML statements to access the old index.
    Message was edited by:
    oraburn

  • Problem while creating index for temporary table...

    Hi,
    i have created index for a temporary table and this script should used by multiusers.So when second user connecting to it is giving index i mean object already exists.
    So what i need is when the second user connected the script should create one more index on temporary table.Will sql server provide any random way of creating indexes if the index exists already with that name??
    Thank You,

    Nope..
    SQL Server is cleaver enough to handel this situation.
    When you create a index or constraint on the Temp Table, eventhough the index name is duplicate it will allow.
    But it only possible on temp tables (prefixed with single #).
    To Test this,
    Open Two window,
    Execute the below window on the opened 2 window..
    create table #test
                id int
    Insert Into #test values(1);
    Insert Into #test values(2);
    Create clustered index testindex on #test(id)
    Now you wont get any error on any of the window. Rite?
    To fetch the created index details, execute the below code on any one of the window..
    select * from sysindexes where name like '%test%'
    Now you can see the 2 rows with same indexname but refereing with different table. Yes. all the temp tables (#) will be suffixed with unique number to avoid the object already found error while multiple users connects.
     

  • ORA-01591 and ORA-00054 while creating index

    Hi guys,
    there is a situation that I didnt understand.
    I have table and want to create an index on it but when I try to create an index I got one of
    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
    or
    ORA-01591: lock held by in-doubt distributed transaction 11.13.689049 errors.
    as I know there is and .net application which has connection pooling and while this web services were active, I can not create index.
    first thing that i did is querying V$LOCK table and i saw some TM locks from time to time and sometimes nothing. when there wasn't any locks on the table I try to create index, system wait for a while (1 minutes approximately) then I got "ORA-01591: lock held by in-doubt distributed ..." error again. (even "Application" wait event occured. in enterprise manager I saw a few red sql command which is waiting for my create index command)
    after a quick search, I use PENDING_TRANS$ and PENDING_SESSIONS$ tables to force rollback to the transaction which is indicated on ORA-01591 error but just after I rollback that transaction, a new one come up every time.
    today I use something else. First I locked table manually in EXCLUSIVE mode (and success it). then I try to create index again, command worked for a while and I got ORA-01591 error again.
    any idea why is this happining and how can i create my index ?

    sybrand_b,
    when i run
    Lock Table MyTable in exclusive mode;command, it succeeded. I can lock the table if you mean that or if you are saying even if that command runs very well, because of in doubt transaction, oracle will take the lock back, that could be. but as i said lock table command succeeded.
    and there is an another situation here, there is no any other database ? I mean, how could an in doubt transaction happen. there are dblinks but they do not even query that table.
    there is just something that i dont know. as i said in my first message, a .net application is running on an aplication server, as far as i know there connection pooling etc on that server. is this can cause that kind of in doubt transaction ?
    PS: every time in ora-01591 error, I got the same transaction id and that transaction id is not in dba_2pc_pending or pending_session$ etc. that might help.
    Edited by: Mustafa KALAYCI on 17.Şub.2012 13:48

  • Errorcode 2030 while creating Index

    Hi,
    I am try to create an index for the first time and am not able to, because of the following error:
    Index could not be created; creating index failed: general configuration error (Errorcode 2030)
    Can you tell me if there is any place where I can lookup errorcodes and their descriptions?
    Thanks
    Raj Balakrishnan

    Error codes and messages of TREX 6.0
    OSS Note 649574 you can find a attach file in which explain you these message error.
    Patricio.
    List of TREX 6.0 Error Codes and Messages
    (including hints for solving some common problems)
    0000 no error No errors occurred. The process was completed successfully
    0001 multiple operations failed detail provided in a list This problem is mostly caused by HTTP problems when indexing or synchronizing. You must check whether the documents processed are actually available
    0004 Document to delete/update was not found The document that was prepared for deindexing or an incorrect document ID or document name. You must check whether there is a document in the index or on the harddisk (as URL) with the corresponding ID. For non Portal scenarios this error means: "document can not be found". If you use Content Server please check this document for consistency.
    0008 index is corrupted. Must be deleted/repaired by hand An error occurred when the system tried to delete the index. The corresponding entry was deleted from bartho.ini, but the index still exists. Solution: 1. Stop the TREXServices. 2. Delete the index directory and the entries in bartho.ini, TREXIndexServer.ini and TREXTcpipClient.ini manually. 3. Start the TREXServices 4. if necessary delete index in R/3 system (for non Portal scenarios) and clean tables. 
    0010 not enough space available for index creation There is no disk space available for creating a new index. You must chose another disk for the index. (The trace files might be occupying to much diskspace. If so, they have to be deleted.) 
    0011 specified language is unknown or not supported You must check whether the chosen language is supported by TREX and whether the language ID has been entered correctly. You must check also if these languages have been chosen correctly during the TREX installation. 
    0012 directory creation failed An index with the same name has already been created, and an error occurred when the index with the same ID was created again. The old index was not correct deleted :empty index directory still exists. Solution: 1. Stop the TREX Services. 2. Delete the index directory manually. 3. Start TREX Services again. 
    0013 directory removal failed The index directory could not be deleted correctly. This may be because there is a file missing from the index directory, or the index might be locked by another process. Solution: 1. Stop the TREX Services. 2. Delete the index directory and the entry in bartho.ini, in TREXIndexServer.ini and in TREXTcpipClient.ini manually. 3. Start the TREX Services 4. if necessary delete index in R/3 system (for non Portal scenarios) and clean tables. 
    0014 unknown or unsupported data type This may be because the document contains a data type that is not supported.
    0016 an operation has failed on a file (create, delete, copy, move...) This error occurs when the system tries to delete an index that is locked by another process. Solution: 1. Stop the TREX Services. 2. Delete the index directory and the entry in bartho.ini,TREXIndexServer.ini and in TREXTcpipClient.ini manually. 3. Start the TREX Services 
    0018 a received argument has an invalid value This problem can be occurred for example if Search Request is not correct.
    0020 unspecified win32/unix system error The error occurs when the system tries to index an index that has already been partially deleted. Solution: 1. Stop the TREX Services. 2. Delete the index directory and the entry in bartho.ini,TREXIndexServer.ini and in TREXTcpipClient.ini manually. 3. Start the TREX Services 
    0022 automatic index optimization failed This error can occur when another document is indexed by a URL in an index for an existing document. Afterwards the index is no longer available. Solution: 1. Stop the TREX Services. 2. Delete the index directory and the entry in bartho.ini,TREXIndexServer.ini and in TREXTcpipClient.ini manually. 3. Start the TREX Services 
    2001 Multiple operation failed, detail is provided in a list This problem is mostly caused by HTTP problems when indexing or synchronizing. You must check whether the documents processed are actually available. 
    2003  The error normally occurs when you try to create a new index with the same index ID as that of an existing index. If the index is not available in SAP_RETRIEVAL_PATH \Index, you must check whether there is an entry for a corresponding index in bartho.ini, TREXIndexServer.ini 
    2004 Document to delete/update was not found The document that was prepared for deindexing or an incorrect document ID or document name. You must check whether there is a document in the index or on the harddisk (as URL) with the corresponding ID. For non Portal scenarios this error means: "document can not be found". If you use Content Server please check this document for consistency.
    2007 index does not exist This error occurs when you try to delete an index that does not exist (or (de-) index some document in this index). The following points must be checked: Is the name of the index correct? Is there a subdirectory with the same name in SAP_RETRIEVAL_PATH\Index? Is there a matching entry in bartho.ini, TREXIndexserver.ini and in TREXTcpipClient.ini? 
    2011 Document language is unknown or not specified Check whether the chosen language is supported by TREX and whether the language ID has been entered correctly. (You also need to check that the language in question was selected when TREX was installed). 
    2503 Direct load, no queue server existing It should be checked , if the TREXIndexServer.ini has the proper entry for the Index Server, Queue Server and the IndexId. If it is necessary, this entries have to be added manually or from the backup version. 
    2960 The index server (for the specified indexes) cannot be determined check if TREXNameServer should be used, properly configured and run.
    2982 A communication error occured, with the TREX TcpIp Server Check if TREXIndexServer is running.
    2988 Missing argument Possible reason: search query is not correct
    2990 codepage error Possible reason: Codepage is not supported. 
    2998 dll can not be loaded Possible reason: in R/3 system check if in Transaction SRMO during the creation of SSR was selected DRFUZZY as searchengine. 
    6001 QS error: index not found Possible reasons: Index was deleted not complete (queue is still exist), or queue was created from TREXQueueClient. Solution: delete Queue through TREXQueueClient 
    6002 QS error: queue not found The queue has been deleted manually or was never created.
    6009 QS error: no connection to QueueServer The queue server did not start. Also check whether the TREXIndexServer.ini file has appropriate entries for the index server, queue server, and index id. If necessary, enhanced these entries manually or using the back-up version. 
    6017 QS error: queue not deleted The queue can not be deleted. The TREX index server, preprocessor, and queue server must be stopped and the queue index must then be deleted manually. 
    6021 QS error: queue exists The queue wasn't deleted when you deleted the index. This error occurred when you tried to create an index with the same ID. You have to delete the entries from this index from TREXTcpipClient.ini. 
    6401 HTTP Status Code 401 : Unauthorized Possible reason: TREX-user has no permissions for this document
    6403 HTTP Status Code 403 : Forbidden Possible reason: TREX-user has no permissions for this document
    6404 HTTP Status Code 404 : Not Found Possible reason: the document is not available
    6806 Preprocessor: filter error check if the document has correct mime-type and if necessary test with the filter.exe
    6906 Attribute engine index not found Subfolder attribute for index was not created with the index. Solution: 1. Stop the TREXServices. 2. Delete the index directory and the entries in bartho.ini, TREXIndexServer.ini and TREXTcpipClient.ini manually. 3. Start the TREXServices 4. if necessary delete index in R/3 system (for non Portal scenarios) and clean tables. 
    6915 UNKNOWN_ATTRIBUTE (AttributeEngine) check the search query. Requested attribute is not available in the index.
    Message was edited by: Patricio Garcia

  • Error "No entry in table T551A" while creating set work schedule rule.

    Dear Team,
    I am getting following error while creating set work schedule rule.
    Error "No entry in table T551A" for key 22 BBB [ here BBBB is my period work schedule]
    The actual prob is i configured all the necessary steps but when i tried to create work schedule rule im getting this error. Also, in the same screen there is one field DWS grouping initially value in this is 00 and gread mode. But after giving ES grp, holiday calander ID etc etc when i try to save that screen that value is chainging to 22 from 00.
    My ES grop=2 and PS grop=2 . Is that value is my ES and PS grouping..?? or some other thing.
    Request you to please help me out.
    Regards
    Shab.

    HI, there are 8 steps you need to do below:
    1. Group Personnel Subareas for the Daily Work Schedule
    2. Group Personnel Subareas for the Work Schedule
    3. Define Break Schedules
    4. Define Daily Work Schedules
    5. Define Period Work Schedules
    6. Define Employee Subgroup Groupings
    7. Define Groupings for the Public Holiday Calendar
    8. Set Work Schedule Rules and Work Schedules
    All of them belong to TIME MANAGEMENT. I think you miss some steps above.
    Please check it again.
    Regards!
    Minh

  • Configuration error while creating index in KM

    Hi KM Expets,
    I am getting the following error while creating a new index via System Adminstration > System Configuration > Knowledge Management > Index Adminstration.
    Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)
    I guess all the field values filled by me are correct, so not able to get the problem.
    Any suggestions/help ?
    Regards,
    Saurabh

    HI
    check this links:
    https://www.sdn.sap.com/irj/sdn/thread?messageID=551325
    https://forums.sdn.sap.com/thread.jspa?threadID=953575&messageID=5752406#5752406
    Hope this may help you.
    Thanks
    Hussain.

Maybe you are looking for

  • How to determine if my MAC is still copying/transferring

    I have recently sent a LARGE amount of items to my hard drive.  A few hours later, I am not wanting to delete the items from my hard drive to free up space.  I am receiving the following error: ".Trash" can't be opened right now because it's being us

  • Is it possible to draw on a picture after loading and before displaying it?

    Hi to all :) I intend to write a small applet(connected with a server using RMI, but that's not important :) ) that represents the 'tic-tac-toe' game. I've planned to create 3 pictures - blank, containing a circle and containing a cross. Then I think

  • Viewing RAW file thumbnails in Adobe Bridge

    Hello folks have a problem which is driving me crazy and I'm hoping someone might be able to give me some pointers. Until recently I was able to view my NEF RAW files as thumbnails in Bridge, click on them and they open in camera raw fine. But all of

  • Itunes cannot save library error -50

    This error has been occurring for at least 2 years. I don't see anything in the community that has ever fixed this and I am now slowly moving to Spotify. I have over 400k songs and this itunes error continues to pop up any time that I search, go to t

  • Issues when printing a website of multiple pages, only prints every other page

    I have recently started using Firefox as since using windows 8 have found a few problems with explorer. I sell a great deal on ebay and in order to print my invoices, ebay create a webpage with all of them on. I have attempted to print this through f