Running phase: Alter Tables Volatile

hi experts,
i am using sap ecc6 ehp4 ready db2 9.1 fp9 on hp-ux 11.31
i am installtion sap on cluster we have 2 node.
in node1 i installed the ASCS sucsessfully now i m installtion database instance everything goes file but at the 34 phase
Running phase: Alter Tables Volatile. its taking time its runing from 4 Hr, its my first time
is it genral or there is some problem
kindly suggest
thanks
sadiq

Hi Experts
any one has suggetion please guide?
thanks
Hi experts
Running phase: Alter Tables Volatile is solved now i stuck in the
Running phase: Create Temporary License ..its running from last 10 Hrs.
Kindly suggest.
thanks
Edited by: sadiq iqbal on May 24, 2011 11:24 AM

Similar Messages

  • Performance for ALTER TABLE statements

    Hi,
    I'd like to improve performance for scripts running several ALTER TABLE statements. I have two questions regarding this.
    This is the original code:
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_TO_INVOICE NUMBER NULL );
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_INVOICED NUMBER NULL );
    1. Would I gain any performance by making the following changes?
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_TO_INVOICE NUMBER NULL,
    QTY_INVOICED NUMBER NULL );
    These columns are later on filled with values and then made NOT NULL.
    2. Would I gain anything by make these columns NOT NULL with a DEFAULT value in the first statement and then later on insert the values?
    /Roland Bali
    null

    1. It wud definitely increase the performance.
    2. You can only have NOT NULL columns added to an existing table if the table is empty.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Roland Bali ([email protected]):
    Hi,
    I'd like to improve performance for scripts running several ALTER TABLE statements. I have two questions regarding this.
    This is the original code:
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_TO_INVOICE NUMBER NULL );
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_INVOICED NUMBER NULL );
    1. Would I gain any performance by making the following changes?
    ALTER TABLE CUSTOMER_ORDER_DELIVERY_TAB ADD (
    QTY_TO_INVOICE NUMBER NULL,
    QTY_INVOICED NUMBER NULL );
    These columns are later on filled with values and then made NOT NULL.
    2. Would I gain anything by make these columns NOT NULL with a DEFAULT value in the first statement and then later on insert the values?
    /Roland Bali<HR></BLOCKQUOTE>
    Naveen

  • SAP HANA - How to run alter table statement in HANA procedure?

    I am trying to run alter table statement in a procedure. HANA gives error saying
    SAP DBTech JDBC: [257] (at 1338): sql syntax error: ALTER TABLE is not allowed in SQLScript: line 36 col 8 (at pos 1338)
    How to run alter table statements in procedure?
    Thanks,
    Suren.

    Hi Rich Heilman,
    Thanks for your response.  I have tried with dynamic SQL. I am trying to add partitions to a non portioned table.
    EXECUTE IMMEDIATE 'ALTER TABLE ' || :SCHEMA_NAME || '.TARGET_TABLE PARTITION BY RANGE (TARGET_TYPE_ID) (PARTITION VALUE = 1, PARTITION VALUE = 2, PARTITION VALUE = 3, PARTITION VALUE = 4, PARTITION OTHERS)';
    Execution fails with error
    Could not execute 'CALL PARTITION_TARGET_TABLE('SUREN_TEST')' in 1.160 seconds .
    [129]: transaction rolled back by an internal error:  [129] "SUREN_TEST"."PARTITION_TARGET_TABLE": line 53 col 3 (at pos 2173): [129] (range 3)
    Any reasons for this error?
    Thanks,
    Suren.

  • What privs r required to run Alter table truncate partition update indexes?

    I rebuilt the indexes on the table. Know my problem is that when I truncate a partition on the table the unique index whic consist of the primary key fields becomes unusable which causes my to have to rebuild it after each truncate. I tried to runm the following statement from the master schema on but get
    an insufficient privs error when I use "update indexes":
    Alter table schema_name.table_name truncate partition partition_name storage update indexes;
    What priv does master need to perform statement successfully when there's data in it?
    Does using 'update indexes' needs extra priveleges?
    Thanks in Advance
    Gagan

    Hi Its Oracle 10.2.0.4 64 Bit on HP UX.
    I dont have the exact error as I got this much information only from the end user....It will be couple of hours more then he will be available again
    ok so for Truncate we need 'Drop any' privs but to use clause 'update indexes' alongwith do we need some extra privelege?
    Thanks again
    Gagan

  • Alter table query taking more time

    Hi,
    My table T1 contains lots of data and when I am trying to run the below query its taking around 1 hour to update and some times its hanging.
    "ALTER TABLE T1 ADD COLUMN C1 INTEGER DEFAULT 1 NOT NULL;"
    How we can resolve this? Any help
    Thanks,
    Sankar

    My table T1 contains lots of data and when I am
    trying to run the below query its taking around 1
    hour to updateYes, it's normal, if it's a big table.Oracle has to update every record in your table.
    and some times its hanging.How Do you know that it hangs?

  • (oracle 8i)Alter Table table coalesce partition

    Hi all,
    Need assistance in solving a problem. I have a possibly large fragemented table. I tried to run a coalese command ALTER TABLE EMPTY_COPY COALESCE PARTITION
    got an error: 'ora -14501 - object is not partitioned'
    NOt sure how to proceed, I am working in oracle 8i environment.
    Should I do :
    ALTER TABLESPACE MY_DATA COALESCE
    ALTER INDEX EMPTY_COPY_PK COALESCE
    ALTER INDEX EMPTY_COPY_PK REBUILD
    ALTER TABLE MY_DATA.EMPTY_COPY MOVE TABLESPACE NEW_DATA
    Not sure if the syntax is correct or which to use, are there any redundancies in the commands above.
    Thanks kindly for any input you may provide.

    thanks.
    My real problem is an ora 1653 'UNABLE TO EXTEND TABLE' error where I could not insert into a table. The PCT_INCREASE was at 25 and the next_extext was at 160mb. Way too large. There still looks to be l plenty of space available for an another extent but it is not being allocated.
    Would this apply?

  • Generate DDL - change is a new column and I want to generate a alter table

    Morning all,
    I have searched and looked all over the data modeler and I cannot find this option ... yet I did find it easily in Designer.
    I hope you can help me.
    SQL Developer Data Modeler v3.0.0.665.
    I have added a new column to a table and when I generate the DDL I would like it to be an alter table add column rather than a create table.
    This feature is in Designer so I would think it would be in data modeler.
    Just incase my description is not clear here are the high level steps so it is clear.
    1. create the logical model
    2. create the relational from the logical.
    3. create the physical from the relational.
    4. generate DDL and run in database. At this point I go to production with my system and all is well.
    5. At this point we have an enhancement request. For the model it will be a new column in a table.
    6. update logical model.
    7. update relational from logical
    8. update physical from relational
    9. generate DDL. Here I would like to have the generate be aware the it needs only to generate an alter table add column and not create the table.
    This is something I do alot as all my models are in production. I cannot find how to do this step of getting data modeler to generate the alter.
    Designer does this exceptionally well.
    Quite often it is more than a single column. The changes can be many and made over time and at the time of generating the DDL you may not recall every single change you made. To have the tool discover those changes for you and generate the appropriate DDL is a feature I regard as very high.
    I hope this is clear and you can help me.
    Cheers
    Chris ....

    Hi Chris,
    you need to compare your model against database - import from database into same relational model and use "swap target" option - in this case "alter statements" against database will be generated.
    You can look at demonstrations here http://www.oracle.com/technetwork/developer-tools/datamodeler/demonstrations-224554.html
    Probably this particular one will be most helpful http://download.oracle.com/otn_hosted_doc/sqldev/importddl/importddl.html
    Soon or later your changes will require table to be recreated and you'll need to backup your data - you can consider usage of "Advanced DDL" option - script will be generated that will unload the content of your table (including LOBs) to file system accessible from database and restore it after changes. Well don't try it directly on production system :).
    Philip

  • Is alter table shrink space a logged operation?

    Hello -
    I am running alter table xxxxxx shrink space. I have a few questions:
    1. Is this a logged operation? Oracle handles this interanally as insert/delete operations, but I am not seeing more arch logs being generated.
    2. If I stop in the middle of the shrink process, can Oracle resume where it left off?
    3. How can I monitor the progress of the shrink operation? I am not seeing the sid, serial# in v$session_longops.
    Any help is much appreciated!
    Thanks,
    mike

    I'm not sure that you will be able to "monitor" it.
    You could test using dbms_space to see if it shows any changes will the shrink is in progresss.
    One other way would be to watch V$TRANSACTION USED_UREC (which will reflect counts for rows and index entries) to see USED_UREC approaching the expected number of table+index entries being rebuilt.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Error 00904 trying to alter table ... ?!

    I'm running a script to create a table, the primary key of that table will then be used in an Alter Table command to make it a foreign key in an already exisiting table. Code:
    CREATE TABLE Category
    CATCODE VARCHAR2(3),
    CatDesc VARCHAR2(11) NOT NULL,
    CONSTRAINT Category_CATCODE_pk PRIMARY KEY(CATCODE)
    INSERT INTO Category(CATCODE, CatDesc) VALUES('BUS','Business');
    INSERT INTO Category(CATCODE, CatDesc) VALUES('CHN','Children');
    INSERT INTO Category(CATCODE, CatDesc) VALUES('COK','Cooking');
    INSERT INTO Category(CATCODE, CatDesc) VALUES('COM','Computer');
    INSERT INTO Category(CATCODE, CatDesc) VALUES('FAL','Family Life');
    INSERT INTO Category(CATCODE, CatDesc) VALUES('FIT','Fitness');
    INSERT INTO Category(CATCODE, CatDesc) VALUES('SEH','Self Help');
    INSERT INTO Category(CATCODE, CatDesc) VALUES('LIT','Literature');
    ALTER TABLE books ADD CONSTRAINT books_Category_fk FOREIGN KEY (CATCODE) REFERENCES Category(CATCODE);
    And the error:
    Error starting at line 20 in command:
    ALTER TABLE books ADD CONSTRAINT books_Category_fk FOREIGN KEY (CATCODE) REFERENCES Category(CATCODE)
    Error report:
    SQL Error: ORA-00904: "CATCODE": invalid identifier
    00904. 00000 - "%s: invalid identifier"
    *Cause:
    *Action:
    I have no idea what is wrong with my code. I successfully make my table and insert the data, why is it telling me CatCode is an invalid identifier?...
    ( I originally posted it in the wrong section whoops )

    Zombnom wrote:
    There isn't, I'm trying to ADD a column with CatCode being a foreign key in the books table.Well there's your problem. Column and foreign key are two seperate things. You can combine the two operations though:
    ALTER TABLE books ADD catcode CONSTRAINT books_category_fk REFERENCES category(catcode);

  • High wait on Library Cache Lock while doing ALTER TABLE EXCHANGE PARTITION

    We are observing a very high wait time on "Library cache lock" while performing Exchange partition.
    Here we go
    ALTER TABLE PSALESREG EXCHANGE PARTITION P123
    WITH TABLE PBKPSALESREF WITHOUT VALIDATION
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.11 *6684.73* 2 9 2 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.11 6684.73 2 9 2 0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    library cache lock 2274 3.12 *6681.32*
    Is it a bug? is anyone there who experienced the same issue?
    Rgds

    Maurice Muller wrote:
    Hi,
    As far as I remember a exchange partition can only be done when no other query is accessing the table.
    So you should check if any other queries are executed against the table PSALESREG while you do the exchange partition. Maurice,
    queries won't block the exchange operation but continue to read from the "original", exchanged segment; this "cross-DDL" read consistency is a feature that has been introduced a long time ago.
    But any kind of (long-running) DML should effectively prevent the exchange operation. Still I would assume that this shouldn't show up as "library cache lock", but you would get an "ORA-00054: resource busy" error.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Question about Alter table syntax

    Hi all,
    I have an issue I need help with. I have created a script for an automated partition create on a monthly basis. It creates a monthly partition containing all dates within the respective month. The script is essentially this:
    ALTER TABLE SCHEMA.TABLE
    ADD PARTITION &&1
    VALUES LESS THAN (to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
    TABLESPACE LARGE_DATA94 COMPRESS;
    I continually get this error message "ORA-14019: partition bound element must be one of: string, datetime or interval literal, number, or MAXVALUE"
    The variable &&2 is passing in character data for the first of the month (E.G. '01-SEP-12'). &&1 passes character data for the month in MONYY ('AUG12') I can run this query:
    select
    (to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
    from dual;
    With the output of 20120901. I cannot understand why I am able to run this partition create statement by hardcoding 20120901 but passing it in as a variable I receive the error. Note that I am not having problems with the &&1 variable. If anyone has any ideas please let me know. Thanks!
    Edited by: 962466 on Oct 1, 2012 8:42 AM
    Grammar

    962466 wrote:
    Hi all,
    I have an issue I need help with. I have created a script for an automated partition create on a monthly basis. It creates a monthly partition containing all dates within the respective month. The script is essentially this:
    ALTER TABLE SCHEMA.TABLE
    ADD PARTITION &&1
    VALUES LESS THAN (to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
    TABLESPACE LARGE_DATA94 COMPRESS;
    I continually get this error message "ORA-14019: partition bound element must be one of: string, datetime or interval literal, number, or MAXVALUE"
    The variable &&2 is passing in character data for the first of the month (E.G. '01-SEP-12'). &&1 passes character data for the month in MONYY (AUG12) I can run this query:
    select
    (to_number(to_char(to_date('&&2', 'DD-MON-YY'), 'YYYYMMDD')))
    from dual;
    With the output of 20120801. I cannot understand why I am able to run this partition create statement by hardcoding 20120901 but passing it in as a variable I receive the error. Note that I am not having problems with the &&1 variable. If anyone has any ideas please let me know. Thanks!I don't understand why you are taking a string, converting it to a date, then converting the date BACK TO a string ... then trying to convert that string to a number.
    What is the data type of the partitioning key? It appears that it is a NUMBER, but actually represents a DATE. If so, that is a fundamentally flawed design.

  • Alter table returns ORA-00907

    Hi all,
    The following instruction, in an update script provided by a software editor, returns me a ORA-00907 error (missing right parenthesis) :
    alter table TABLE_NAME add C1 VARCHAR2(10 byte) ;
    I ran it on a 8i database.
    If I remove the "byte" between parenthesis, the scripts runs OK.
    What is the "byte" option for ?
    Is it only available from 9i version for example ?
    thanks for your help
    Antoine

    I think it is from 10g onwards only (not sure though).
    It means the size of the column is specified in bytes instead of characters. In 8i there is no difference, but in 10g you can/should use multibyte charsets like AL32UTF8.
    That simply means certain characters need more than one byte to store it (Euro-Sign for example). It would not be possible to add 10 Euro-Signs to your VARCHAR2(10 byte) column, but it would work with a VARCHAR2(10 char) column.
    This explanation is not very good, a better one can be found in the [url http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch6unicode.htm#CACHJHDJ]Oracle 10 Globalization Guide
    Just remove the "byte" from the script and you are doing fine.

  • Alter table FACT CLUSTER DIM PACK returns -5015 during heterog migrat

    Hi
    We are performing a heterogeneous migration from Oracle to MaxDB (NW70 SR1}.  The Database load is failing on the SAPDFACT fact tables.  It appears that the SQL engine is not aware of the enhancements delivered in the BW performance Pack (I'm assuming this from reading between the lines in the OSS notes - according to the online docs this alter table option doesn't exist..) .  We are running 7.6.xx
    We are performing this on a test system & this is our second attempt at migrating our Test BI system.  The first attempt was successful.  The SAP and MaxDB instances were deleted (SDBUNINST -all) and the system rebooted.  I have performed the 2nd sttempt several times with the same result each time.
    The load from R3load (R3LOAD_WL=1) is below:
    E:\usr\sap\BIT\SYS\exe\nuc\NTAMD64\R3load.exe: START OF LOG: 20080321211224
    E:\usr\sap\BIT\SYS\exe\nuc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    E:\usr\sap\BIT\SYS\exe\nuc\NTAMD64\R3load.exe: version R7.00/V1.4
    Compiled Apr  2 2006 22:45:33
    E:\usr\sap\BIT\SYS\exe\nuc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 1100 -k 17egf5M50TL01eqtd1Ax3A17 -l SAPDFACT.log -nolog -c 0
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\bitadm\Application Data
    CLIENTNAME=H1704688
    ClusterLog=C:\WINDOWS\Cluster\cluster.log
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    COMPUTERNAME=CMSAPDEV5
    ComSpec=C:\WINDOWS\system32\cmd.exe
    DBMS_TYPE=ada
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\bitadm
    JAVA_HOME=C:\java_32
    LOGONSERVER=
    CMDC13
    NUMBER_OF_PROCESSORS=2
    OS=Windows_NT
    Path=E:\usr\sap\BIT\SYS\exe\nuc\NTAMD64;e:\sapdb\programs\bin;e:\sapdb\programs\pgm;C:\Program Files (x86)\Legato\nsr\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;e:\sapdb\programs\bin;e:\sapdb\programs\pgm;C:\Program Files (x86)\Legato\nsr\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;E:\usr\sap\BIT\SYS\exe\nuc\NTAMD64
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=EM64T Family 15 Model 6 Stepping 8, GenuineIntel
    PROCESSOR_LEVEL=15
    PROCESSOR_REVISION=0608
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    R3LOAD_WL=1
    SAPEXE=E:\usr\sap\BIT\SYS\exe\nuc\NTAMD64
    SAPINST_EXEDIR_CD=I:/MAXDB/IM_WINDOWS_X86_64
    SAPLOCALHOST=CMSAPDEV5
    SAPSYSTEMNAME=BIT
    SECUDIR=E:\usr\sap\BIT\DVEBMGS00\sec
    SESSIONNAME=RDP-Tcp#1
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\WINDOWS\TEMP
    TMP=C:\WINDOWS\TEMP
    USERDNSDOMAIN=CSENERGY.COM.AU
    USERDOMAIN=CSENERGY
    USERNAME=bitadm
    USERPROFILE=C:\Documents and Settings\bitadm
    windir=C:\WINDOWS
    (BUF) INFO: trying to allocate 1024 kB memory
    (DB) INFO: connected to DB
    (DB) INFO: The MaxDB logwriter is switched off#20080321211232
    (TFH) INFO: Trying to open SAPDFACT.cmd
    (TFH) INFO: SAPDFACT.cmd opened
    (BUF) INFO: trying to allocate 1024 kB memory
    (TFH) INFO: Trying to open
    cmsapdev2\export_bit\ABAP\DATA\SAPDFACT.TOC
    (TFH) INFO:
    cmsapdev2\export_bit\ABAP\DATA\SAPDFACT.TOC opened
    (TFH) INFO: Trying to close
    cmsapdev2\export_bit\ABAP\DATA\SAPDFACT.TOC
    (TFH) INFO:
    cmsapdev2\export_bit\ABAP\DATA\SAPDFACT.TOC closed
    (BUF) INFO: trying to allocate 1 kB memory
    (RFF) INFO: loading table [HEADER]
    (TFH) INFO: Trying to open
    cmsapdev2\export_bit\ABAP\DATA\SAPDFACT.001
    (TFH) INFO:
    cmsapdev2\export_bit\ABAP\DATA\SAPDFACT.001 opened
    (RFF) INFO: entering fread
    (RFF) INFO: leaving fread
    (RFF) INFO: end of data for table [HEADER]
    (GSI) INFO: dbname   = "BIT                                                                                "
    (GSI) INFO: vname    = "ADABAS D                        "
    (GSI) INFO: hostname = "CMSAPDEV5                                                       "
    (GSI) INFO: sysname  = "Windows NT"
    (GSI) INFO: nodename = "CMSAPDEV5"
    (GSI) INFO: release  = "5.2"
    (GSI) INFO: version  = "3790 Service Pack 2"
    (GSI) INFO: machine  = "2x AMD64 Level 15 (Mod 6 Step 8)"
    (TFH) INFO: Trying to open C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\DDLADA.TPL
    (TFH) INFO: C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\DDLADA.TPL opened
    (TSK) INFO: Trying to open C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\SAPDFACT.TSK
    (TSK) INFO: C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\SAPDFACT.TSK opened
    (TSK) INFO: Trying to close C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\SAPDFACT.TSK
    (TSK) INFO: C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\SAPDFACT.TSK closed
    (TSK) INFO: Trying to rename C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\SAPDFACT.TSK to C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\SAPDFACT.TSK.bck
    (TSK) INFO: C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\SAPDFACT.TSK renamed to C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\SAPDFACT.TSK.bck
    (TSK) INFO: Trying to open C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\SAPDFACT.TSK
    (TSK) INFO: C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ADA\SYSTEM\CENTRAL\AS-ABAP\SAPDFACT.TSK opened
    (TFH) INFO: Trying to open
    cmsapdev2\export_bit\ABAP\DATA\SAPDFACT.STR
    (TFH) INFO:
    cmsapdev2\export_bit\ABAP\DATA\SAPDFACT.STR opened
    (DB) INFO: /BI0/E0BWTCFC1 dropped#20080321211232
    (SQL) INFO: Searching for SQL file DFACT.SQL
    (SQL) INFO: Searching for SQL file
    cmsapdev2\export_bit\ABAP\DB/ADA/DFACT.SQL
    (SQL) INFO: Trying to open
    cmsapdev2\export_bit\ABAP\DB/ADA/DFACT.SQL
    (SQL) INFO:
    cmsapdev2\export_bit\ABAP\DB/ADA/DFACT.SQL opened
    DbSl Trace: EXECUTE on connection 0, rc=-5015 (POS(35) Missing keyword:DROP,MODIFY,COLUMN,ADD,NOT,SET,SAMPLE,FOREIGN,FACT,DYNAMIC,DIMENSION,BWHIERARCHY,ALTER)
    (DB) ERROR: DDL statement failed
    (     ALTER TABLE "/BI0/E0BWTCFC1" CLUSTER       ("KEY_0BWTCFC1T") PACKED )
    DbSlExecute: rc = 99
      (SQL error -5015)
      error message returned by DbSl:
    (DB) INFO: /BI0/E0BWTCFC2 dropped#20080321211232
    etc
    etc

    Thanks for the reply Markus.
    I am getting the same error with the latest R3load (and library) as well.
    I updated the DB.SAR files on the CD and received the error.  Thinking there maybe a version mismatch somewhere, I reverted to the original DB.SAR files.  Got the same error and captured the log above.
    I have logged a OSS call as well.
    Regards
    Doug

  • Alter table inside a procedure

    In one of my packaged procedure i am altering a table and then compiling the whole schema. those two statements are given below:
    EXECUTE IMMEDIATE 'alter table t_credit_book_entry add key_dummy varchar2(28 char)';
    dbms_utility.compile_schema(schema => 'DM01_TRANS');When i call this packaged procedure, it took 30 minutes to complete. During the execution, i identified one wait event called "labrary_cache_pin" for which wait time was increasing. Then i have removed these 2 lines from procedure and tried to call it like below, it took only 3 minutes.
    EXEC my_pkg.proc('CR');
    alter table t_credit_book_entry add key_dummy varchar2(28 char)
    EXEC dbms_utility.compile_schema(schema => 'DM01_TRANS');
    I tried it several times with the same result. Can anybody tell me, why its happening like this and what is the functionality of "library cache pin"?

    You are right but in my current requirement this column is needed for intermediate processing and after processing i am making it to unused.
    And my issue was solved by calling the following inside the procedure (which will compile only invalid objects):
    dbms_utility(schema=>'DM01_TRANS',compile_all=>FALSE);In my previous approach it was going for a recursive call and ideally should run for-ever. Then I doubt, how it has finished in 30 minutes!!!

  • Alter table modify lob shrink space hangs despite ddl_lock_timeout

    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    The following command hangs despite session parameter ddl_lock_timeout being set to 0:
    alter table <table> modify lob (<column>) (shrink space);
    Data type of <column> is CLOB. In another session a transaction on <table> is open, with a simple update on a different (non-LOB) column.
    Looks like a bug to me, but have no access to metalink for confirmation/SR submission and would appreciate any comments/help on this issue.

    From Oracle 11 documentation ( http://docs.oracle.com/cd/B28359_01/server.111/b28310/schema003.htm#CBBBIADA )
    "Segment shrink is an online, in-place operation. DML operations and queries can be issued during the data movement phase of segment shrink."
    Simon

Maybe you are looking for

  • S.M.A.R.T status failing on two internal hard drives at the same time.

    Thanks for reading. I have a Quicksilver, 733 mHz machine with 1g ram... the PROBLEM is that I have two identical 60 GB internal Maxtor HD's that have run wonderfully for many years... they just decided to tell Disk Utility that "this drive has repor

  • My Xserve does not wake up every Saturday from a cold start / cold boot up.

    Hello, everyone, This is my first time using this Apple Discussions Forum here and so hope any expert out there who can solve my problem, I'd deeply appreciated. Basically the problem is like this. I configured Xserve to wake up 8:50 am wake up every

  • Elements 7 editor has stopped working

    Dear elements 7 community, I have using elements 7 for four years on my windows 7 computer with very little problem. It seemed a very stable program. This program came free. I also use Lightroom 4 However now my elements editor has stopped working. E

  • Mail won't import messages to inbox after envelope file moved to desktop

    I had some kind of problem with a HD backup that cause my mac pro quad to lapse into beach ball mode. I had to restart and found my mail app had problems. All messages in other mailboxes are ok, sent items are ok, but inbox has lost messages. The mes

  • Read external XML

    I'm using adobe designer 7 . I want to read external XML file with javascript there is a method XMLData.parse(String param1, Boolean param2) but it takes as parameter only string. How can I get external XML file convert it to string and pass it to XM