Confusion on nologging clause - for create table

hi guys,
just 1 simple question.
q1) when i create a table via no logging, is the CREATION of the table not logged as well ?
Regards,
Noob

OracleWannabe wrote:
q1) when i create a table via no logging, is the CREATION of the table not logged as well ?If the table is created empty (as in not using a create table as select or CTAS) then there is no difference in the create step. The difference between LOGGING and NOLOGGING takes place for direct path operations.
The Oracle Docs give a very good explanation:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28313/usingpe.htm#i1009116
Regards,
Greg Rahn
http://structureddata.org

Similar Messages

  • ORA-47401: Realm violation for create table on SYS.REGISTRY$HISTORY

    Hi i have 10.2.0.4 db with db vault on RHEL4. I am applying jan2010 patch on it. After applying patch when i am trying to recompile views i am facing the below error.(I am executing this after starting up database in upgrade mode)
    SQL> @$ORACLE_HOME/cpu/view_recompile/view_recompile_jan2008cpu.sql
    BEGIN
    ERROR at line 1:
    ORA-47401: Realm violation for create table on SYS.REGISTRY$HISTORY
    ORA-06512: at line 16
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, Oracle Label Security, OLAP, Data Mining,
    Oracle Database Vault and Real Application Testing options
    [oracle@rac1 view_recompile]$
    Plese help me on this.
    Regards,
    snp

    Perhaps you are tripping over Bug 6928496. I suspect best bet is to open a SR with Oracle rather than hope for similar occurance within the user community.

  • Reg : class for creating table control

    hi everyone,
                 is there any class for creating table control?my requirement is
                  created 2 custom containers,one for alv display and other for table control display.
    For alv i used cl_gui_alv->set_table_first_display,likewise any class for creaitng table control?????????
    pleas find me a solution......
                      thanks in advance......

    Hi,
    You can use the class CL_TABLECONTROL for creating table control and the method SET_VALUES shall be used to fill values for tha tabcntrl.
    Else, you can use the Table Control Wizard to create the tabcntrl easily.
    Regards,
    Renjith Michael.

  • Is it a third party API for creating table in J2ME?

    I am a newbie to J2ME and i would like to know that whther is there any third party API for creating table in J2ME beside using Canvas to draw the table? Please help...

    its not the "L shape" that holds it better rather the higher GAUSS rating on the older connector.
    Apple redesigned the NEW magsafe to be weaker AND of a diff. design with lower neodymium magnetic gauss rating for a reason
    people at coffee shops etc were getting their macbooks yanked to the ground when someone tripped over the cord.
    The new neodymium is a N35 gauss and the older Lshape was N40 or N45 gauss (too tight)
    I know what youre talking about, but Apple redesigned it that way for several good reasons, despite it "coming out easier" on the bed for which ,
    as Apple Inc. states, it is "not intended to be used" (nor in laps, couches...etc.)

  • Stored procedure for creating tables

    Is it possible to create a stored procedure which only contains create tables? I prepare everything on an environment and want to transfer everything, except the data, on anothe environment. Therfore I thought of an stored procedure which does everything automatically. Additional I want to create a package which contains all necessary stored procedures (which are already finished). Is it better to insert the create-table-lines in the package?
    Thanks for your help!

    PL/SQL is not the appropriate tool for this.
    What does Oracle RDBMS products like Apex use to install? SQL*Plus scripts. A combination of SQL code and anonymous PL/SQL blocks.
    This is also what we use to install any one of a dozen Oracle systems we have developed.. it is as simple as running 'sqlplus "/ as sysdba" @installer <tablespace> <schema> <password>'.
    Trying to do this type of thing in PL/SQL... lots of disadvantages, lots of complexities, and very little (if any) benefit.

  • V3.0, NLS_LENGTH_SEMANTICS byte vs. char for CREATE TABLE

    Hi,
    When creating a new table (via "New Table" or "Data Load ...")
    NLS_LENGTH_SEMANTICS of table columns are always in byte even when NLS_LENGTH_SEMANTICS
    is set to char for the instance (and so as default for all sessions) and has not explicitly changes for the current session.
    Is there a way to change this behavior or could this be a gebnerell problem in 3.0.
    I would like SQL Developer to use the standard settings of the instance as long as I don't set it different for a session.
    Please give me a littel hint how to solve this issue.
    Thanks in advance.
    Andre
    --2011/07/15-------------------------------------------------------------------------------------------
    Hello,
    I'm not sure wether or not this is a too complicated or just as silly question.
    However it's still an issue for me.
    It would be great if someone could at least confirm or refuse it.
    Hoping for an answer- Thank you again!
    Andre
    Edited by: andreml on Jul 15, 2011 2:10 AM
    Edited by: andreml on Jul 15, 2011 2:11 AM

    Hi,
    If you click on any given table in the Connections view, an object viewer opens for that table. Its column tab lists all columns with attributes for column_name, data_type, and so on. The data_type info includes the length semantics, e.g., VARCHAR2(30 BYTE).
    Regards,
    Gary Graham
    SQL Developer Team

  • Is it planned to add feature for creating tables and lists in Adobe Edge Reflow?

    First of all, thank you very much guys for all your work!
    In my opinion Adobe Edge Reflow is missing quite important features, like creating tables and lists. For me it's a reason why I can't switch to Reflow. Any plans for implementing these? Is there any place where I can see the list of planned feature implementation? Didn't find it.

    Missing tables is a big one for me too, especially when doing data-grids. My last prototype was using multiple responsive data-grids where I used the simpler essential/optional hide column approach, instead of stacking or scrolling the data. I had used Reflow in the past for basic content prototypes... but had to do this one by hand... took longer. Using divs for this did not collapse properly in all the browsers, plus the back-end team use widgets that only generate tables. Here is the example:
    http://www.topwebworks.com/assets/test/prototype/riocompass_prototype_v1

  • Minimum privileges for creating table

    I wanted to know of the minimum set of privileges for creating a table in Oracle 11g database. First I created a schema and granted the create table privilege to the schema. When I tried to create a table in the schema, it was giving a message of like privileges required on the tablespace. Granting the resource privilege grants the unlimited quota on all the tablespaces including SYSTEM and SYSAUX tablespace which may not be an ideal scenario. So, my query is that what are the minimum set of privileges for creating a table in Oracle 11g database.
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    Hi,
    If you are going to use the read only :
    SQL> create user anar identified by anar;
    User created.
    SQL> grant create session, select any table, select any dictionary to anar;
    Grant succeeded.
    SQL> conn anar/anar
    Connected.
    SQL> create table test(id number);
    create table test(id number)
    ERROR at line 1:
    ORA-01031: insufficient privileges
    SQL> desc test.test
    Name                                      Null?    Type
    ID                                                 NUMBER
    SQL> insert into test.test values (1);
    insert into test.test values (1)
    ERROR at line 1:
    ORA-01031: insufficient privileges
    SQL> update test.test set id = 15;
    update test.t set id = 15
    ERROR at line 1:
    ORA-01031: insufficient privileges
    Thank you

  • Funktion for "Create Table" Statement

    Dear all,
    I am looking for a function to create a "create table"-SQL statement from an existing SAP Dictionary table. Does anybod y know a abap function to do this. With the SQL Statement I want to create the table in an external Database.
    Kind Regards
    Roman Becker

    Hi please enter db_create* in se37 and pick the desired function needed.
    here are few Function modules for u.
    DB_CREATE_TABLE
    DB_CREATE_TABLE_AS_SELECT
    DB_CREATE_TABLE_AS_SELECT_S
    DB_CREATE_TABLE_S              As DB_CREATE_TABLE, also returns the generated statements
    Satish

  • This program for create table

    hai,
    this is v.chandra sekhar reddy,i do create table program, it is compailing successfully but when the running of program i have got below error message.please considered my problem.
    Exception in thread "main" java.sql.SQLException: ORA-00907: missing right parenthesis
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1169)
    at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1615)
    at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1580)

    Exception in thread "main" java.sql.SQLException:
    ORA-00907: missing right parenthesis
    I 'consider' that you have an error in your SQL in that you have a missing right parenthesis BUT since I can't see your SQL I am only guessing.

  • SQLPLUS define  variables for creating table.

    I am doing the following in SQLPLUS
    define l_date = to_char(sysdate,'yyyy')
    define l_name = "'mytable'"
    define l_tn = &l_name||&l_date
    SQL> select &l_name||&l_date from dual;
    old 1: select &l_name||&l_date from dual
    new 1: select 'mytable'||to_char(sysdate,'yyyy') from dual
    'MYTABLE'||
    mytable2010
    But when I use in this way I don't get YEAR.
    SQL> select '&l_tn' from dual;
    old 1: select '&l_tn' from dual
    new 1: select 'mytable' from dual
    'MYTABL
    mytable
    I want to create table in sqlplus using the following command:
    create table &l_tn(x number)
    Please let me know what I am doing wrong here.

    Hi,
    SQL functions (like TO_CHAR) and operators (like ||) are not executed in SQL*Plus commands (like DEFINE).
    Test your variables after defining them; you'll see what I mean
    define l_date = to_char(sysdate,'yyyy')
    PROMPT     &l_date = l_dateOutput:
    to_char(sysdate,'yyyy') = l_dateThat is, l_date is being set to a 23-character string, which starts with 't' and contains '(', ',' and ')', all of which are illegal in file names (probably; system-dependent).
    I think you wanted it set to a 4-character string, such as '2010'.
    Use the COLUMN ... NEW_VALUE (or ... OLD_VALUE) command to set a substitution variable to the results of a SQL calculation.
    I think you're trying to do something like this:
    COLUMN     year_col     NEW_VALUE     l_date
    SELECT     TO_CHAR (SYSDATE, 'YYYY')     AS year_col
    FROM     dual;
    define l_name = mytable
    CREATE TABLE  &l_name&l_date
    ...

  • Free software for creating tables/report templates?

    Hi, I need to create some tables, reports and timetable templates for school but don't have any software currently that can cope with this. I'd be very grateful if someone could suggest a free software program that can let me easily draw straight lines and add text etc. Thanks very much for any advice.
    For info:
    I have a MacBook running 10.5.8

    Look at Sandvox

  • Creating sequences for all tables in the database at a time

    Hi ,
    I need to create sequences for all the tables in my database.
    i can create individually ,using toad and sqlplus.
    Can any one give me a code for creating the sequences dynamically at a time for all the tables.
    it is urgent ..
    Regards.

    I need to create sequences for majority of the tables that are having ID column
    which is sequences."The majority" is not the same as all. So you probably want to drive your generation script off the ALL_TAB_COLUMNS view...
    where column_name = 'ID'You need to think about this carefully. You might want different CACHE sizes or different INCREMENT BY clauses for certain tables. You might even (whisper it) want a sequence to be shared by more than one table.
    Code generation is a useful technique, but it is a rare application where one case fits all.
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • NOLOGGING CLAUSE

    Hi,
    I would like to know that if we have our database in FORCE LOGGING mode with standby databases,could cause some kind of conflicts if we create then objects with the NOLOGGING clause?? , something like corrupt the standby databases??
    The objects that we would like to create with NOLOGGING clause are temporary tables for example, which ones, we don't need a log for they. And it seems it could help to the performance if we set it in NOLOGGING those objects.
    But we are not sure if this clause will be ignored or if it could cause confusion??
    Thanks in advance,

    >
    CREATE TABLE TABLE_NAME (column_name varchar(2)...) NOLOGGING
    Now, using this, the table will be populated, it will be used and then the information will be deleted.
    It doesn't matter if the information is not logged and recovered in a recovery database, due to that for us is like a temporary table.
    So, the question is: There will be some impact in the database or in the db recovery if we use the object above using NOLOGGING clause??
    >
    As the table that you are creating is a permanent table, and the database is in logging mode, as written by you in your very first post , the redo will be generated.As the database is in FORCE LOGGING mode, the information will be logged into the redo.So, this information will also be archived and applied to the DR.The NOLOGGING clause won't be having any effect.
    Secondly, if the table is going to be populated and then the whole table is going to be deleted then why not use TEMPORARY TABLE.
    Refer to [http://download.oracle.com/docs/cd/B14117_01/server.101/b10739/tables.htm#sthref1862]
    Anand

Maybe you are looking for