DDL option wait and ddl_lock_timeout in oracle 11G

SQL > select * from v version $;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
PL/SQL release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
AMT for Solaris: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production

SQL >


(1) a session, I do a delete on a table
(2) of the second session, I'm trying to add a column and remove a column.
According to this site,.
http://www.Oracle.com/technology/pub/articles/Oracle-database-11g-top-features/11g-schemamanagement.html

Adding a column must also be blocked if ddl_locK_timeout is set to 0.
But, why oracle is not blocking the addition of a column. Remove a column is however blocked

Of the session where I execute 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 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
PL/SQL release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
AMT 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));

Modified table.

-> Here I thought according to the Web site I get the error ORA-54...

SQL > alter table drop column t mycol.;
ALTER table drop column mycol. t
*
ERROR on line 1:
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired


SQL > show parameter ddl_

VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
DDL_LOCK_TIMEOUT integer 0
enable_ddl_logging boolean FALSE
SQL >


Thank you
Guz

According to ID 779569.1 it is not a bug, this is the expected behavior in 11 g.

Tags: Database

Similar Questions

  • Hi please how can make backup and restored in oracle 11g

    Hello

    Hello

    You must provide certain minimum information, what are your needs?  IS - this prod or UN-made?

    -Pavan Kumar N

  • Reg: Oracle 11g XE for Webcenter 11.1.1.6

    Dear Experts,

    I intend to install Oracle Webcenter 11.1.1.6 on my laptop that runs on a 4Gigs RAM. The pre-reqs guides and install say Oracle 11g 11.2.0.1 DB version, which would be quite heavy for my machine.
    As I need this installer only for learning purposes and practice, can you please suggest me if the version of Oracle 11 g XE (one light) would be enough?

    Thank you
    Srikanth.

    for your learning needs, simply go ahead with your system and Oracle XE 11g db configuration.

    You must consider that, before the UCR utility market, you must change the number of running processes and process the cursor to 500 and restart the Service of DB Oracle.

    change the system of setting process is 500 scope = spfile;.

    ALTER system set process_cursor = 500;

    and restart the db.

    Good luck for your learning! Enjoy learning Webcenter!

    Kind regards
    Hoque

  • How interrogate a user affected temp and tableapce default tablespace in oracle 11g?

    I have this SUNNY user on my DB. Now, I want to know how to query an affected user temp and tableapce default tablespace in oracle 11g?

    I tried Google, but no luck. can anyone help?

    Select the name of user, USER_USERS, temporary_tablespace from dba_users where username = "SUNNY";

    or

    Select the name of user, USER_USERS, temporary_tablespace from user_users where username = "SUNNY";

  • I ordered a student member, discount prepaid option yesterday and in the status of the order, it is said that they are waiting for the documentation. How do I provide this?

    I ordered a student member, discount prepaid option yesterday and in the status of the order, it is said that they are waiting for the documentation. How do I provide this?

    For more information about the provisions of the student/teacher, you can refer to the following information page:

    http://helpx.Adobe.com/x-productkb/policy-pricing/Education-FAQ.html#main_submit_poe

    Another good resource for information is the student and teacher edition information forum:

    http://forums.Adobe.com/community/download_install_setup/student_and_teacher_edition_infor mation_? view = discussions

    Here are some links about the Adobe student discount:
    http://www.Adobe.com/education/students.edu.html?showEduReq=Yes

    http://www.Adobe.com/education/student-eligibility-Guide.edu.html

    http://www.Adobe.com/education/students/how-to-buy-eligibility.edu.html

  • I am using oracle 11g express edition, how I can change the service name and the port number?

    I am using oracle 11g express edition, how I can change the service name and the port number?

    I am using oracle 11g express edition, how I can change the service name and the port number?

    What do you mean by "port number"? HTTP port (usually 8080), or listening port (normally 1521)?

    To change the name of the service, you can use (as a DBA or SYSDBA)

    SQL > alter system set service_name = '';

  • Oracle 11g with problem of pdf cocoon.war and glassfish?

    Hi all
    I m install oracle 11g express on CentOS OS, oracle apex earphone 1.1.2.131.15 5.6
    GlassFish v2 and cocoon 2.1.11 and connect to oracle apex glasfish works very well

    Problem start when I had cocoon xml build and deploy cocoon.war on glassfish,
    addition of fop_post on cocoon/fop_post (as described on http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html) but the pdf don't work!

    (I've been putting all the steps on the machine of 11.2 to 32-bit suse and ubuntu 8.04 - 32 bytes and pdf open work well)
    Y at - he no idea what happen whith this pdf error?
    Is the problem with 64 bytes some specific parameters, with java jdk, Cocoon, glassfish, or something on apex of oracle 11g?

    Gordan

    Published by: useruseruser on June 20, 2011 21:49

    Hi Gordon,.

    Once again, great to hear that!
    Could you rent close this thread and mark any post useful or correct if your question is answered?

    Thank you

    Udo

  • Problem with Oracle 9i and Oracle 11g

    Hello
    I have 2 Installation of Oracle: Oracle 9i client and Server Oracle 11.2
    Oracle 9i to: C:\oraclient9\
    Oracle 11g: C:\app\a.l\product\11.2.0\

    I have an application that has to connect to Oracle via ODBC, but whenever I try to connect looking for odbc Oracle 9i and I get this error:
    ORA-12541: TNS no listener

    If I try to boot with sqlplus to: start-> run-> sqlplusw get Oracle 9i version

    If I'm running sqlplus from start-> program-> Oracle 11-> I can connect properly.

    If I try to create a new ODBC it always plug the Oracle version 9i.

    I tried:
    Set ORACLE_HOME=C:\app\a.l\product\11.2.0\dbhome_1
    Set ORACLE_SID = ORCL

    but when I try: sqlplus / as sysdba I get this error:
    14 error initializing SQL * more
    SP1 file < lang > .msb not found message
    SP2-0750: you may need to set ORACLE_HOME in your Oracle software directory

    If I try to boot with sqlplus to: start-> run-> sqlplusw get Oracle 9i version with the error:
    ORA-12541: TNS no listener

    Variables environment variables in the path are:
    C:\oraclient9\bin; C:\Program Files\Oracle\jre\1.3.1\bin; C:\Program Files\Oracle\jre\1.1.8\bin; C:\app\a.l\product\11.2.0\dbhome_1\BIN; C:\app\a.l\product\11.2.0\dbhome_1\bin;%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\WindowsPowerShell\v1.0\; C:\Program Files\Sybase\SQL Anywhere 9\win32. C:\Program Files\Sybase\Shared\win32; C:\Program Files\Sybase\SQL Anywhere 9\drivers; C:\Program Files\Sybase\Shared\Sybase 4.2 Central; c:\Program Files\Microsoft SQL Server\90\Tools\binn\; C:\Progra~1\XRay



    tnsnames 11g:
    # tnsnames.ora Network Configuration File: C:\app\a.l\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    
    
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        )
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
        )
      )
    
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.domopenplan.local)
        )
      )
    tnsnames 9i:
    # TNSNAMES.ORA Network Configuration File: C:\oraclient9\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    
    ORCL.DOMOPENPLAN.LOCAL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = orcl.domopenplan.local)
        )
      )
    11g listener.ora:
    # listener.ora Network Configuration File: C:\app\a.l\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\a.l\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\a.l\product\11.2.0\dbhome_1\bin\oraclr11.dll")
        )
        (SID_DESC =
          (GLOBAL_DBNAME = orcl.domopenplan.local)
          (SID_NAME = orcl.domopenplan.local)
          (ORACLE_HOME = C:\app\a.l\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\a.l\product\11.2.0\dbhome_1\bin\oraclr11.dll")
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.103)(PORT = 1521))
        )
      )
    
    ADR_BASE_LISTENER = C:\app\a.l
    Do you have any idea how I can create a new ODBC to connect to Oracle 11g?

    Thanks in advance!

    opening for the system control window Server DB & question OS command sequence

    lsnrctl status
    set
    lsnrctl service

    COPY orders & results then PASTE all come back here

  • Oracle 11g and Linux woes

    I'm trying to install and run the client Oracle 11 g for Linux on Ubuntu 10.04

    Now, I made these:

    sudo bash
    Groupadd oinstall
    Groupadd dba
    useradd oracle
    usermod-g oinstall-G - dba oracle
    passwd oracle
    mkdir OU1/Pei/app
    chown-r oracle.oinstall /uo1
    chmod-r 775 /uo1
    apt - get install do binutils gcc elfutils unixodbc pdksh sysstat
    mkdir/home/oracle
    chown-r oracle.oinstall/home/oracle
    xhost local: VMLINUX files
    Su - oracle
    DISPLAY =: 0.0; Export DISPLAY
    xclock # to check if the display works.
    *. / runInstaller *.

    I get the checklist of items that must be corrected, deleted, so I simply ignore and completion of the installation. But when I run a command in the installed folder, such as log/no sqlplus , sqlplus will not start.

    Why is this?


    Also, which version of Linux is supported by Oracle 11g?


    Thank you.

    ztech123 wrote:
    Guys,

    This is the error message:

    root@VBLinux: OU1 / / app/oracle/oraInventory # sqlplus
    sqlplus: command not found

    There is no updated database in place for the moment.

    Have you read and listen to the installation guide?

    Of course, as you know, Ubuntu is not a supported platform.

    That said, the error you report the OS shell informing you that there is no executable file called "sqlplus" is located in one of the directories listed in your PATH.

    Side comments:
    You should not install oracle as root.
    You should not run any utility oracle as root.
    You should not use root for any task at all who does not absolutely require it.

  • AS10GR2 Oracle Fusion, Oracle 11g-&gt; Upgrade Options

    Dear Guru

    Ask your expertise to help me with this. We have an existing installation on Windows 2003 with components... below and company wish to upgrade to Fusion 11g Oracle. I have been through the Documentation Oracle 11 g & a couple other sites for this

    http://download.Oracle.com/docs/CD/E12839_01/install.htm

    Yet little is not clear on the side of the Infrastructure.

    1. What is Web Oracle level-> it's the same as Infrastructure Oracle 10 g 2?
    2. what I need to do if I want to setup the following components listed in the Oracle Infrastructure?


    Here is the configuration that is currently running from now *.
    Oracle infrastructure such as identify 10 gr 2 management and repository of metadata (10.1.2.0.2)
    Oracle Internet Directory
    Oracle AS Single Sing-On
    Delegated under Oracle Administration application server
    Oracle high availability and replication (configured with Oracle Fail Safe)


    ********
    Forms and Business Intelligence
    Oracle Application Server 10g discoverer
    The reports of Oracle Application Server 10 g services
    Oracle Application Server 10g Forms Services


    ****************************

    I connected a case with My Oracle Support just before... the same thing... and thought of doing the same thing here.

    Thanks in advance
    Ravi

    Ravi,

    WebTier is a House with Cache Web Oracle and Oracle HTTP Server installed. It can act as a frontend for example WLS.

    With Fusion Middleware 11g, SSO does not make the product more. If you are using SSO in your current installation, you can move your existing 10.1.4.3 SSO and use it with a 11 g, portal, reports, forms, and discoverer of House.

    You should be able to follow the instructions in the next upgrade guide:

    Oracle® Fusion Middleware Upgrade Guide for Oracle Portal, forms, reports, and discoverer
    11g Release 1 (11.1.1)
    E10130-02 part number

    (http://download.oracle.com/docs/cd/E15523_01/upgrade.1111/e10130/toc.htm)

    Thank you
    EJ

  • Oracle 11g compatibility with oracle 10g and 9i?


    Hi all



    I have a few questions about the compatibility of 11g.



    Client Oracle 11g is compatible with oracle 10g client that is already installed on the desktop computer?


    If any changes to do so and where?



    Is oracle 11g oracle 10 g/9i on the same server where are installed the 10 g/9i compatible?


    Concerning

    If the question you ask yourself is 'Can I have multiple versions of the Oracle installed on the same client computer' or "Can I have several versions of the database Oracle installed on the same machine", the answer is Yes. As long as you install each version in another House of Oracle, and we are talking about versions 8.1.5 and upward, you can have as many different versions of the client and the database on the same machine as you wish. Of course, you are still subject to the support of operating system compatibility (e.g. Oracle 9.2 did not had been supported on Windows 2008, so do not expect to work).

    The only problem you may have would be with components that are not compatible with several House. This mainly affects third-party Windows drivers (drivers third party ODBC, etc.) who do not know how to work with multiple Oracle homes and end up using which version of the client Oracle happens to appear first in the path.

    Justin

  • Installation guide for BPM SOA Suite and Oracle 11g

    Does anyone know of a good installation guide for a new installation of the following SOA and BPM of Oracle 11 g (Windows 64 bit)?

    I'm looking to the 'Setup Guide quick for Oracle SOA Suite and Oracle Business Process Management Suite 11 g Release 1"(http://download.oracle.com/docs/cd/E14571_01/install.1111/e14318.pdf), but it is a bit dated (April 2010) and I see that is missing a few steps.

    Thank you

    Take a look at the for Oracle SOA Suite 11 g 1 material (http://www.oracle.com/technetwork/middleware/soasuite/overview/quickstartguidesoasuite11gr1ps3-313245.pdf) Quick Start Guide.

    The steps that do not appear in the document you mentioned are included in this document. It takes you through the necessary extra step for the installation of Oracle BPM. Although for 11.1.1.4, it works very well for implementing 11.1.15 in a DEV environment.

    Dan

  • How to create .env and contextfile in oracle new home

    HII.

    I have improved my 11.5.10.2 to 12.1.1 apps and when you apply the u6678700.drv hotfix, there was a mistake because I did not install 11g examples CD, so I installed the new 11g oracle_home in the same server and then the patch run correctly.

    Now, I want to create file .env and context in the new House 11g. How can I create

    Can I copy the folder of files and previous oracle 11g House .env appsutil and paste it into the new home of the oracle and run the automatic configuration, it'll work or y at - it another way to create the context files and approx.?


    Please suggest your opinions so that I can continue my work.

    Waiting for your answers,


    Thanks in advance.

    Salvation;

    Please follow:
    Using automatic configuration to manage system Configurations in Oracle E-Business Suite Release 12 [387859.1 ID]

    Section 3: Patch 3.2 AutoConfig. Enabling AutoConfig on a new Oracle home

    That execution autoconfig, it will create EPS file

    Respect of
    HELIOS

  • How to create the new database in oracle 11g

    Hello
    I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
    Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.

    Thank you
    Manna

    870692 wrote:
    Hello
    I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
    Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.

    Thank you
    Manna

    Be sure to distinguish between the terms and the database schema. Other products, make them bad. It would be a HR diagram (or a user, which is the same in Oracle). If you do not need to use the database Wizard, unless you are working with a new host with no database.

    A simple way would be to get the DDL to create the HR schema and modify it for your own. It can be extracted from your database in several ways, or you can copy the hr_cre.sql to your own script and change. The two ways are educational, and you can google for instructions.

  • Oracle 11g Express Edition is available?

    Hi all

    Could you please tell me if Oracle 11g express Edition is available whether or not?

    Thanks and greetings

    There is no official communication about the 11G release date express edition.

    You will have to wait and watch the official Oracle site for this.

    Also check this:

    http://News.techworld.com/applications/3203909/Oracle-stalls-over-11g-express-release/

    http://PCWorld.about.com/od/businesscenter/Oracle-mum-on-11g-release-2-1.htm

    Concerning
    Rajesh

Maybe you are looking for