Autoextend off / on?

I have been having pbs with rman backups and this is due to the fact that during rman backup, a datafile is being extend and it gives the error below.
RMAN-10035: exception raised in RPC: ORA-19575: expected 820995 blocks in file /u05/oradata/MTNPRD/applsysx01.dbf, found 820990
RMAN-10031: ORA-19583 occurred during call to DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
Now, I will like to change the datafile from autoextend on to off but before doing that, I will like to have some advice as I wanna know the up and downside of it!
Thanks
DID

You can turn off autoextend, but if the tablespace needs to autoextend an error will be raised. Another option is to adjust your backup time to a time where the tablespace is less likely to autoextend if possible.

Similar Messages

  • Tablespace autoextend Off

    Hello expert
    we are using oracle 10.2.0.4 on HP-UX for SAP ECC6.0.
    currently SAP Tablespace auto extend is ON but we want to OFF this coz when we try to backup Full+offline backup sometimes
    its terminated unsuccessfully due to auto extend property & some times we felt slow response coz of this.
    could you plz suggest me how can i OFF this autoextend, or in future how can i add DATAFILE on tablespace, how can i extend tablespace size or last what precaution should we have to make on DR server.
    kindly help me, I am not DBA person and facing so much problem due to this.
    plz could you suggest me any document to over come my oracle knowledge.
    Best Regards
    Deepak Singh

    Hello Deepak,
    You can turned off autoextend  on all data files for more control of space.
    But make sure to keep eye on the growth.
    You can use the Oracle command:
    alter tablespace ... autoextend off
    SQL : you need to do this for all datafiles of the tablespace one by one which are auto extendable.
    alter database datafile '/oracle/PRD/sapdata11/sr_11/data11.dbf' autoextend off
    Or
    Brtools
    Space Mangement - Alter Data File - Alter Data File Action
    Turn off autoextend
    When adding  datafile, you can use brtools
    brtools -> space management -> extend tablespace -> enter the tablespace name.... etc
    If you adding , new  datafile to the primary server, make sure to set the DR or SB parameter to AUTO
    STANDBY_FILE_MANAGEMENT = AUTO
    Genus Power wrote:
    > when we try to backup Full+offline backup sometimes  its terminated unsuccessfully due to auto extend property
    You may increase the extending amount, depending on the growth
    If its a small value then, it may trying to extend in shorter periods. So after considering the workload , select a value to auto extend.
    how you says , that backup fails due to auto-extending property. Whats the logs implies
    regards,
    Zerandib

  • Datafile autoextend off possible in Physical standby?

    Hi,
    I am making datafiles auto extend off in primary database. is there anything i should do in standy database as well?
    i have 10.2.0.4 version in IBM AIX machines with physical standby database configured...
    I have standby_file_management is AUTO...
    Any suggestions?
    Thanks,
    Raman.
    standby_file_management string AUTO
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
    NLSRTL Version 10.2.0.4.0 - Production

    Means standy database will automatically propgate change of auto extend off? as DBA we dont do anything?Well, i have not tested it recently, but in back of my memories which i am trying to recall i have done it.For datafile/tablespace related standby_file_management parameter has to be set to auto, which is already set so you must must not face any problem.You can monitor the alert log file of the standby database.
    Anand

  • Autoextend on/off

    Hi,
    In NW2004s BI7, under windows 2003 server, oracle 10g plateform I am trying to change Autoextend On
    1. login sql as system
    2. SELECT * from dba_data_files where tablespace_name = 'PSAPSR3DB';
    3. its shows all table name with path
    4. ALTER DATABASE DATAFILE 'F:\ORACLE\PIP\SAPDATA4\SR3DB_1\SR1.DATA1' AUTOEXTEND ON;
    5. ALTER DATABASE DATAFILE 'F:\ORACLE\PIP\SAPDATA4\SR3DB_2\SR1.DATA2' AUTOEXTEND ON;
    6. ALTER DATABASE DATAFILE 'F:\ORACLE\PIP\SAPDATA4\SR3DB_3\SR1.DATA3' AUTOEXTEND ON;
    COMMIT;
    But when I check DB02 and Tablespace --> overview (still shows autoextend off)
    how to I fixed that
    Regards;

    Hi Kishore Soma,
    Thanks for reply,
    login sqlplus /as sysdba
    I tried 10 times commit;
    Restart SAP and DB instance
    DB02OLD and refresh (perform database check and db check and updates)
    Still PSAPSR3700 table space shows autoextend NO
    any other clue... or what is the normal procedure to change autoextend YES

  • Maxsize 0 after autoextend turned off for Temp tablespace!

    Hi,
    DB:11.1.0.7
    We had earlier the tempfiles with maxszie unlimited as below:
    select FILE_NAME,TABLESPACE_NAME,BYTES/(1024*1024) "Size",MAXBYTES/(1024*1024) "Maxsize",AUTOEXTENSIBLE from dba_temp_files;
    February 10, 2011 Tablespace used by DEV database
    ===================================
    FILE_NAME
    TABLESPACE_NAME Size Maxsize AUT
    /oradata/DEV/temp01.dbf
    TEMP 1024 32767.9844 YES
    /oradata/DEV/temp02.dbf
    TEMP 1024 32767.9844 YES
    /oradata/DEV/temp03.dbf
    TEMP 3072 32767.9844 YES
    Now after turning autoextend off, why maxsize is showing as '0' instead of being at unlimited as earlier?
    Please see below:
    select FILE_NAME,TABLESPACE_NAME,BYTES/(1024*1024) "Size",MAXBYTES/(1024*1024) "Maxsize",AUTOEXTENSIBLE from dba_temp_files;
    February 10, 2011 Tablespace used by DEV database
    ===================================
    FILE_NAME
    TABLESPACE_NAME Size Maxsize AUT
    /oradata/DEV/temp01.dbf
    TEMP 1024 0 NO
    /oradata/DEV/temp02.dbf
    TEMP 1024 0 NO
    /oradata/DEV/temp03.dbf
    TEMP 3072 0 NO
    Could anyone please explain?
    Thanks for your time!
    Regards,

    Handle:      user10088255
    Status Level:      Newbie
    Registered:      Mar 4, 2009
    Total Posts:      87
    Total Questions:      62 (62 unresolved)
    so many questions without ANY answers.
    http://forums.oracle.com/forums/ann.jspa?annID=718

  • SQL Query to check which datafiles have AutoExtend on?

    I want to turn autoextend off on almost all my datafiles(obviously not on system). Using the Java Enterprise Manager you can visually see which datafiles have autoextend on. I'd prefer to find out using sqlplus which files have autoextend on so I can script turning it off. I don't see it in the v$tablespace or v$datafile views.. Where can i find this??
    Paul

    Hi,
      1* select substr(file_name,1,50), AUTOEXTENSIBLE from dba_data_files
    SQL> /
    SUBSTR(FILE_NAME,1,50)                             AUT
    /data/ora/H89UCBAC/u05/system/system01.dbf         YES
    /data/ora/H89UCBAC/u05/rbs/psundots01.dbf          YES
    /data/ora/H89UCBAC/u01/psdefault/psdefault.dbf     NO
    /data/ora/H89UCBAC/u01/aaapp/aaapp.dbf             NO
    /data/ora/H89UCBAC/u01/aalarge/aalarge.dbf         NO
    /data/ora/H89UCBAC/u01/adapp/adapp.dbf             NO
    /data/ora/H89UCBAC/u01/amapp/amapp.dbf             NO
    /data/ora/H89UCBAC/u01/avapp/avapp.dbf             NO
    /data/ora/H89UCBAC/u01/bdapp/bdapp.dbf             NO
    /data/ora/H89UCBAC/u01/bnapp/bnapp.dbf             NO
    /data/ora/H89UCBAC/u01/bnlarge/bnlarge.dbf         NO
    ...Nicolas.

  • FLASHBACK OFF FOR UNDO TABLESPACE????

    Hi all
    As my Undo tablespace growing evryday 2 GB & NOW it reached 19,
    Database size is 6GB only
    using Oracle 10g Release 2 without patch Set (release 1002000100) on Hp-Unix OS
    Can i use the Undo tablespace with FLASHBACK OFF option?
    what are the Consequences for Turning off the FLASHBACK,
    Can we use this type of Undo tablespace with Flashback OFF???
    CREATE UNDO TABLESPACE UNDOTBS03 DATAFILE
    '/app/oracle/product/oradata/prod/undotbs03.dbf' SIZE 1000M AUTOEXTEND OFF
    ONLINE
    RETENTION NOGUARANTEE
    BLOCKSIZE 8K
    FLASHBACK OFF;
    THANKS ALOT

    Oracle Flashback Database: feature is similar to conventional point-in-time recovery in its results, allowing you to return a database to its state at a time in the recent past. It is, however, much faster than point-in-time recovery, because it does not require restoration of datafiles from a backup and it requires application of fewer changes from the archived redo logs.
    UNDO  Tablespace: Oracle db save the old value when a process change data in undo tablespace.
    I think that you can change de default UNDO tablespace as NO AUTOEXTEND, and
    Configure
    SET UNDO_MANAGEMENT=AUTO
    SET UNDO_RETENTION= ( second need for logger transaction )
    UNDO_RETENTION specifies (in seconds) the low threshold value of undo retention. For AUTOEXTEND undo tablespaces, the system retains undo for at least the time specified in this parameter, and automatically tunes the undo retention period to satisfy the undo requirements of the queries.
    For fixed- size undo tablespaces, the system automatically tunes for the maximum possible undo retention period, based on undo tablespace size and usage history, and ignores UNDO_RETENTION unless retention guarantee is enabled.

  • Tablespace Autoextend

    Hi
    In our R/3 landscape, the status of some of the tablespaces is "autoextend On" and some are "autoextend off" mode. We would like to turn the autoextnd mode OFF from ON.
    What is the best way to turn the autoextend mode OFF. As per my understanding, if we turn off all the datafiles of the tablespace using SQLPLUS , it will automatically change the status of the autoextend mode from ON to OFF.
    Pls confirm or suggest any other method to turn tablespace autoextend mode OFF.
    Regards
    Amar

    Hi,
    Use SQL. Don't know any other tool thats used for changing the mode.
    Cheers,
    Kedar

  • How autoextend affects the performance of a big data load

    I'm doing a bit of reorganization on a datawarehouse, and I need to move almost 5 TB worth of tables, and rebuild their indexes. I'm creating a tablespace por each month, using BIGFILE tablespaces, and assigning to them 600GB, that is the approximate of size of the tables for each month. The process of just assigning the space takes a lot of time, and I decided to try a different approach and change the datafile to AUTOEXTEND ON NEXT 512M, and then run the ALTER TABLE MOVE command to move the tables. The database is Oracle 11g Release 2, and it uses ASM. I was wondering what would be the best approach between these two:
    1. Create the tablespace, with AUTOEXTEND OFF, and assign 600GB to it, and then run the ALTER TABLE MOVE command. The space would be enough for all the tables.
    2. Create the tablespace, with AUTOEXTEND ON, and without assigning more than 1GB, run the ALTER TABLE MOVE command. The diskgroup has enough space for the expected size of the tablespace.
    With the first approach my database is taking 10 minutes approx moving each partition (there's one for each day of the month). Would this number be impacted in a big way if the database has to do an AUTOEXTEND each 512 MB?

    If you measure the performance as the time required to allocate the initial 600 GB data file plus the time to do the load and compare that to allocating a small file and doing the load, letting the data file autoextend, it's unlikely that you'll see a noticable difference. You'll get far more variation just in moving 600 GB around than you'll lose waiting on the data file to extend. If there is a difference, allocating the entire file up front will be slightly more efficient.
    More likely, however, is that you wouldn't count the time required to allocate the initial 600 GB data file since that is something that can be done far in advance. If you don't count that time, then allocating the entire file up front will be much more efficient.
    If you may need less than 600 GB, on the other hand, allocating the entire file at once may waste some space. If that is a concern, it may make sense to compromise and allocate a 500 GB file initially (assuming that is a reasonable lower bound on the size you'll actually need) and let the file extend in 1 GB chunks. That won't be the most efficient approach and you may waste up to a GB of space but that may be a reasonable compromise.
    Justin

  • Autoextend on tempfiles

    By default, we set our tempfile autoextend on. Recently, we see "cannot allocate 128 bytes in tablespace temp" even with total size of tablespace temp is 170GB. When I googled this, I saw a few articles claiming tempfile should have autoextend off for better reuse of the the temporary space.
    Experts, please confirm this from your experience or experiment.
    Thank you,
    -Frank

    with total size of tablespace temp is 170GB :0Ohhhh.......THATS TOOOOOO Large.
    Yes, the tempfile / temporary tablespace can be and must be reused after a certain size .It must not bee put into autoextend on mode.See what happened,*170GB* that too huge for tempfile and also loss of physical space on the disk.
    supposing that the default temporary tablespace name is TEMP.
    sql> create temporary tablespace temp01 tempfile '/data/file/location/name' size 512M;
    sql> alter database default temporary tablespace temp01;
    sql> drop tablespace temp including contents;
    sql> create temporary tablespace temp tempfile '/data/file/location/name' size 2048M reuse,'/data/file/location/name' size 2048M reuse;
    sql> alter database default temporary tablespace temp;
    This is what i always do. I keep temp normally between 4GB to 8GB, when full reuse it in above style.
    HTH
    Anand
    Edited by: Anand... on Mar 3, 2009 5:57 AM

  • Autoextend user tablespace or add datafile

    Hello,
    My USERS tablespace had problem today when loading a file using sqlldr. It stopped loading halfway through the file.
    The allocated is set to 1900 mb and the used was at 1850. I only have 1 datafile for users tablespace. I have autoextensible to YES.
    Why did it not extend the tablespace when I should still have 2gb free??
    I dropped a couple unused user tables and it reduced the used amount, then I was able reran the sqlldr load and it completed.
    Should I create a new datafile
    ALTER TABLESPACE USERS ADD DATAFILE ‘/usr/lib/oracle/xe/oradata/XE/users01.dbf’ SIZE 2000M AUTOEXTEND OFF;
    or increase the allocation
    ALTER DATABASE DATAFILE ‘/usr/lib/oracle/xe/oradata/XE/users.dbf’ RESIZE 3000M;
    Thanks for the help...

    Why did it not extend the tablespace when I should still have 2gb free??
    Might be maxsize was defined at the time of tablespace creation
    For example
    SQL> select DBMS_METADATA.GET_DDL('TABLESPACE', 'USERS') from dual;
    DBMS_METADATA.GET_DDL('TABLESPACE','USERS')
    CREATE TABLESPACE "USERS" DATAFILE
    'C:\ORACLE\ORACLEXE\ORADATA\XE\USERS.DBF' SIZE 104857600
    AUTOEXTEND ON NEXT 10485760[b] MAXSIZE 5120M
    LOGGING ONLINE PERMANENT BLOCKSIZE 8192
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
    Should I create a new datafile
    ALTER TABLESPACE USERS ADD DATAFILE
    ‘/usr/lib/oracle/xe/oradata/XE/users01.dbf’ SIZE
    2000M AUTOEXTEND OFF;
    or increase the allocation
    ALTER DATABASE DATAFILE
    ‘/usr/lib/oracle/xe/oradata/XE/users.dbf’ RESIZE
    3000M; It is good idea to add new file and having multiple file with same size.
    Also in future if needed you can relocate datafile to reduce I/O contention.

  • PSAPSR3 autoextend

    HI Gurus
    can any one guide me how to make table AUTOEXTEND ON. For my system  tablespacePSAPSR3 autoextend is showing off at GUI level(db02),   Where from brtools it is showing for PSAPSR3 autoextend is ON, still space left at file system level...but it is giving dump like
    Database error text........: "ORA-01688: unable to extend table
    SAPSR3./BIC/B0000095000 partition /BIC/B00000950000000000002 by 8192 in
    tablespace PSAPSR3"
    Internal call code.........: "[RSQL/INSR//BIC/B0000095000 ]"
    Please check the entries in the system log (Transaction SM21).
    But why it is showing differnet entries at brtools(psapsr3 autoextend :ON and at GUI level:DB02(psapsr3 autoextend  : OFF)
    How can i change autoextend ON for PSAPSR3 at db02 or using tcode
    Thanks in advance.

    Hi Balaji,
    the big misunderstanding (that of course happens to many others as well) is that the AUTOEXTEND functionality is not a tablespace setting but a datafile setting.
    As DB02 shows you the information just tablespace wise it will report AUTOEXTEND ON as soon as at least one of the datafiles has AUTOEXTEND ON.
    Anyhow: it can happen that Oracle chooses one of the datafiles that are not autoextensible and tries to write data into it. If then the freespace is not sufficient, Oracle won't move to another file and try to store the data there. Instead it will stop that transaction and you see the error e.g. your ORA-1688.
    Therefore, make sure that either none of the datafiles is autoextensible or all of them.
    You can easily check this setting via BRTOOLS:
    (2 - Space management -> 7 - Additional space functions -> 1 = Show tablespaces)
    List of database tablespaces
    Pos.  Tablespace     Type  Status    ExtMan.  SegMan.  Backup  Files/AuExt.
          Total<KB>   Used<%>    Free<KB>  ExtSize<KB>  FreeExt.    Largest<KB>
      1 - PSAPBUT        DATA  ONLINE    LOCAL    AUTO      NO         6/5
          18075712     99.92       13696       819200        10      819200+:4096:1984:1024:1024
      2 - PSAPBUT620     DATA  ONLINE    LOCAL    AUTO      NO         4/4
           8704000     93.62      555520       819200        88      819200+:24576:16384:11200:10240
    As you can see PSAPBUT has 6 datafiles but only 5 of them are set to be autoextensible.
    DB02 will anyhow report that PSAPBUT is autoextensible.
    To change this setting BRTOOLS are just fine.
    The following is an example on my testmachine 'BUT'.
    BR0656I Choice menu 5 - please make a selection
    Database space management
    1 = Extend tablespace
    2 - Create tablespace
    3 - Drop tablespace
    4 - Alter tablespace
    5 - Alter data file
    6 - Move data file
    7 + Additional space functions
    8 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    5
    BR0280I BRTOOLS time stamp: 2008-04-16 17.14.09
    BR0663I Your choice: '5'
    BR0280I BRTOOLS time stamp: 2008-04-16 17.14.09
    BR0657I Input menu 85 - please check/enter input values
    BRSPACE options for alter data file
    1 - BRSPACE profile (profile) ....... <initBUT.sap>
    2 - Database user/password (user) ... </>
    3 ~ Alter data file action (action) . <>
    4 ~ Tablespace names (tablespace) ... <>
    5 ~ Data file names (file) .......... <>
    6 - Confirmation mode (confirm) ..... <yes>
    7 - Scrolling line count (scroll) ... <20>
    8 - Message language (language) ..... <E>
    9 - BRSPACE command line (command) .. <-p initBUT.sap -s 20 -l E -f dfalter>
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    4
    BR0280I BRTOOLS time stamp: 2008-04-16 17.14.11
    BR0663I Your choice: '4'
    BR0280I BRTOOLS time stamp: 2008-04-16 17.14.11
    BR0681I Enter string value for "tablespace" <>:
    PSAPBUT
    BR0280I BRTOOLS time stamp: 2008-04-16 17.14.13
    BR0683I New value for "tablespace": 'PSAPBUT'
    BR0280I BRTOOLS time stamp: 2008-04-16 17.14.13
    BR0657I Input menu 85 - please check/enter input values
    BRSPACE options for alter data file
    1 - BRSPACE profile (profile) ....... <initBUT.sap>
    2 - Database user/password (user) ... </>
    3 ~ Alter data file action (action) . <>
    4 ~ Tablespace names (tablespace) ... <PSAPBUT>
    5 ~ Data file names (file) .......... <>
    6 - Confirmation mode (confirm) ..... <yes>
    7 - Scrolling line count (scroll) ... <20>
    8 - Message language (language) ..... <E>
    9 - BRSPACE command line (command) .. <-p initBUT.sap -s 20 -l E -f dfalter -t PSAPBUT>
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRTOOLS time stamp: 2008-04-16 17.14.16
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0291I BRSPACE will be started with options '-p initBUT.sap -s 20 -l E -f dfalter -t PSAPBUT'
    BR0280I BRTOOLS time stamp: 2008-04-16 17.14.16
    BR0670I Enter 'c<ont>' to continue, 'b<ack>' to go back, 's<top>' to abort:
    c
    BR0280I BRTOOLS time stamp: 2008-04-16 17.14.17
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR1001I BRSPACE 6.40 (45)
    BR1002I Start of BRSPACE processing: sdxsgncr.dfa 2008-04-16 17.14.17
    BR0484I BRSPACE log file: E:\oracle\BUT\sapreorg\sdxsgncr.dfa
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.19
    BR1009I Name of database instance: BUT
    BR1010I BRSPACE action ID: sdxsgncr
    BR1011I BRSPACE function ID: dfa
    BR1012I BRSPACE function: dfalter
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.19
    BR0656I Choice menu 314 - please make a selection
    Alter data file main menu
    1 - Set data file online
    2 - Set data file offline
    3 - Turn on and maintain autoextend
    4 - Turn off autoextend
    5 - Resize data file
    6 - Show data files
    7 - Show tablespaces
    8 - Show disk volumes
    9 * Exit program
    10 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    3
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.25
    BR0663I Your choice: '3'
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.28
    BR0659I List menu 315 + please select one or more entries
    List of data files for alter
    Pos.  Tablespace     Status  Type     Size<KB> AuExt. File
       1 - PSAPBUT        ONLINE  FILE     3051520   YES   E:\ORACLE\BUT\SAPDATA1\BUT_1\BUT.DATA1
       2 - PSAPBUT        ONLINE  FILE     3051520   YES   E:\ORACLE\BUT\SAPDATA1\BUT_2\BUT.DATA2
       3 - PSAPBUT        ONLINE  FILE     3031040   YES   E:\ORACLE\BUT\SAPDATA1\BUT_3\BUT.DATA3
       4 - PSAPBUT        ONLINE  FILE     2756672   YES   E:\ORACLE\BUT\SAPDATA4\BUT_4\BUT.DATA4
       5 - PSAPBUT        ONLINE  FILE     3092480   YES   E:\ORACLE\BUT\SAPDATA4\BUT_5\BUT.DATA5
       6 - PSAPBUT        ONLINE  FILE     3092480   NO    E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your selection:
    6
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.33
    BR0663I Your selection: '6'
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.33
    BR0657I Input menu 316 - please check/enter input values
    Options for alter of data file E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6
    1 * Current data file status (status) ....... <FIXSIZE>
    2 * Current data file size in MB (currsize) . <3020>
    3 * Alter data file action (action) ......... <autoext>
    4 # Force offline mode (force) .............. <no>
    5 ? Maximum file size in MB (maxsize) ....... <>
    6 ? File increment size in MB (incrsize) .... <>
    7 # New data file size in MB (size) ......... <>
    8 - SQL command (command) ................... <alter database datafile 'E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6' autoextend on next M maxsize M>
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    5
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.38
    BR0663I Your choice: '5'
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.38
    BR0682I Enter integer value for "maxsize" (0-32767) <>:
    3500
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.48
    BR0683I New value for "maxsize": '3500'
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.48
    BR0657I Input menu 316 - please check/enter input values
    Options for alter of data file E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6
    1 * Current data file status (status) ....... <FIXSIZE>
    2 * Current data file size in MB (currsize) . <3020>
    3 * Alter data file action (action) ......... <autoext>
    4 # Force offline mode (force) .............. <no>
    5 - Maximum file size in MB (maxsize) ....... <3500>
    6 ? File increment size in MB (incrsize) .... <>
    7 # New data file size in MB (size) ......... <>
    8 - SQL command (command) ................... <alter database datafile 'E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6' autoextend on next M maxsize 3500M>
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    6
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.55
    BR0663I Your choice: '6'
    BR0280I BRSPACE time stamp: 2008-04-16 17.14.55
    BR0682I Enter integer value for "incrsize" (1-32767) <>:
    1
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.01
    BR0683I New value for "incrsize": '1'
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.01
    BR0657I Input menu 316 - please check/enter input values
    Options for alter of data file E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6
    1 * Current data file status (status) ....... <FIXSIZE>
    2 * Current data file size in MB (currsize) . <3020>
    3 * Alter data file action (action) ......... <autoext>
    4 # Force offline mode (force) .............. <no>
    5 - Maximum file size in MB (maxsize) ....... <3500>
    6 - File increment size in MB (incrsize) .... <1>
    7 # New data file size in MB (size) ......... <>
    8 - SQL command (command) ................... <alter database datafile 'E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6' autoextend on next 1M maxsize 3500M>
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    6
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.04
    BR0663I Your choice: '6'
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.04
    BR0682I Enter integer value for "incrsize" (1-32767) <1>:
    50
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.05
    BR0683I New value for "incrsize": '50'
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.05
    BR0657I Input menu 316 - please check/enter input values
    Options for alter of data file E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6
    1 * Current data file status (status) ....... <FIXSIZE>
    2 * Current data file size in MB (currsize) . <3020>
    3 * Alter data file action (action) ......... <autoext>
    4 # Force offline mode (force) .............. <no>
    5 - Maximum file size in MB (maxsize) ....... <3500>
    6 - File increment size in MB (incrsize) .... <50>
    7 # New data file size in MB (size) ......... <>
    8 - SQL command (command) ................... <alter database datafile 'E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6' autoextend on next 50M maxsize 3500M>
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.07
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.08
    BR0370I Directory E:\oracle\BUT\sapreorg\sdxsgncr created
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.10
    BR0319I Control file copy created: E:\oracle\BUT\sapreorg\sdxsgncr\cntrlBUT.old 6955008
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.10
    BR1016I SQL statement 'alter database datafile 'E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6' autoextend
    n next 50M maxsize 3500M' executed successfully
    BR1078I Data file E:\ORACLE\BUT\SAPDATA4\BUT_6\BUT.DATA6 altered successfully into status 'autoext
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.10
    BR0340I Switching to next online redo log file for database instance BUT ...
    BR0321I Switch to next online redo log file for database instance BUT successful
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.13
    BR0319I Control file copy created: E:\oracle\BUT\sapreorg\sdxsgncr\cntrlBUT.new 6955008
    BR0280I BRSPACE time stamp: 2008-04-16 17.15.13
    BR0256I Enter 'c<ont>' to continue, 's<top>' to cancel BRSPACE:
    As you see, I just chose to alter a datafile from the tablespace PSAPBUT. Then I got a list of the datafiles and could easily manage the autoextend setting via the menu without having to deal with SQL commands.
    Hope that helps,
    Lars

  • Upgrade - 4.6B - ECC6 phase TP_ACTION_CP2SINI - fails

    Platoform - Solaris 5.9
    Oracle - 10.2.0.2
    Upgrade of 4.6B - ECC6 fails in the phase <b>TP_ACTION_CP2SINI</b>
    This phase in the previous Mock had completed in 20 min aprox, but on the present mock upgrade its taken longer time.....
    Phase TP_ACTION_CP2SINI:
    INFO: Export of SAPKBBF700; client 0 taken from E070C
    Phase TP_ACTION_CP2SINI:
    INFO: Export of SAPKBBF700; client 0 taken from E070C
    Phase TP_ACTION_CP2SINI:
    INFO: Export of SAPKBBF700; client 0 taken from E070C
    Phase TP_ACTION_CP2SINI:
    INFO: Export of SAPKBBF700; client 0 taken from E070C
    Phase TP_ACTION_CP2SINI:
    INFO: Export of SAPKBBF700; client 0 taken from E070C
    Phase TP_ACTION_CP2SINI:
    INFO: Export of SAPKBBF700; client 0 taken from E070C
    ERROR: No connect due to DbSl Load Lib Failure
    ERROR: The values set for DIR_LIBRARY ('/usr/sap/P35/SYS/exe/run') or dbms_type ('ORA') are invalid.
    ERROR: Connect to P35 failed (20070824170148).
    INFO: Export of SAPKBBF700; client 0 taken from E070C
    Phase TP_ACTION_CP2SINI:
    INFO: Export of SAPKBBF700; client 0 taken from E070C
    ERROR: No entry for SAPKBBF700 in E070 or error during access.
    ERROR SAPKBBF700           P35 E 0012 20070824180341 DDIC         p35adm       RELSAPDB 20070824173846006328
    HALT 20070824180341
    ERROR: uncaught internal error: ORA-03114: not connected to ORACLE
    ERROR: EXIT(16) -> process ID is: 25384
    ERROR: Connect to P35 failed (20070824180342, probably wrong environment).
    Phase TP_ACTION_CP2SINI:
    INFO: Export of SAPKBBF700; client 0 taken from E070C
    Phase TP_ACTION_CP2SINI:
    INFO: Export of SAPKBBF700; client 0 taken from E070C
    Kind assistance appreciated.
    Regards,
    Siddhartha Gupte
    +91 9833888910

    Hi Markus,
    Oracle is running but give a problem when creating a tablespace - PSAPTEMP1 through sqlplus but when checked through the DB02, the size shown is '0'
    when try to modify or create any table through brtools below error is given.
    BR*Tools main menu
    1 = Instance management
    2 - Space management
    3 - Segment management
    4 - Backup and database copy
    5 - Restore and recovery
    6 - Check and verification
    7 - Database statistics
    8 - Additional functions
    9 - Exit program
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    2
    BR0280I BRTOOLS time stamp: 2007-08-24 20.51.19
    BR0663I Your choice: '2'
    BR0280I BRTOOLS time stamp: 2007-08-24 20.51.19
    BR0656I Choice menu 5 - please make a selection
    Database space management
    1 = Extend tablespace
    2 - Create tablespace
    3 - Drop tablespace
    4 - Alter tablespace
    5 - Alter data file
    6 - Move data file
    7 - Additional space functions
    8 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    1
    BR0280I BRTOOLS time stamp: 2007-08-24 20.51.21
    BR0663I Your choice: '1'
    BR0280I BRTOOLS time stamp: 2007-08-24 20.51.21
    BR0657I Input menu 81 - please check/enter input values
    BRSPACE options for tablespace extension
    1 - BRSPACE profile (profile) ...... [initP35.sap]
    2 - Database user/password (user) .. [/]
    3 ~ Tablespace name (tablespace) ... []
    4 - Confirmation mode (confirm) .... [yes]
    5 - Scrolling line count (scroll) .. [20]
    6 - Message language (language) .... [E]
    7 - BRSPACE command line (command) . [-p initP35.sap -s 20 -l E -f tsextend]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    3
    BR0280I BRTOOLS time stamp: 2007-08-24 20.51.24
    BR0663I Your choice: '3'
    BR0280I BRTOOLS time stamp: 2007-08-24 20.51.24
    BR0681I Enter string value for "tablespace" []:
    psaptemp1
    BR0280I BRTOOLS time stamp: 2007-08-24 20.51.42
    BR0683I New value for "tablespace": 'psaptemp1'
    BR0280I BRTOOLS time stamp: 2007-08-24 20.51.42
    BR0657I Input menu 81 - please check/enter input values
    BRSPACE options for tablespace extension
    1 - BRSPACE profile (profile) ...... [initP35.sap]
    2 - Database user/password (user) .. [/]
    3 ~ Tablespace name (tablespace) ... [psaptemp1]
    4 - Confirmation mode (confirm) .... [yes]
    5 - Scrolling line count (scroll) .. [20]
    6 - Message language (language) .... [E]
    7 - BRSPACE command line (command) . [-p initP35.sap -s 20 -l E -f tsextend -t psaptemp1]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRTOOLS time stamp: 2007-08-24 20.52.05
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0291I BRSPACE will be started with options '-p initP35.sap -s 20 -l E -f tsextend -t psaptemp1'
    BR0280I BRTOOLS time stamp: 2007-08-24 20.52.05
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2007-08-24 20.52.09
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR1001I BRSPACE 7.00 (18)
    BR1002I Start of BRSPACE processing: sdvzqkms.tse 2007-08-24 20.52.10
    BR0280I BRSPACE time stamp: 2007-08-24 20.52.10
    BR0301W SQL error -904 at location BrsDblogOpen-6, SQL statement:
    'INSERT INTO SAP_DBAML (SYS_ID, OPER_ID, TASKNAME, JOB_NR, TRIAL, UTIL_NR, FUNC_ID, UPD_OP, TOOLSET, PROGNAME, LOG_NAME, STATUS, BEGIN_OP, END_OP, RC, INTERNAL) VALUES ('P35', '20070824205210', 'Extend tablespace', '0000000000', '1', '0000000000', 'tse', '20070824205210', 'SAP CCMS', 'BRSPACE', '/oracle/P35/sapreorg/sdvzqkms.tse', 'STARTED', '20070824205210', ' ', '0000', 'sdvzqkms')'
    ORA-00904: "TOOLSET": invalid identifier
    BR0324W Insertion of database log header failed
    BR0280I BRSPACE time stamp: 2007-08-24 20.52.10
    BR1009I Name of database instance: P35
    BR1010I BRSPACE action ID: sdvzqkms
    BR1011I BRSPACE function ID: tse
    BR1012I BRSPACE function: tsextend
    BR0280I BRSPACE time stamp: 2007-08-24 20.52.11
    BR0657I Input menu 303 - please check/enter input values
    Options for extension of tablespace PSAPTEMP1 (1. file)
    1 * Last added file name (lastfile) ....... [/oracle/P35/sapdata5/temp1_1/temp1.data1]
    2 * Last added file size in MB (lastsize) . [500]
    3 - New file to be added (file) ........... [/oracle/P35/sapdata5/temp1_2/temp1.data2]
    4 ~ Raw disk / link target (rawlink) ...... []
    5 - Size of the new file in MB (size) ..... [500]
    6 - File autoextend mode (autoextend) ..... [no]
    7 # Maximum file size in MB (maxsize) ..... []
    8 # File increment size in MB (incrsize) .. []
    9 - SQL command (command) ................. [alter tablespace PSAPTEMP1 add tempfile '/oracle/P35/sapdata5/temp1_2/temp1.data2' size 500M autoextend off]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    Expecting your kind reply,
    Siddhartha gupte

  • Using a dynamically assigned variable in a procedure ?

    Hello every one ..
    I had a small problem in writing a query..
    Actually i had requirement of creating a tablespace  using a procedure
    My procedure is :
    create or replace procedure datafile_test as
    df_location varchar2(600);
    begin
    select distinct substr(file_name,1,instr(file_name,'/',-1)) into df_location from dba_data_files;
    dbms_output.put_line(' Created data file location is' ||df_location);
    end;
    This procedure is working alright but now my requirement is to use that value stored in df_location variable in
    create tablespace my_tbs <df_location>/tbs.dbf size 20m;  // i need to write this statement in my procedure .. how can i bring df_location value in my query
    is it possible to do it ?
    thanks in advance..

    Hello vinay raj
    Ok, your original statement was not right and I have not checked it
    Try this one, it should work:
    create or replace procedure datafile_test
    as
       df_location    varchar2(600);
        v_statement    VARCHAR2(4000);
    begin
        select distinct substr(file_name,1,instr(file_name,'/',-1)) into df_location from dba_data_files;
        v_statement := 'CREATE TABLESPACE MY_TBS DATAFILE ' || CHR(39) || df_location || '/tbs.dbf' || CHR(39) || ' SIZE 20M '
           --- This is optional, but I use this:  
                    || 'AUTOEXTEND OFF LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL AUTOALLOCATE BLOCKSIZE 8K SEGMENT SPACE MANAGEMENT AUTO FLASHBACK ON'
        EXECUTE IMMEDIATE v_statement;
        dbms_output.put_line('Tablespace is created: "' || v_statement || '"'));
    end;
    I hope it helps you!

  • Error while registering RMAN from primary to catalog database

    Hi all,
    Here we have a 10g dataguard environment with db1(db_unique_name) as primary and db2(db_unique_name) as physical standby database. Also we configured one schema on a third machine as catalog database using following steps.
    The steps executed in catalog database(appsdb):
    SQL> create tablespace rmancatlog_tbs datafile '/u01/app/oracle/oradata/NEW/rman_catalog.dbf' size 500M autoextend off extent management local segment space management auto;
    SQL> create user rman identified by oracle
    2 default tablespace rmancatlog_tbs
    3 quota unlimited on rmancatlog_tbs
    4 ;
    SQL> GRANT connect, resource, recovery_catalog_owner TO rman;
    RMAN> create catalog;
    recovery catalog created
    Added tns entries of catalog database in primary and standby. Then from primary database we tried to register to catalog database. It is showing that it is registering. But every query afterwards in rman is throwing the error. Below are the steps and error:
    [oracle@db1 ~]$ rman target sys/oracle catalog rman/oracle@appsdb
    Recovery Manager: Release 10.2.0.3.0 - Production on Mon Aug 13 21:39:32 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: NIOS (DBID=1589015669)
    connected to recovery catalog database
    RMAN> register database;
    database registered in recovery catalog
    RMAN> report schema;
    Report of database schema
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace RB segs Datafile Name
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of report command at 10/08/2012 06:16:06
    RMAN-00600: internal error, arguments [8201] [] [] [] []
    Can anyone help regarding this error?
    Thanks in advance.

    on resync catalog it is throwing no output or error.
    but it shows same error afterwards.
    RMAN> resync catalog;
    RMAN> report schema;
    Report of database schema
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace RB segs Datafile Name
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of report command at 10/09/2012 03:55:53
    RMAN-00600: internal error, arguments [8201] [] [] [] []

Maybe you are looking for