DDL Wait option and ddl_lock_timeout in oracle 11G

SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for Solaris: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
SQL>
1) From a session, i am doing a delete on a table
2) From second session, i am trying to add a column and drop a column.
As per this website,
http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/11g-schemamanagement.html
adding a column also should be blocked if ddl_locK_timeout is set to 0.
But, why oracle is not blocking adding a column. Dropping a column is however being blocked
From the session where i am running alter table command.
USERNAME OWNER OBJECT_NAME TYPE SID SERIAL# STATUS OSUSER MACHINE
SCOTT SCOTT T TABLE 123 22948 INACTIVE oracle myhost
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for Solaris: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
SQL> alter table t add (mycol varchar2(20));
Table altered.
--> Here i thought as per the website that i get ORA-54 error..
SQL> alter table t drop column mycol;
alter table t drop column mycol
ERROR at line 1:
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
SQL> show parameter ddl_
NAME TYPE VALUE
ddl_lock_timeout integer 0
enable_ddl_logging boolean FALSE
SQL>
Thanks,
Giridhar

According ID 779569.1 it is not bug, it is expected behavior in 11g.

Similar Messages

  • Deploy 10g forms and reports in Oracle 11g

    Hi, I'm working in 10g forms and reports development. However, in my company want to migrate to Oracle 11g.
    My doubt is: May I deploy 10g forms and reports in Oracle 11g installation (Weblogis server + Oracle Fusion Middleware)?
    Thanks.

    I downloaded developer suite.does this developer suite includes 10g database also.becoz there are two disks for the developer suite whereas there was only one disk for oracle 10g datbase that i downloaded earlier and installed.if this developer suite includes database,reports and forms then do i need to uninstall the previous data base 10g that i installed.please help me regarding this.
    thanking you all

  • Which one is best option RAC 10g or oracle 11g RAC for certifiction point ?

    hi ,
    which one is best option RAC 10g or oracle 11g RAC for certifiction point of view?
    can any one detail difference between above 2 options?
    Regards,
    A.Anwar

    A. Anwar wrote:
    hi ,
    which one is best option RAC 10g or oracle 11g RAC for certifiction point of view?
    can any one detail difference between above 2 options?The main difference is: Oracle Lifetime Support
    Premier Support Ends
    Oracle 10g R2 - Jul 2010
    Oracle 11g R2 - Jan 2015
    Extended Support Ends
    Oracle 10g R2 - Jul 2013
    Oracle 11g R2 - Jan 2018
    http://www.oracle.com/us/support/library/lifetime-support-technology-069183.pdf
    Oracle 10g R2 is getting unsupported.

  • Password reset option difference b/w Oracle 11g R1 and R2

    Hi,
    I came to know that the password reset option is different comparing 11g R1 and R2. My understanding is as below.
    For R1, you need to do a password reset for the user id separately and for the account access which that particular user id has access will be different.
    For R2, if you reset the password for user id which will reset the password for user id and as well as the all the accounts which that user has.
    Here is my Ques.
    1) Let me know if my both above statements are correct.
    2) Because When i click on home button in Identity self Service, i do see an password reset option as "account" and value as "Oracle Identity manager". i could see the same option even though if i integrate an application which is database related.
    Also the doc for R2 says you have two options to do the password reset. Pls check 6.2) Changing Password and option 2. Let me know what is correct and what is wrong here.
    http://docs.oracle.com/cd/E27559_01/user.1112/e27151/my_profile.htm
    Thanks in Advance,
    Satheesh.

    Please find my answer with respect to OIM 11gR2
    Suppose you are selecting AD from the drop down and resetting the password then 'Password Updated' task will be inserted into the process definition of AD
    and propogated to the target system. It simply means you are changing UD_ADUSER_PASSWORD field in process form.
    Even after doing this change you will be able to login with your old password
    When you select value as "Oracle Identity Manager" then it is changing the user password at this instance. So the new password you are giving comes into effect for that user and you will be able to login next time with this new password only.Also 'Change User Password' task is inserted in all process definitions where this task with same name is present.
    This is the real password change and the previous option you did is to change the value in process form for that particular account and propogate it to the target.
    Hope this helps

  • Is curly brace syntax and OPTIONAL realy enabled in Oracle 11g? (11.1.0.7)

    I have just installed Oracle 11g patchset to upgrade from 11.1.0.6 to 11.1.0.7.
    Oracle documentation states, that since 11.1.0.7 Curly brace syntax is allowed (http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28397/sdo_rdf_concepts.htm#CIHHDGDI).
    When I try to execute following SQL on sample family RDF data, I got an error. Is realy curly brace syntax and OPTIONAL feature enabled in 11.1.0.7?
    SQL> SELECT x, y
    2 FROM TABLE(SEM_MATCH(
    3 '{?x :grandParentOf ?y . ?x rdf:type :Male}',
    4 SEM_Models('family'),
    5 SEM_Rulebases('RDFS','family_rb'),
    6 SEM_ALIASES(SEM_ALIAS('','http://www.example.org/family/')),
    7 null));
    SELECT x, y
    FROM TABLE(SEM_MATCH(
    '{?x :grandParentOf ?y . ?x rdf:type :Male}',
    SEM_Models('family'),
    SEM_Rulebases('RDFS','family_rb'),
    SEM_ALIASES(SEM_ALIAS('','http://www.example.org/family/')),
    null))
    ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.rdf.server.TokenMgrError: Lexical error at line 1, column 1. Encountered: "{" (123), after : ""
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 178
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 67
    ORA-06512: at line 4

    To use this syntax you need to download and install a new Oracle DB semantic technologies patch on top of 11.1.0.7.0:
    For more details, please refer to:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28397/sdo_rdf_newfeat.htm
    "This section describes features that are included in a Release 11.1.0.7.0 patch that was made available on Oracle MetaLink in November, 2008."

  • Install and uninstall of Oracle 11g R2 on Windows 2008 Server

    Hi,
    I installed Oracle 11g R2 and set up a database on Windows 2008 Server following the steps in the Installation Guide and it was successful. After uninstalling the product and doing a re-install, the step to configure the Net Configuration Assistant fails with the following msg.
    Failed to allocate port(s) in the specified range(s) for the following process(es): JMS
    [5540-5559], RMI [5520-5539], Database Control [5500-5519], EM Agent [3938] | [1830-1849]
    Also, when I ran "netca.bat" and tried to reconfigure the Listener, it indicated the default port 1521 is being used. I ran "netstat -an" and do not see the port listed.
    Questions:
    What is the best way to check if something was leftover from my previous install of Oracle that is using the default ports?
    What do I need to do to ensure a re-install is successful?
    Uninstalling Oracle -
    1.     Log in as the Administrator.
    2.     Stop all Oracle Services.
    3.     From a cmd window, run C:\app\oracle\product\11.2.0\dbhome_1\deinstall\deinstall.bat.
    4.     Delete the C:\app\oracle directory.
    5.     Remove the following registry entries as per http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e16777/toc.htm:
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle Services for MTS
    HKLM\System\CurrentControlSet\Services\EventLog\Application\OracleDBConsole<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.VSSWriter.<SID>
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11

    Johan, after I uninstalled Oracle, I checked to ensure there were no remaining Oracle services remaining.
    Srini, below are the steps I followed to uninstall Oracle. In step 3, I just ran deinstall.bat without any parameters and provided required information as prompted. Note, I uninstalled using the Administrator user and not the "oracle" account that I used to install Oracle.
    Uninstalling Oracle -
    1. Log in as the Administrator.
    2. Stop all Oracle Services.
    3. From a cmd window, run C:\app\oracle\product\11.2.0\dbhome_1\deinstall\deinstall.bat.
    4. Delete the C:\app\oracle directory.
    5. Remove the following registry entries as per http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e16777/toc.htm:
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle Services for MTS
    HKLM\System\CurrentControlSet\Services\EventLog\Application\OracleDBConsole<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.VSSWriter.<SID>
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11

  • Which widows server 2008 release and edition supports Oracle 11g R1 64 Bit

    Hi
    Trying to install the Oracle 11g R1 64bit on Windows server 2008 . Hence requesting you all , which Windows server 2008 Release and Edition support Oracle database 11g R1 64bit .
    Thank You
    Edited by: user8709943 on Nov 12, 2010 10:34 AM

    Hi,
    even 2008 also certified, totally widnows 2008/2003 R2/xp/vista , linux, ibm aix, hp Ux ...
    go to http://support.oracle.com --> certifications ---> select product "ORACLE DATABASE" ---> Release "11.x.x.x' --> select platform "ANY"
    you can check all the compatibility..
    *https://support.oracle.com/CSP/ui/flash.html#tab=CertifyHomePageV2(page=CertifyHomePageV2&id=ggfixmkw())*
    Thanks

  • Host Credentials ERROR Invalid username and or password Oracle 11g

    Hi,
    This error has been bugging me for sometime now and I can't find a straight forward answer anywhere, can you help?
    Oracle 11g on Windows XP SP2 Intel box.
    I am trying to export data and when I'm asked for the Host Credentials I get the error
    " ERROR Invalid username and or password "
    I have tried the following syntax for Username:
    <domain name>\Administrator
    <domain name.local>\Administrator
    <domain name>/Administrator
    <Local host name>\<domain name>\Administrator
    I have gone through making sure that the local security policy settings are correct.
    I have added domain and local Administrator to the ora_dba Group.
    All services relating to Oracle are running.
    I can connect via SQL Plus with no issues.
    I can connect to EM locally and from my client pc with no issues.
    Any ideas, please, can anyone help me?
    I'll gladly furnish you with any info I can to get past this seemingly simple step!
    Regards
    naexpert.

    Trying to understand your reply, here is what I did:
    Created new Windows user called OraAdmin.
    OraAdmin is now member of administrators group and Ora_dba group.
    Logged onto EM at server and used System user logon.
    Data Movement
    Export to Export Files
    Tables
    Host Credentials
    Tried
    OraAdmin - failed
    oracle-11g\OraAdmin - failed
    oracle-11g/OraAdmin - failed
    Don't know what else to do......

  • How To Deploy forms and Reports on Oracle 11g Server.

    Can any one let me know how to deploy Oracle 11g Forms and Reports into weblogic server.
    Prior to 11g versions, support formsweb.cfg,cgicmd.dat files for forms and reports deployment configurations. iam not able to locate these files in 11g.
    Pl help me resolve this..!
    Thanks & Regards
    Abul
    Edited by: Abk on Dec 15, 2010 11:04 AM

    Hi,
    You can find many articles on oracle site for this subject.
    However in brief following are the steps
    1) Create a directory source,executables,images,reports and logfiles.
    2) Copy all your forms, menus and pll's in source directory
    3) All your images in your image directory
    4) All your reports in reports directory
    5) All yuor fmx,mmx and plx in executables directory
    6) Any log files in logfiles directory
    7) Add path of images and executables directory in FORMS_PATH in default.env
    8) Configure your formsweb.cfg as your need.
    9) Configure report.conf and rwservlet.properties according to your applications.
    10) Make jar of icons say myicons.jar.
    11) copy myicons.jar in forms/java directory
    12) Check yuor form services if they are running or not.
    13) Invoke the URL in internet explorer
    http://<ip_address>:<port_no>/forms/frmservlet?form=testform.fmx
    I think that's enough from my side.. For more info you can go through the documentation.
    Regards
    Anuj

  • ODAC 11.2 ReIease 3 and 64 bit Oracle 11g

    Downloaded and installed ODAC 11.2 R3 including its extensions for Visual Studio (2008 in my case).
    It won't connect to my Oracle instance and I assume the reason is that my Oracle instance is 64 bit while ODAC 11.2 R3 is 32-bit. I looked for a 64 bit ODAC and this was the best I found:
    http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
    And 'xcopy' version without the extensions for Visual Studio.
    On the other hand, Microsoft's System.Data.OracleClient does work against my Oracle db (from C#).

    sqlnet.ora does exist in the correct location. It contains:
    # sqlnet.ora Network Configuration File: d:\oracle\product\11.2.0\dbhome_1\netwo
    rk\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    However reading the EZCONNECT documentation I see that I need to enter a valid machine name for Data Source Name and not ORCL as I was doing.
    Try both the hostname value as well as 'localhost'.
    Now the error message I get is:
    ORA-12541: TNS: no listener.
    I check lsnrctl services and as best I can tell an appropriate listener does exist:
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-JAN-2011 14:02
    :05
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 2 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1212 refused:0 state:ready
    LOCAL SERVER
    "N000" established:0 refused:0 current:0 max:40000 state:ready
    CMON <machine: MyHostname, pid: 5580>
    (ADDRESS=(PROTOCOL=tcp)(HOST=MyHostname)(PORT=49203))
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: MyHostname, pid: 3080>
    (ADDRESS=(PROTOCOL=tcp)(HOST=MyHostname)(PORT=49160))
    The command completed successfully

  • Oracle 11G database and Application Server installed on same server

    What are the pros and cons installing Oracle 11G database and Oracle Application Server (Forms and Reports) on the same server?
    Thank you in advance, Sonya

    Some may want their data in a separate network zone for security reasons.
    It also depends if it is the same people that do maintenance on db and appserver.
    It is lower cost with one server, and only 1 Os to set up.

  • How to have DDL "wait" until the lock is free in 10g

    I saw this for 11g: http://www.scribd.com/doc/247954/Oracle-11g-DDL-Wait-Option-feature
    Moving to 11g is not an option. I have code that does partition maintenance (adds a new partition and drops an old one) at night. However, sql loader may be running and the table may be locked. This happened already. Is there anyway to get my code to wait until the lock is released?

    The is no DDL option on the partition operations that I know of to tell the DDL to wait if it cannot get a lock. You will have to implement a procedural fix such as updating a row with a value to indicate the sqlldr job is running or if the sqlldr task is controled via a external table take a user lock then execute the partition operations via stored code that checks the user lock first.
    HTH -- Mark D Powell --

  • Pro*C program fails in Oracle 11g enviroment.

    Hi,
    Right now we have oracle 10g environment in production and Pro*C program compilation and execution works fine.
    We are upgrading Oracle 10g to Oracle 11g.
    When I test the Pro*C program compilation and execution in Oracle 11g environment, the compilation works fine, but the execution fails with following error messgae,
    ld.so.1: test_proc_pgm: fatal: libclntsh.so.11.1: open failed: No such file or directory
    I have verified the LD_LIBRARY_PATH in unix machine where we call the test_proc_pgm, LD_LIBRARY_PATH contains the following libraries..
    u02/oracle/product/11.2.0.3/lib:/lib:
    Please advise.
    Thanks and Regards

    This forum is about general programming in C, C++ and Fortran, and about details of using the Solaris Studio suite of compilers and programming tools.
    Questions about Oracle database programming are more likely to get an answer in a database programming forum. A list of forums is here:
    https://forums.oracle.com/forums/category.jspa?categoryID=18

  • Time Series in Oracle 11g

    Oracle 8i hase Time series for defining calendars and other functions. How does Oracle 10g/11g support Time series features. I could not find any information about Time Series in the 10g/11g documentation.

    Thanks a lot for the responses.
    I looked at the 11g Pivot operator and is altogether a new feature compared to the Time series of 8i.
    I would like to explain with an example.
    1) The following query creates a table named stockdemo_calendars and defines a calendar
    named BusinessDays. The BusinessDays calendar includes Mondays through Fridays,
    but excludes 28-Nov-1996 and 25-Dec-1996. Explanatory notes follow the example.
    CREATE TABLE stockdemo_calendars of ORDSYS.ORDTCalendar (
    name CONSTRAINT calkey PRIMARY KEY);
    INSERT INTO stockdemo_calendars VALUES(
    ORDSYS.ORDTCalendar(
    0
    ’BusinessDays’,
    4,
    ORDSYS.ORDTPattern(
    ORDSYS.ORDTPatternBits(0,1,1,1,1,1,0),
    TO_DATE(’01-JAN-1995’,’DD-MON-YYYY’)),
    TO_DATE(’01-JAN-1990’,’DD-MON-YYYY’),
    TO_DATE(’01-JAN-2001’,’DD-MON-YYYY’),
    ORDSYS.ORDTExceptions(TO_DATE(’28-NOV-1996’,’DD-MON-YYYY’),
    TO_DATE(’25-DEC-1996’,’DD-MON-YYYY’)),
    ORDSYS.ORDTExceptions()
    -------------- How can I create such calendars in 11g?
    2) For example, the following statement returns the last closing prices for stock
    SAMCO for the months of October, November, and December of 1996:
    select * from the
    (select cast(ORDSYS.TimeSeries.ExtractTable(
    ORDSYS.TimeSeries.ScaleupLast(
    ts.close,
    sc.calendar,
    to_date(’01-OCT-1996’,’DD-MON-YYYY’),
    to_date(’01-JAN-1997’,’DD-MON-YYYY’)
    ) as ORDSYS.ORDTNumTab)
    from tsdev.stockdemo_ts ts, tsdev.scale sc
    where ts.ticker=’SAMCO’ and
    sc.name =’MONTHLY’);
    This example might produce the following output:
    TSTAMP VALUE
    01-OCT-96 42.375
    01-NOV-96 38.25
    01-DEC-96 39.75
    3 rows selected.
    --------------------- How can I get the above ouput without Time series functions and calendars in Oracle 11g?

  • Does Oracle 11g 32-bit  can run on Windows Server 2012 (64 bit) ?

    Hello!
    I´ve bought Oracle 11g Standard Edition One 4 years ago, (Release 1 11.1.0.6.0 )
    and installed on a Windows Server 2008 (32-bit)
    We ara planning migrate out BD to a new server with Windows Server 2012 (64-bits)
    Can i install and use that Oracle version on the new server ?
    or
    Can i download and use the same version @ 64-bit with the licence i have with the 32-bit version?
    or
    Do i need to purchase a new Oracle version specially for 64bits?
    Thanks in advance

    Hello, me again... (sorry for insist)
    4 years ago, we purchased and use an Oracle 11g Standard Edition One Release 1 ( 11.1.0.6.0) @ 32 bits, and runs very good on a winsvr 2008 @32 bits.
    I was told i can run Oracle without problems on a WinSvr 2008 @ 64bits
    So we'd like to move it to a new server (WinSvr2012 @64bits)
    So my question is
    * Can we download and use it legally a 64 bit version, or we need to purchase another licence?
    * If so, where can i download it?
    Thanks in advance

Maybe you are looking for