Alter Tablespace Through BRTOOLS

Hi,
How can we alter tablespace through BRTOOLS.
Regards,
Nitin

Hi,
Choice menu 1 - please make a selection
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
Your choice: '2'
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:
4
Your choice: '4'
After this you can select the table space by selecting the options
Enter string value for "tablespace" []: Table name which you need to Alter
and select the options it will clearly mentioned
and followup the process
Thanks & regards
Sreedhar Reddy

Similar Messages

  • Unable to Extend The Tablespace through Brtools

    Hello Guru's
    In Our Production Server we are not able to extend table space through BRtools while performing table space extend i am facing this error, please give me the solution so that this error is going to rectified
    i am attaching the log for your reference :
    BR0280I BRTOOLS time stamp: 2007-06-19 11.18.57
    BR0657I Input menu 81 - please check/enter input values
    BRSPACE options for tablespace extension
    1 - BRSPACE profile (profile) ...... [initPBW.sap]
    2 - Database user/password (user) .. [/]
    3 ~ Tablespace name (tablespace) ... [PSAPODSD]
    4 - Confirmation mode (confirm) .... [yes]
    5 - Scrolling line count (scroll) .. [20]
    6 - Message language (language) .... [E]
    7 - BRSPACE command line (command) . [-p initPBW.sap -s 20 -l E -f tsextend -t
    PSAPODSD]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRTOOLS time stamp: 2007-06-19 11.19.02
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0291I BRSPACE will be started with options '-p initPBW.sap -s 20 -l E -f tsext
    end -t PSAPODSD'
    BR0280I BRTOOLS time stamp: 2007-06-19 11.19.02
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2007-06-19 11.19.05
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR1001I BRSPACE 7.00 (11)
    BR0252E Function remove() failed for '/oracle/PBW/sapbackup/.user.pas' at locati
    on global_set-5
    BR0253E errno 13: Permission denied
    BR0700E Fatal errors occurred - terminating processing...
    BR1008I End of BRSPACE processing: sdvncsuh.log 2007-06-19 11.19.19
    BR0280I BRSPACE time stamp: 2007-06-19 11.19.19
    BR1007I BRSPACE terminated with errors
    BR0292I Execution of BRSPACE finished with return code 3
    BR0668I Warnings or errors occurred - you can continue to ignore them or go back
    to repeat the last action
    BR0280I BRTOOLS time stamp: 2007-06-19 11.19.19
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:

    Hi Shishir Bajpai
    I have a problem it seems to be like the problem that you had! Tell me one thing, how can I know if I have permissions in brtools to extend a table space or for other tasks in there?
    I have win 2003 server and Oracle 10.2.0.4!
    I must to extend a set of table space on data base!!! Please help me how can I do that through br*tools!!
    Best regards
    João Dimas

  • How to move indexes to another tablespace through script

    Hi Dear,
    How i can move indexes to another tablespace through a script which just gets new tablespace name, owner name and move and rebuild indexes in one go.
    Thank u for your prompt Help.
    Regards

    Hi,
    alter session set sort_area_size = 15000000;
    spool index.sql
    select 'alter index '||owner||'.'||index_name||' rebuild tablespace TARGET_TBS;'
    from dba_indexes
    where tablespace_name = 'INIT_TBS'
    @index.sql
    This script move and rebuild index from one tablespace INIT_TBS to an other tablespace TARGET_TBS
    Hope this help you
    Nicolas.

  • Database reorganization through BRtools

    Hi All,
    Can you please tell me the procedure how to reorganise the total database using BRTools.
    i have gone through the 646681note.
    can you please provide me the steps how to do through  brtools.

    i have seen the above link ,but i cann ot find how to mention all the table spaces names.
    can you tell me how to reorganise total database .
    You cannot reorganise all the tablespaces in the same way.
    System tablespace for example will need a special treatment. And most probably there will be no need to reorganise it.
    But anyway, have a look at
    SAP Note 748434 - New BRSPACE function "dbcreate" - recreate database

  • Enqueue while trying to alter tablespace

    I try to run the "alter tablespace .... read only " command ,
    through sqlplus (as sysdba) ,
    but never get back to prompt .
    instead when I run "select * From v$session_event where sid=XX"
    I get an event named enqueue with large number in "total_waits" column and the same number in "total_timeout" column .
    why do I have this lock ?
    who else can lock the same object ?
    I administer DWH project , with total size of 3.5 T , but the specified tablespace is only 325MB , no one runs a query againts this tablespace right now , and no one writes into tables that are built on that tablespace .
    how can I monitor it and find out what causes the lock ?
    I use oracle 9205 on UNIX AIX 5.3 64 bit .
    Thanks .

    please someone correct me if I'm wrong ,
    but I've just entered the metalink site , and saw that it is a reported bug affecting versions 9.2.0.5 and 10.1.0.3 .
    the bug is fixed in versions 9.2.0.7 and 10.2.0.1 , am I right ?
    they are talking about SMON that holds TT enqueue and preventing alter temporary tablespace , mine , is not temporary tablespace , it is permanent tablespace ,
    but I bumped into the same lock .

  • Alter tablespace command problem (sql statement))

    Hello,
    I have a table space named t_space2.
    I wanna add a datafile for this tablespace so I wrote on sql the following:
    Alter tablespace t_space2
    add datafile 'D:\DATA\cust.dat'
    size 30 M;
    it gives me the following message:
    table space t_space2 doesn't exist!!!
    the tablespace exsits on dba_tablespaces.
    Thank u in advance
    null

    Hi,
    the reason may be that one:
    You created the tablespace with a command like that:
    CREATE TABLESPACE "goofy"
    DATAFILE 'E:\ORADB8I\ORADATA\WARPING\GOOFY_01.dbf' SIZE 5M REUSE
    DEFAULT STORAGE ( INITIAL 80K NEXT 80K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 1 )Using the quotes, You've indicated to the DB to use the name exaclty as written, so in lower cases.
    Because of that, every time You need to refere to the tablespace, but the same is for tables or column names, Youve to use the name "goofy" intead of goofy or GOOFY.
    This is used to permit to the user, if it is necessary to the application, to use a field name that may be:
    "Total Amount Field"
    I believe that this is the rela reason.
    Bye Max
    null

  • Alter tablespace add datafile taking too much time

    Hi All,
    DB Version :10.2.0.1
    OS Version: Windows Server 2003 32 Bit
    When i am trying to add datafile into tablespace it takes lot of time approx 8 hours.but earlier it take approx 40 to 60 mins
    When i check Alert log file i got the message:
    ORA-604 signalled during: alter tablespace crbt add datafile
    I check there is sufficent space in Disk as i need to add Datafile of 30G.
    Syntax i am using is
    ALTER TABLESPACE TEST
    ADD DATAFILE 'C:\TEST02.DBF' SIZE 30G
    Can anyone tell me exactly the reason for the same
    Thanks in advance

    Hi Aman,
    The space is added sometime but most of the time i am getting this error
    SQL> ALTER TABLESPACE IN_OCT2011
    2 ADD DATAFILE 'E:\CAT\IN_OCT04.DBF' SIZE 30G REUSE;
    ALTER TABLESPACE IN_OCT2011
    ERROR at line 1:
    ORA-19502: write error on file "E:\CAT\IN_OCT04.DBF", blockno 11008
    (blocksize=8192)
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process
    has locked a portion of the file.
    Kindly help over the same
    Edited by: Vikas Kohli on Nov 5, 2011 8:38 PM

  • Execution of SQL statement 'alter tablespace PSAPSR3

    Dear mastah,
    I trying extend tablesapce at oracle, but not succesfully, and have problem,
    maybe can help this issue..
    error problem add tablespace:
    BR0280I BRSPACE time stamp: 2014-01-06 10.27.31
    BR0370I Directory /oracle/SID/sapreorg/semxnacf created
    BR0280I BRSPACE time stamp: 2014-01-06 10.27.32
    BR0319I Control file copy created: /oracle/SID/sapreorg/semxnacf/cntrlSID.old 99106816
    BR0280I BRSPACE time stamp: 2014-01-06 10.27.32
    BR1088I Extending tablespace PSAPSR3...
    BR0280I BRSPACE time stamp: 2014-01-06 10.27.51
    BR0301E SQL error -59 at location BrSqlExecute-1, SQL statement:
    '/* BRSPACE */ alter tablespace PSAPSR3 add datafile '/oracle/SID/sapdata16/sr3_218/sr3.data218' size 4000M autoextend off'
    ORA-00059: maximum number of DB_FILES exceeded
    BR1017E Execution of SQL statement 'alter tablespace PSAPSR3 add datafile '/oracle/SID/sapdata16/sr3_218/sr3.data218' size 4000M autoextend off' failed
    BR0669I Cannot continue due to previous warnings or errors - you can go back to repeat the last action
    BR0280I BRSPACE time stamp: 2014-01-06 10.27.51
    BR0671I Enter 'b[ack]' to go back, 's[top]' to abort:
    regards,
    amin

    BR1088I Extending tablespace PSAPSR3...
    BR0280I BRSPACE time stamp: 2014-01-06 10.27.51
    BR0301E SQL error -59 at location BrSqlExecute-1, SQL statement:
    '/* BRSPACE */ alter tablespace PSAPSR3 add datafile '/oracle/SID/sapdata16/sr3_218/sr3.data218' size 4000M autoextend off'
    ORA-00059: maximum number of DB_FILES exceeded
    $ oerr ora 59
    00059, 00000, "maximum number of DB_FILES exceeded"
    // *Cause:  The value of the DB_FILES initialization parameter was exceeded.
    // *Action: Increase the value of the DB_FILES parameter and warm start.
    $

  • Demerits of alter tablespace begin backup on 10.2.0.4

    Hi,
    What are the demerits of putting a tablespace in hot backup mode. I know that it generates additional data in redo logs. But, does DBWR and LGWR performance is also impacted? Does database writer throughput reduce leading to free buffer waits? Are these wait events common - free buffer waits and log file sync waits when tablespace is in hot backup mode? Please clarify.
    Thanks,
    Madhav

    Those wait events would be symptoms of the increased I/O and higher I/O Wait/Response times.
    There is obviously more Redo, so LGWR has more to write.
    DBWR performance is probably being constrained by the I/O.
    Note that it isn't just the ALTER TABLESPACE BEGIN BACKUP that is the cause. It is also the backup itself -- whether you are using cp or cpio or tar or any other method to copy datafiles to disk or to tape or to a remote server / tape library. The backup is reading from the same datafiles that DBWR is writing to and, if it is writing the backup to local disks, it is also introducing additional write I/O.

  • Backup through brtools

    Hi,
      Iam unable to login the system.my ora arch directory is full,i know how to take backup through db13.
    iam unaware of how to take the back up through brtools.how to solve this problem.os is aix and db is oracle. guide me for same to solve problem.
    Thanku

    Hi Harshit,
    Do the following to take archive log backup:-
    On WIndows:-
    Step 1:- Login with SIDadm
    Step 2:- Open CMD prompt and use brtools command
    Step 3:- It will open Brtools screen
    Step 4:- Select option 4 backup and database copy
    Step 5:- Next select 2 Archivelog backup
    Step 6:- Then continue , continue and continue it will start archivelog backup.
    On Unix:-
    Step 1:- login with Ora<SID> user
    Step 2:- Brtools
    Step 3:- It will open Brtools screen
    Step 4:- Select option 4 backup and database copy
    Step 5:- Next select 2 Archivelog backup
    Step 6:- Then continue , continue and continue it will start archivelog backup.
    OR
    you can use the following command
    brarchive -c -sd -u
    Best luck
    Atil

  • Alter tablespace sa online;

    Dear Everyone,
    SQL> alter tablespace sa online;
    alter tablespace sa online
    ERROR at line 1:
    ORA-01113: file 6 needs media recovery
    ORA-01110: data file 6: '/u01/app/oracle/product/11.2.0/db_1/dbs/tbs_data.dat'
    Can anyone tell me what is the problem here
    SQL> recover datafile  '/u01/app/oracle/product/11.2.0/db_1/dbs/tbs_data.dat';
    ORA-00279: change 1859444 generated at 06/17/2013 02:57:17 needed for thread 1
    ORA-00289: suggestion :
    /flash_recovery/flash_recovery_area/SA/archivelog/2013_07_01/o1_mf_1_35_%u_.arc
    ORA-00280: change 1859444 for thread 1 is in sequence #35
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    AUTO
    ORA-00308: cannot open archived log
    '/flash_recovery/flash_recovery_area/SA/archivelog/2013_07_01/o1_mf_1_35_%u_.arc
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00308: cannot open archived log
    '/flash_recovery/flash_recovery_area/SA/archivelog/2013_07_01/o1_mf_1_35_%u_.arc'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Can Anyone please help me on this.
    Thanks
    Gajanan

    Gajananh999 wrote:
    Dear Everyone,
    SQL> alter tablespace sa online;
    alter tablespace sa online
    ERROR at line 1:
    ORA-01113: file 6 needs media recovery
    ORA-01110: data file 6: '/u01/app/oracle/product/11.2.0/db_1/dbs/tbs_data.dat'
    Can anyone tell me what is the problem here
    SQL> recover datafile  '/u01/app/oracle/product/11.2.0/db_1/dbs/tbs_data.dat';
    ORA-00279: change 1859444 generated at 06/17/2013 02:57:17 needed for thread 1
    ORA-00289: suggestion :
    /flash_recovery/flash_recovery_area/SA/archivelog/2013_07_01/o1_mf_1_35_%u_.arc
    ORA-00280: change 1859444 for thread 1 is in sequence #35
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    AUTO
    ORA-00308: cannot open archived log
    '/flash_recovery/flash_recovery_area/SA/archivelog/2013_07_01/o1_mf_1_35_%u_.arc
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00308: cannot open archived log
    '/flash_recovery/flash_recovery_area/SA/archivelog/2013_07_01/o1_mf_1_35_%u_.arc'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Can Anyone please help me on this.
    Thanks
    Gajanan
    Why was tablespace SA offline in the first place?
    What did you do with /flash_recovery/flash_recovery_area/SA/archivelog/2013_07_01/o1_mf_1_35_%u_.arc that the recovery could not find it?
    What version (to 4 decimals) and edition (Enterprise, Standard, Standard One) is your database?

  • How to alter tablespace add in pdb from cdb root

    Hi Experts,
    Is there a way to run the "alter tablespace xx add tempfile ..." command in root cdb while the tablespace xx belongs to a pdb. Is it possible to do it without login or change session to pdb? Thanks.

    Krishna-Oracle wrote:
    You have to login into particular PDB using alter session set container command and then make changes.
    You are confusing logging to PDB with setting PDB as current container. These are two completely different actions. Create common user:
    SQL> connect /@sol12 as sysdba
    Connected.
    SQL> create user c##ommon identified by common container = all;
    User created.
    SQL> grant create session to c##ommon container = all;
    Grant succeeded.
    SQL> grant set container to c##ommon container = all;
    Grant succeeded.
    Create after login trigger for the common user in a PDB:
    SQL> connect /@pdb1sol12 as sysdba
    Connected.
    SQL> create or replace
      2    trigger c##ommon_logon_trigger
      3      after logon
      4      on c##ommon.schema
      5      begin
      6          raise_application_error(-20500,'You are not allowed logging to this PDB.');
      7  end;
      8  /
    Trigger created.
    SQL>
    Now I will login as c##ommon to CDB and with set container to PDB:
    SQL> connect c##ommon@sol12
    Enter password: ******
    Connected.
    SQL> alter session set container = pdb1sol12;
    Session altered.
    SQL>
    As you can see, AFTER LOGON trigger wasn't executed. And now I will try logging to PDB:
    SQL> connect c##ommon@pdb1sol12
    Enter password: ******
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20500: You are not allowed logging to this PDB.
    ORA-06512: at line 2
    Warning: You are no longer connected to ORACLE.
    SQL>
    Now you see SET CONTAINER != LOGIN.
    SY.

  • Informations about  'alter tablespace ... coalesce'

    Hi,
    I'm quite new relatively to the DBA functions. I have an Oracle 8i database on a RedHat Linux server.
    I've examined my tablespaces and I found that many of my tablespaces have the pctincrease=0. In this case the process SMON don't join the adjacent free extents so I have a lot of free extents but only few of them are coalesced.
    I thought to coalesce them with the command 'alter tablespace nametablespace coalesce', but I don't know very much this command. I'd like to know more informations about it, above all if I can launch it when my users are working on the database or if it's better to stop the listener and to do a backup before to launch it (among the tablespace that I need to coalesce I have also the Temp tablespace).
    In other words: is the alter tablespace coalesce an harmless command or I need to take some precutions ? And Where I can find more informations about this command ?
    Thanks
    Marco

    You can find more information about the command by reading the manual.
    Coalescing tablespaces is a relatively harmless command. You can run it while users are on the system. They might experience a momentary slowdown, but probably not. All the command does is delete and update entries in an Oracle internal table (FET$ if anyone cares). Coalesce will do nothing if there are no adjacent blocks of free space to coalesce.
    You do not want to coalesce the freespace in your temp tablespace. Oracle manages this internally, and it is more efficient to have a lot of fragments for temp. It saves a lot of recursive sql when a new extent is needed for a sort.
    In the other tablespaces, if the blocks of free space are relatively large, then coalescing will not really gain anything. If your fragments are small, and your segments are frequently allocating new extents (which in itself is a problem), then you may gain a little performance by manually coalescing the tablespace. However, Oracle will coalesce free space if required to get enough space to allocate a new extent.
    If you want to see if coalescing will do anything, you can use:
    SELECT tablespace_name,file_id,block_id,block_id + blocks next_free
    FROM dba_free_space
    ORDER BY 1,2,3Then check if next_free in the previous row is the same as block_id in the current row.
    TTFN
    John

  • Alter tablespace RW on standby database

    I work with Oracle8i for Solaris.
    I've created a stanby database which is opened in read only.
    Now, I need to use a temporary tablespace, so
    I've tried :
    "alter tablespace temp nologging read write;"
    But, oracle answer me an ORA-16000 error (database open for read-only access).
    So :
    1) Is it possible to use a temporary tablespace in standby mode ?
    2) How.
    Thanks,
    Philippe
    null

    Hello,
    Since the table sizes is about 100GB , it takes time to move and rebuild the indexes and the end user application doesnot work if any of the index is unusable or not present.I think it will generate a lot of Archived logs, so it will be very heavy to manage and apply to your Standby.
    If it's possible, it will be faster to put your Primary database in NOARCHIVELOG mode then, you make the Move and Rebuild.
    Afterwards, you put again the Primary in ARCHIVELOG mode and take a good BACKUP of it.
    Later, when nobody work on Standby, you recreate it.
    Hope this help.
    Best regards,
    Jean-Valentin

  • [b]Resizing/Altering Tablespaces Oracle9i[/b]

    1. I want to solve a performance problem by resizing the:
    temporary tablespace
    rollback tablespace
    undo tablespace
    using
    Alter tablespace, by doubling the storage parameters.
    Is this enough or should I resize the associated datafiles?
    2. Is it better performance wise: to resize the datafiles, i.e doubling
    capacity
    OR
    adding another datafile to the tablespace with the same capacity as
    the first one.

    Well U should add space in datafiles if datafiles are of smaller size and very soon they need to autoextend.
    Storage parameters must be decided before making tablespace.
    for ur second query i will suggest u to have different datafile on different disks

Maybe you are looking for