Creating spatial indexes at the same time

Are there any locks on common DB objects when spatial index is created on one table?
We have application which creates a table with geometry column, fills this table and at the finish creates the spatial index. It seems, that this blocks other users to do this on other tables. The problem is also when the index on large table is created outside the application and this blocks the index creation for app users.
regards
Saso

Hi,
I believe you can create multiple spatial indexes concurrently. I'm not sure if there are special database parameters, but on my default Oracle9i release 2 install I can create multiple indexes at the same time.
Users cannot query the table using spatial operators until the index is built. Adding/deleting data may also be disabled while the index is building. Accessing data is allowed.
Can you describe the sequence of steps where the blocking occurs?

Similar Messages

  • VMware Create mulitple VM at the same time

    VMware could create multiple VMs using one template at the same time.
    Is it possible for VMM to manage VMware and provide this feature? (i.e. create VMs on VMware using 1 template at the same time) thanks.

    Hi,
    this should work.
    Not by using the VMM management console but check this:
    http://social.technet.microsoft.com/Forums/en-US/9b0b6650-f4ee-435c-88a1-01e1921fcb67/could-vmm-2012-provision-multiple-vms-using-the-same-template-at-the-same-time?forum=virtualmachinemanager
    http://technet.microsoft.com/en-us/library/dd349315.aspx
    Regards
    Sebastian

  • Numeric character problems when creating spatial index

    Hi,
    We have run into a problem when trying to create spatial indexes. The problem seems to be that an mdsys-procedure tries to use a number with a comma as decimal symbol in an update statement
    Error message:
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Stmt-Execute Failure: begin mdsys.prvt_idx.execute_update(NULL,NULL,'set sdo_rtree_quality = 1,00000000 where UPPER(sdo_index_owner) = UPPER(''BK'') AND UPPER(sdo_index_name)=UPPER(''TEST_RTREE_IDX'') AND UPPER(sdo_index_table)=UPPER(''MDRT_8120$'')',NULL); end;
    ORA-29400: data cartridge error
    ORA-01747: invalid user.table.column, table.column, or column specification
    ORA-06512: at "MDSYS.PRVT_IDX", line 17
    ORA-06512: at line 1
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
    ORA-06512: at line 1
    Our problem seems to be identical to the one discussed in this thread: create RTREE falied on 9.2.0.4
    Regional settings, language versions etc:
    Client:
    OS: Windows 2000
    Regional options (OS): Swedish, Sweden
    Sqlplus (console and windows versions): v 9.2.0.1.0
    Registry: NLS_LANG =SWEDISH_SWEDEN.WE8MSWIN1252
    Server:
    OS: Windows Server 2003
    Regional options (OS): Swedish, Sweden
    Oracle: v 9.2.0.3.0
    Registry: NLS_LANG =SWEDISH_SWEDEN.WE8MSWIN1252
    We have also tried building the indexes after overriding these settings by setting the environment variables NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 on both the client- and the server computer. This gives exactly the same error. We have tried setting NLS_NUMERIC_CHARACTERS to '.,' instead of ',.', but this does not help either.
    We haven't tried changing the NLS_LANG registry entry on the server, because this is a production server at a customer's site that hosts several other databases, so we would prefer not to have to restart it if we can avoid it. However, as we understand it, the environment variable NLS_LANG should override the registry setting anyway, right?
    We first experienced the problem when trying to build indexes on imported data. To verify that the problem was not with the data, we wrote a simple test script that:
    1)Creates a table
    2)Creates metadata
    3)Inserts a simple geometry
    4)Tries to create an index
    The error message above is from running this script. We have verified that the script
    works ok on another database server.
    Below are the values of some of the language parameters right before running the script
    (we have tried many other settings with the same result).
    parameter...........................db................................instance...............session
    NLS_CHARACTERSET.......WE8MSWIN1252..................................................
    NLS_LANGUAGE...............AMERICAN...................AMERICAN...........AMERICAN
    NLS_NCHAR_CH...............AL16UTF16 ..........................................................
    NLS_NCHAR_CONV... ......FALSE..........................FALSE..................FALSE..
    NLS_NUMERIC_CH...---------.,---------------------------------------------------------------.,
    NLS_TERRITORY..............AMERICA......................AMERICA..............AMERICA
    The guy who started the thread referenced above solved the problem, but we haven't been able to get it working by changing registry entries and session parameters.
    The question is: Which setting will make the number in 'set sdo_rtree_quality = 1,00000000...' be generated with a . instead of a , as decimal symbol?

    Ok, so here is my plan to solve this:
    1) Change the default user locale (the language under "standards and formats") to English for the account under which the Oracle server runs.
    2) Reboot (or is there an easier way to make Oracle reload the settings?)
    This should make the index creation work. It may break something else however, so to avoid this I can set the user locale back to Swedish afterwards .
    You can subsequently change the setting and update the sdo_rtree_quality in
    the metadata and it should work fine. Do you mean I have to update the sdo_rtree_quality in some way to make it work after I have changed the default user locale back to Swedish? How do I do this?
    Thanks a million both of you!

  • Can I run two midi controllers (keyboard  and pad) at the same time?

    ie.....can I play keyboard and use a pad for an effect of some sort - creating two instraments at the same time. I want to play say, piano on one instrament w/ a keyboard and at the same time play a synth effect on a trigger pad with another instrament (es 2)????????

    Yes.
    set 2 instruments to different midi channels.set the keyboard and pad to match.
    record enable both tracks in arrange.
    check: file/song settings/recording/auto demix by channel if multi-track recording
    this will allow you to record them both.

  • I am in the middle of a job using CS 6, but at the same time opening the Creative Suite apps.  I created an InDesign file in CS 6, saved it, and now I can't open it. I'm getting this message: Cannot open file because it was saved with a newer version of A

    I am in the middle of a job using CS 6, but at the same time opening the Creative Suite apps.  I created an InDesign file in CS 6, saved it, and now I can't open it. I'm getting this message: Cannot open file because it was saved with a newer version of Adobe InDesign CC (10.1). You must use that version or later to open the file." AARRGGHH! So how do I access the file?

    Sounds like you opened and saved it in CC, so now you need to go back to CC and either complete the project there, or export to IDML to take it back into CS6.

  • I want to Connect my Mac Mini as a Slave to a Mac pro Server while at the same time using the Mac mini's thunderbolt ports peripherals ( ie monitor, Sound Card, Hard drives) Creating a poor man's new mac Pro. Can this be Done?

    I want to Connect my Mac Mini as a Slave to a Mac pro Server while at the same time using the Mac mini's thunderbolt ports peripherals ( ie monitor, Sound Card, Hard drives) Creating a poor man's new mac Pro. Can this be Done?

    Well, I really would love the new unreleased mac pro however , I'm not sure of the expected cost , Everyone speculates from $3,000 to $8,000, in which I may have to wait a while to purchase.
    To the point .... I want fully functional thunderbolt ports to be on the current mac pro's .... wonder if anyone had workarounds yet?...  or could I chain the the current mac pro to a mac mini to make that happen?

  • I am trying to create a button in flash that will display 4 separate images at the same time when clicked.  I can't get the images to stay on when I take the mouse of the button.  I need the actions script code to make this happen.

    I am trying to create a button in flash that will allow the user to click on the button and 4 separate images show up at the same time.  I can get the images to appear when I click the button but they will not stay on the screen.  I need to know what code I use to make the images stay once the button is clicked, then I need to know exactly where I place that code.  It does not appear to be possible to add the action code to the buttons layer since each time I add a new layer I just get another "up" "over" "down" and "hit" line.
    Thank you in advance
    AP

    It is not clear how you are trying to realize this from your description.  If you are trying to create this within a button symbol it will not work.  Explain your approach and if there is code involved, show what you have so far.

  • Can we start more than one user created database at the same time

    Hi.,
    Can we start/work more than one user created database at the same time ??
    --Shyam                                                                                                                                                                                       

    Hi Shyam,
    I really dont understand what you have asked?
    If your question is can we start more than one database at the same time then the answer to that is yes but provided to have enough resources on your server to support running of two or more different databases on the same machine.
    Ex Senior DBA

  • I have created a form which needs to be completed once a week for 6 weeks. On completing week 1, weeks 2 - 6 are completed at the same time with week 1 information. please help?

    I have created a form which needs to be completed once a week for 6 weeks. On completing week 1, weeks 2 - 6 are completed at the same time with week 1 information. please help?

    Hello, thanks for replying.
    Yes they just copy to the next page, the fields are the same. The document is an observation to school lessons so it needs to be consistent but with different data on.

  • Create SP that returns value and at the same time displays query result in output window

    I would like create an SP which will return the records from the table and also return value to my c# client application.
    For Example:
    Select * from employee returns all the query results in output window.
    Now I want to create an SP
    Create procedure Test
    As
    Declare @ret int,
    Select * from employee
    set @ret = Select count(*) from employee
    if @ret > 0
    return 1
    else
    return 0
    The above algo should return 1 0r 0 to c# client application and at the same time display all employees in sql query output window.
    Can u pls help in this regard.

    The above algo should return 1 0r 0 to c# client application and at the same time display all employees in sql query output window.
    Why?  and No!
    Why?  Your procedure generates a resultset of some number of rows.  You check the resultset for the presence of rows to determine if "anything is there".  You don't need a separate value to tell you this.  Note that it helps
    to post tsql that is syntactically correct.   While we're at it, if you just need to know that rows exist there is no need to count them since that does more work than required.  Simply test for existence using the appropriately-named function
    "exists".  E.g., if exists (select * from dbo.employee). 
    No!  A stored procedure does not display anything anywhere.  The application which executes the procedures is responsible for the consumption of the resultset; it chooses what to do and what to display. 
    Lastly, do not get into the lazy habit of using the asterisk in your tsql code.  That is not best practice.  Along with that, you should also get into the following best practice habits:
    schema-qualify your objects (i.e., dbo.employee)
    terminate every statement - it will eventually be required.

  • I have just created a new playlist, at the same time I have updated the ITunes software and that of my ITouch. My problem is that today I have been trying to edit the playlist and the edit playlist is greyed out please help

    I have just created a new playlist, at the same time I have updated the ITunes software and that of my ITouch. My problem is that today I have been trying to edit the playlist and the edit playlist is greyed out please help.
    I have been in preferences and checked manually edit etc and still no joy. I must be missing something.
    Susan

    From Here   http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

  • Create & insert in the same time

    hi does any one know why it's impossible to insert values in a table in the same time of creation? I know that's impossible to do so i want to know why?

    why not ? if you use select statement for table creation.
    SQL> select * from temp_emp;
    select * from temp_emp
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> create table temp_emp as select * from emp;
    Table created.
    SQL> select * from temp_emp;
         EMPNO ENAME                                              JOB              MGR HIREDATE         SAL 
          7369 SMITH                                              CLERK           7902 17-DEC-80        880        
          7499 ALLEN                                              SALESMAN        7698 20-FEB-81       1600 
          7521 WARD                                               SALESMAN        7698 22-FEB-81       1250 
          7566 JONES                                              MANAGER         7839 02-APR-81       2975        
          7654 MARTIN                                             SALESMAN        7698 28-SEP-81       1250 
          7698 BLAKE                                              MANAGER         7839 01-MAY-81       2850        
          7782 CLARK                                              MANAGER         7839 09-JUN-81       2450        
          7788 SCOTT                                              ANALYST         7566 19-APR-87       3000        
          7839 KING                                               PRESIDENT            17-NOV-81       5000        
          7844 TURNER                                             SALESMAN        7698 08-SEP-81       1500        
          7876 ADAMS                                              CLERK           7788 23-MAY-87       1100        
          7900 JAMES                                              CLERK           7698 03-DEC-81       1045        
          7902 FORD                                               ANALYST         7566 03-DEC-81       3000        
          7934 MILLER                                             CLERK           7782 23-JAN-82       1300        
          7500 DEV                                                MD                                   5000
    15 rows selected.

  • How you create a group to send many txt msg at the same time?

    How you create a group to send many txt msg at the same time?

    The iPhone does not support groups for messaging. There are apps in the app store which purport to be able to do this.

  • How to create a proxy that accept requestes get/post in the same time?

    Hi everybody,
    I have two questions with Service Bus 11gR1.
    I have to create a proxy in https that accept request get/post in the same time, also this proxy should be able to recognize the common name of the certificate.
    Is it possibile?
    Thanks a lot.
    Ettore

    The approach I mentioned is part of correctly configuring client cert authentication. For client cert authentication to succeed weblogic expects the user derived from the certificate by the user name mapper class to exist ( just exist , it wont check the password) in its security realm. The problem you have mentioned is common for any type of 'authentication' and not just specific to this approach.
    The user name mapper class can be configured to accept any attribute in the certificate DN as the mapped user. Since the thread starter is interested in CN, then he has to set CN as the mapping attribute.
    Edited by: atheek1 on Nov 10, 2010 1:33 AM

  • HT3275 My Mac gave me a message saying that I had to create a new back up.I did this and I have lost a year's worth of back-ups.The crazy thing is that on my probook I still have them even though it is using the same time capsule.Any ideas if I can retrie

    On being prompted to create a new back-up on my Mac by Time Machine I lost a year's worth of back-ups.   The crazy thing is tht on my ProBook I still have them even though it uses the same Time Capsule, which to mind mind they are still there on the Time Capsule.   Has anybody else had this experience or has any suggestions how I can retrieve the info on my Mac?   Any help gratefully accepted!  Thanks

    cafranklyn wrote:
    On being prompted to create a new back-up on my Mac by Time Machine I lost a year's worth of back-ups.
    You might find useful advice on this Web page: Time Machine Troubleshooting, particularly item C13.
    The crazy thing is tht on my ProBook I still have them even though it uses the same Time Capsule, which to mind mind they are still there on the Time Capsule.
    Not necessarily.  Each Mac using a particular Time Capsule has its own set of backups that are independent of those of any other Mac.
    Has anybody else had this experience or has any suggestions how I can retrieve the info on my Mac?
    Why are those backups so important to you?  My advice is to move on and live without them.

Maybe you are looking for

  • Query in Smartforms!!!!

    Hi all,           Can anyone please tell me how to get the URL of a Smart Form. Kindly reply immediately as this is bit urgent. Regards, Vijay

  • Can't open files after canceling sub

    I tried the Creative Cloud on a trial basis and then canceled. The problem now is that the latest Adobe Reader, which is no longer operating on my computer, is still the default program when I try to open a PDF. It won't let me open files. I have an

  • Newbie Installation Troubles

    Hi all, Im trying to get JSTL to work with my setup but I'm hitting a few troubles. Can anyone see if they can help. Here's a little of my setup: JDK - 1.5 IDE - Eclipse 3.1 with Web Tools Project v0.7 Milestone MD 5 JSTL - Apache Taglibs Standard 1.

  • How long does it usually take to ship Iphone 4 for at&t?

    How long does it usually take to ship Iphone 4 for at&t?

  • How do I delete Facebook contacts

    I'm trying to get rid of Facebook birthdays and contacts on both my iPhone 4S and ipad. Settings- FB- Allow these Apps to use your account is turned off and updated but nothing changes