Report of database growth

Hello

We have a mixture of Oracle and SQL Server databases, and we bought Toad DBA suite last year. Asked me to provide monthly trend reports, capacity database and appear a growth. Can anyone tell if this information can be obtained using Toad DBA suite?

It seems that there is growth company reports available in Spotlight, but it seems that the version of Spotlight we have are not undertaken. Foglight is another option.

All opinions are appreciated.

Best regards

Joanna

Down load this Pack at the bottom of the link: -.

http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-for-databases/m/DB-downloads/20439152

Tags: Dell Tech

Similar Questions

  • Using Reporting SERVICES report server cannot open a connection to the report server database in SQL server 2008 R2 sp1

    Hello

    I'm running Reporting SERVICES Version 2007.0100.1600.022 ((SQL_PreRelease). 080709-1414 in Visual Studio 2008 with Microsoft SQL Server 2008 R2 Express Edition with Advanced Services (64-bit) on Windows NT 6.1 SP1.)
    Everything seems to work fine except that I can't deploy: "the report server cannot open a connection to the report server database."
    Connection test ReportServer as OK in the Configuration service report manager and Visual Studio. Run reports in Visual Studio against ReportServer and my other databases.  Deployment fails on a report of VM. Remote access is enabled in the firewall, pipes is enabled in configuration Manager SQL server, the permissions for all access in Windows.
    The error in the log file of report Service:
    Library! WindowsService_1! 12ac! 09/23/2012-21: 05:12: e ERROR: ServiceStartThread: Exception caught during the startup of service. Error: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDatabaseUnavailableException: the report server cannot open a connection to the report server database. A connection to the database is required for all applications and treatment. ---> System.Data.SqlClient.SqlException: a network-related or instance-specific error all by establishing a connection to SQL Server. The server is not found or inaccessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - error Search Server/Instance specified)
    Any ideas?
    Thank you.
    -Phil

    Just, I solved the problem I had.

    It turns out, there, there were two questions... first concealing the second.

    SQL Web browser has not been activated.  solution: in properties SQL server configuration manager, transformed the startup to automatic mode and activated the service.

    Microsoft Visual Studio project property targetdatasourcefolder had a server name that precedes the name of the folder. Removed the name of the server.  This works.

    Everything unfolds right now.

  • Oracle database growth

    Hi guys,.

    I'm in Oracle Database 10 g Enterprise Edition Release 10.2.0.5.0 - Production on RHEL5 64 bit.

    I want to get the growth of the database by month or week.

    Is there a script that I can use for this information?

    Help, please!

    Thanks in advance.

    user11979518 wrote:
    Hi guys,.

    I'm in Oracle Database 10 g Enterprise Edition Release 10.2.0.5.0 - Production on RHEL5 64 bit.

    I want to get the growth of the database by month or week.

    Is there a script that I can use for this information?

    Help, please!

    Thanks in advance.

    check out the link for the growth of the database below...
    http://Neeraj-DBA.blogspot.com/2011/04/tracking-Oracle-database-growth.html

    hope this can help you

    Neeraj-

  • Database growth

    Hello
    AIX OS
    DB 9.2 / 10g
    EBS 12.0.4

    How can I check size of weekly and monthly database growth.

    Thank you
    MAAN

    Try this query...

    SQL> select to_char(creation_time, 'RRRR Month') "Month", b.name,
    sum(bytes)/1024/1024 "Growth in Meg"
    from v$datafile a, v$tablespace b
    where a.ts# = b.ts#
    group by to_char(creation_time, 'RRRR Month'), b.name
    order by 1;
    

    Thank you
    Hussein

  • Daily or weekly control database growth

    Hi people,

    How to check the growth of the database on a weekly or daily basis, please provide me with the sql query to check.

    Concerning

    Younus

    Something along the lines of her below will show you the current use. I recommend putting in a dbms_scheduler job, schedule to run every week, and insert the results into a table. You can use this to calculate the growth over time.

    To do a quick check on the calculation of free space (knowing look at dba_free_space, dba_data_files, dba_segments etc.) are you satisfied with the result:

    Select dfs.tablespace_name, round(sum(dfs.bytes/1024/1024),0).

    Round(DDF.tot_bytes-sum(DFS.bytes/1024/1024),0),

    DDF.tot_bytes,

    DDF.max_bytes,

    trunc (sysdate)

    from dba_free_space dfs.

    (select nom_tablespace,

    Round (Sum (bytes) / 1024/1024,0) tot_bytes,.

    Round (Sum (MaxBytes) / 1024/1024,0) max_bytes

    from dba_data_files

    DDF group by tablespace_name)

    where dfs.tablespace_name = ddf.tablespace_name

    Group of dfs.tablespace_name, ddf.tot_bytes, ddf.max_bytes, sysdate

  • Problem link DB between active Data Guard and reports application database

    My version of the 11.2.0.2.0 and OS database is Oracle Solaris 10 9/10.
    I am facing a problem in my custody of data Active data base for purposes of tax. Active Data guard information is as below.

    SQL > select name, database_role, open_mode from v$ database;

    NAME DATABASE_ROLE OPEN_MODE
    --------- ---------------- --------------------
    ORCL PHYSICS READ SHALL ONLY APPLY

    Detail of the problem is less than
    ------------------------------
    I have created a db link (name: DATADB_LINK) between active data guard and report of application of data base for purposes of tax.
    SQL > create database DATADB_LINK link to connect to HR identified by HR using 'DRFUNPD ';
    Database link created.

    But when I run a query using db link to my database of enforcement report I got this error below.

    ORA-01555: snapshot too old: rollback segment number 10 with the name ' _SYSSMU10_4261549777$ ' too small
    ORA-02063: preceding the line of DATADB_LINK

    Then I see logfile named database alart Active Data Guard and get below error

    ORA-01555 caused by the following SQL statement (SQL ID: 11yj3pucjguc8, time of request = 1 sec, SNA: 0x0000.07c708c3): SELECT "A2". "' BUSINESS_TRANSACTION_REFERENCE ', 'A2 '. "' BUSINESS_TRANSACTION_CODE ', MAX (CASE 'A1'. "TRANS_DATA_KEY"WHEN "feature' AND 'A1'." " END OF TRANS_DATA_VALUE"), MAX (CASE 'A1'. "TRANS_DATA_KEY" WHEN 'otherFeature' THEN 'A1' '. "" END OF TRANS_DATA_VALUE")

    But the interesting point if I run the query report directly in the Active Data Guard database, I got never error.

    So it's a problem of link DB between active Data Guard and other databases?

    Fazlul Kabir Mahfuz wrote:
    My version of the 11.2.0.2.0 and OS database is Oracle Solaris 10 9/10.
    I am facing a problem in my custody of data Active data base for purposes of tax. Active Data guard information is as below.

    SQL > select name, database_role, open_mode from v$ database;

    NAME DATABASE_ROLE OPEN_MODE
    --------- ---------------- --------------------
    ORCL PHYSICS READ SHALL ONLY APPLY

    Detail of the problem is less than
    ------------------------------
    I have created a db link (name: DATADB_LINK) between active data guard and report of application of data base for purposes of tax.
    SQL > create database DATADB_LINK link to connect to HR identified by HR using 'DRFUNPD ';
    Database link created.

    But when I run a query using db link to my database of enforcement report I got this error below.

    ORA-01555: snapshot too old: rollback segment number 10 with the name ' _SYSSMU10_4261549777$ ' too small
    ORA-02063: preceding the line of DATADB_LINK

    Then I see logfile named database alart Active Data Guard and get below error

    ORA-01555 caused by the following SQL statement (SQL ID: 11yj3pucjguc8, time of request = 1 sec, SNA: 0x0000.07c708c3): SELECT "A2". "' BUSINESS_TRANSACTION_REFERENCE ', 'A2 '. "' BUSINESS_TRANSACTION_CODE ', MAX (CASE 'A1'. "TRANS_DATA_KEY"WHEN "feature' AND 'A1'." " END OF TRANS_DATA_VALUE"), MAX (CASE 'A1'. "TRANS_DATA_KEY" WHEN 'otherFeature' THEN 'A1' '. "" END OF TRANS_DATA_VALUE")

    But the interesting point if I run the query report directly in the Active Data Guard database, I got never error.

    So it's a problem of link DB between active Data Guard and other databases?

    Check this statement that applies to your environment

    * ORA-01555 on Active Data Guard Standby Database [1273808.1 ID] *.

    also

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:8908307196113

  • Reg: Direct report Req database

    Hi Experts,

    Please help me...

    When I try to create the database Direct request... I get the below error...

    can any one guide me pls...


    ODBC driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 43093] An error occurred when processing the statement EXECUTE PHYSICS. [nQSError: 17001] Oracle error code: 942, message: ORA-00942: table or view does not exist to the call of the OCIStmtExecute OIC. [nQSError: 17010] Prepare the SQL statement failed. (HY000)
    Publ. SQL: {call NQSGetQueryColumnInfo ("POOL of CONNECTIONS PHYSICAL"DMTG"" RUN. "")} (Sélectionnez connexion Pool"* de POSITION_REPORT")}

    BI does not know how to treat a query as below

    Select * from POSITION_REPORT

    Try to be specific for column names instead of *.

    It should work without any problems.

    If brand as helping correct :)

    Published by: Srini VIEREN on 8 April 2013 07:29

    It would be nice if you update your old post before posting a new one, which allows you to get answers

    Published by: Srini VIEREN on April 18, 2013 06:54

  • Database status report.

    Hi export,

    Currently, I joined a company as an Oracle Dba. I'm new to the world of s/n, my manager told me to prepare a progress report from database. Please suggest me how I can create the report.


    Kind regards...
    Sandra

    You could include in this report:

    -Use of space.
    -Memory usage
    -Static session
    -Redolog
    Backup Rman-

    http://bit.LY/UY7XTh

  • Database for monthly growth monitoring

    Guys,

    DB = 10.2.0.5.
    OS = RHEL 3

    I need to monitor the growth of database oracle (db size) for each month. So, when necessary we can get growth of db and opt for a capacity planning.

    Do you have any custom for this script?

    Thank you
    Hari

    Salvation;

    Mention of similar question here several times, please use mechanisim of research:

    Search:

    Re: OEM Database analysis scripts
    Salvation;

    Please see:
    http://docs.Oracle.com/CD/B16240_01/doc/EM.102/e10954/sizing.htm< from="">

    I suggest you also please see below thread
    DB growth per month for the last 7 months
    How to monitor the growth of the database?
    % Of database growth
    database growth
    How to monitor growth of schema in a database?

    Respect of
    HELIOS

  • change the connection of database for the FRS report

    Currently we use the model BSO ASO and all reports of FRS are recover against BSO Database.Now we are the conversion to the single model of ASO. can I use the same report on database of ASO.

    There is an option of connecting database chang under the tool in the workspace. will this work or do I have to redo all the reports

    can you please help me with this

    Thank you

    In the workspace just to discover > tools > change data connections > select report > choose new connection > fact.
    It can be changed by the same method

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Database Configuration report

    Hello

    Pls advice me how to get the 'Configuration report of database"on oracle 10g

    I thank you,

    Jagath

    Extraction of the details of database 10g

  • switch database to copy and backagain

    I have 2 asm disk groups, DATA + and + FRA. I want to make a quick recovery, so I "switch the database to copy".

    My question is after it is done, what are the steps to move the database back to + DATA.  The database is large and there is not enough space in the

    groups of disks to store a backup and a database.  Which means after I go to the copy, I need to remove the old db to + DATA.

    1. I have to remove the old db to + DATA.  How will know rman to delete what is in + DATA and not + FRA?

    delete backup; 
    

    2 "restore" FRA to + ETRUBANS "

    RMAN> backup as copy database format '+DATA';
    RMAN> backup as copy current controlfile format '+DATA';
    RMAN> switch database to copy
    
    RMAN> startup nomount;
    RMAN> alter database mount;
    RMAN> recover database;
    RMAN> alter database open; 
    
    

    Is this good?  Am I missing a step?

    It's a common mistake to not allocate enough disk space for the fast recovery area. As a general rule, I suggest to FRA at least 3 times as large as your database, in order to maintain a current version and previous backup, plus one space for archiving logs.

    Regarding your question, when you put the database to copy, previous data files will come to the 'new' copy. After you have changed the data files, you can then simply delete the copy of the database and thus remove the old data files.

    For example:

    RMAN> report schema;
    
    using target database control file instead of recovery catalog
    Report of database schema for database with db_unique_name ORCL1
    
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace          RB segs Datafile Name
    ---- -------- -------------------- ------- ------------------------
    1    760      SYSTEM              ***    +DATA/orcl1/datafile/system.256.862871041
    2    740      SYSAUX              ***    +DATA/orcl1/datafile/sysaux.257.862871041
    3    155      UNDOTBS1            ***    +DATA/orcl1/datafile/undotbs1.258.862871041
    4    5        USERS                ***    +DATA/orcl1/datafile/users.259.862871041
    5    346      EXAMPLE              ***    +DATA/orcl1/datafile/example.269.862871121
    
  • extract from catalog rman backup report sorted by host name

    Hi all

    I have a catalog database.

    I have a lot of database running on multiple servers.

    I need to extract the backup report of database catalog sorted by host name.

    Please share all the reporting scripts you have.

    Here is the script that I have to extract the backup report

    Col in the shape of "TIME_SINCE_LAST_BACKUP (HOURS) topic TIME 99999.99

    Col BACKUP_SIZE column titled "BACKUP_SIZE (GB)"

    Neck backup for a12

    Course DURATION col ' BACKUP | DURATION | (MIN) "form 999.99

    TIME of col position "TIME_SINCE | LAST_BACKUP | (H) ' train 99999.99.

    col BACKUP_SIZE column headers "BACKUP_SIZE column | (GB) »

    SELECT A.DB_NAME

    , A.OBJECT_TYPE 'BACKUP '.

    (, TO_CHAR(A.START_TIME,'dd/mon/yyyy hh24:mi:ss') START_TIME

    (, TO_CHAR(A.END_TIME,'dd/mon/yyyy hh24:mi:ss') END_TIME

    , ROUND ((A.END_TIME - A. (START_TIME) * 24 * 60, 2) DURATION

    , ROUND ((SYSDATE - A. (END_TIME) * 24: 2) TIMES

    ROUND (OUTPUT_BYTES/1024/1024/1024,2) BACKUP_SIZE COLUMN

    OF rman. RC_RMAN_STATUS, A.

    (SELECT DB_NAME, OBJECT_TYPE

    MAX (END_TIME) END_TIME

    OF rman. RC_RMAN_STATUS

    WHERE

    OBJECT_TYPE IN ('FULL DB","DB INCR")

    AND

    STATUS like '% COMPLETE '.

    AND

    OPERATION ("BACKUP", "BACKUP COPYROLLFORWARD")

    DB_NAME, OBJECT_TYPE) B

    WHERE A.OBJECT_TYPE IN ('FULL DB", 'DB INCR', 'ARCHIVELOG')

    AND

    STATUS like '% COMPLETE '.

    AND

    OPERATION ("BACKUP", "BACKUP COPYROLLFORWARD")

    AND

    A.DB_NAME = B.DB_NAME

    AND

    A.END_TIME = B.END_TIME

    AND A.OBJECT_TYPE = B.OBJECT_TYPE and

    A.end_time > sysdate - 1.5

    ORDER BY 2,1 desc;

    Hello

    I think you need to create your own table and add the entry for the server name, database and DBID and then use this table in your query with join column DBID.

    HTH

  • Error database backup restore.

    Hello

    I simply duplicate my PRODUCTION database to the TEST database (11.2.0.1 both) on windows 7.

    I just create a backup of the PRODUCTION:
    RMAN> backup full database format ='C:\Users\my_user\miBBDD\flash_recovery_are
    a\TEST\database_%U';
    and backup controlfile:
    RMAN> backup current controlfile format='C:\Users\my_user\miBBDD\flash_recover
    y_area\TEST\CONTROL_FILE_%U';
    now I am trying to restore this backup in TEST with this script:
    RMAN
    CONNECT TARGET /
    STARTUP NOMOUNT;
    SET DBID 486238190;  #DBID of TEST database
    RUN
    {
      ALLOCATE CHANNEL c1 DEVICE TYPE disk format 'C:\Users\my_user\miBBDD\flash_recovery_area\TEST\DATABASE_07NHV7KD_1_1';
      RESTORE CONTROLFILE FROM 'C:\Users\my_user\miBBDD\flash_recovery_area\TEST\CONTROL_FILE_09NHV8MI_1_1'; 
      ALTER DATABASE MOUNT;
      SET NEWNAME FOR DATAFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\SYSTEM01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\SYSTEM01.DBF'; 
      SET NEWNAME FOR DATAFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\SYSAUX01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\SYSAUX01.DBF'; 
      SET NEWNAME FOR DATAFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\UNDOTBS01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\UNDOTBS01.DBF'; 
      SET NEWNAME FOR DATAFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\USERS01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\USERS01.DBF'; 
      SET NEWNAME FOR DATAFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\EXAMPLE01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\EXAMPLE01.DBF'; 
      SET NEWNAME FOR TEMPFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\TEMP01.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\TEMP01.DBF';
      SET NEWNAME FOR TEMPFILE 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\TEMP02.DBF' TO 'C:\USERS\my_user\MIBBDD\ORADATA\TEST\TEMP02.DBF';
      RESTORE DATABASE;
      RECOVER DATABASE;
      release channel c1;
    }
    ALTER DATABASE OPEN RESETLOGS; 
    but I have a similar error when I tried to reproduce two databases (post->double error databases
    fallo de la recuperaci¾n del medio fÝsico
    canal liberado: c1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: fallo del comando recover en 08/06/2012 11:53:06
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: fallo al analizar/ejecutar la sentencia SQL: alter database recover
    if needed
     start until cancel using backup controlfile
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 1: 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\SYSTEM01.D
    BF'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'C:\USERS\my_user\MIBBDD\ORADATA\PRODUCTION\SYSTEM01.D
    BF'
    Controlfile was restored correctly. what I am doing wrong?

    OK;

    Not sure if it is the solution you're looking for or not. In a nutshell what I did was setup on the remote control must be a bit like the source database and did the restore using its ORACLE_SID. In addition to the DBID and control files, restore at the same place, it seems good. Here are my steps:

    H2. Step 1
    On the source database, a table is created and added some data

    CREATE TABLE DEL_ME_LATER (
       NAME          VARCHAR2(30),
       ENTER_DATE     DATE  DEFAULT SYSDATE
    );
    
    INSERT INTO DEL_ME_LATER ( NAME) VALUES ( 'ME_101');
    COMMIT;
    
    SELECT * FROM DEL_ME_LATER;
    
    NAME                           ENTER_DATE
    ------------------------------ -------------------------
    ME_101                         08-AUG-12 
    

    H2. Step 2
    Source database is using backup:

    $ORACLE_HOME/bin/rman target / nocatalog  << EOF
    
    run {
    allocate channel d1 type disk;
    backup format '/u03/oradata/RCATALOG_rman/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u03/oradata/RCATALOG_rman/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile format '/u03/oradata/RCATALOG_rman/sb_t%t_s%s_p%p';
    release channel d1;
    }
    
    This creates these files
    
    al_t790761999_s84_p1
    df_t790761919_s79_p1
    df_t790761976_s80_p1
    df_t790761991_s81_p1
    df_t790761995_s82_p1
    

    H2. Step 3
    The source database ID is obtained

    select DBID from v$DATABASE
    
    DBID
    ----------------------
    3754763357   
    

    H2. Step 4
    Create the folder structure on the remote server

    mkdir -p /u01/oradata/RECLONE/
    mkdir -p /u01/app/oracle/oradata/RECLONE/
    mkdir -p /u01/app/oracle/admin/RECLONE/pfile
    mkdir -p /u01/app/oracle/admin/RECLONE/adump
    mkdir -p /u01/app/oracle/admin/RECLONE/dpdump
    mkdir -p /u02/oradata/RECLONE/
    mkdir -p /u03/oradata/RECLONE_rman
    mkdir -p /u01/oradata/RCATALOG/
    mkdir -p /u01/app/oracle/oradata/RCATALOG/
    mkdir -p /u01/app/oracle/admin/RCATALOG/pfile
    mkdir -p /u01/app/oracle/admin/RCATALOG/adump
    mkdir -p /u01/app/oracle/admin/RCATALOG/dpdump
    mkdir -p /u02/oradata/RCATALOG/
    mkdir -p /u03/oradata/RCATALOG_rman
    
    Note: After several tests I found the simple thing was to use RMAN restore without changing the ORACLE_SID so I created dual folders on the remote system as shown above.
    

    H2. Step 5
    SCP backup on the remote server

    scp /u03/oradata/RCATALOG_rman/al_t790761999_s84_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
    scp /u03/oradata/RCATALOG_rman/df_t790761919_s79_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
    scp /u03/oradata/RCATALOG_rman/df_t790761976_s80_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
    scp /u03/oradata/RCATALOG_rman/df_t790761991_s81_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
    scp /u03/oradata/RCATALOG_rman/df_t790761995_s82_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
    scp /u03/oradata/RCATALOG_rman/df_t790761996_s83_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
    scp /u03/oradata/RCATALOG_rman/sb_t790762003_s85_p1 192.168.0.20:/u03/oradata/RCATALOG_rman
    

    H2. Step 6
    Report control scheme allows to get information about files

    Report of database schema for database with db_unique_name RCATALOG
    
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace           RB segs Datafile Name
    ---- -------- -------------------- ------- ------------------------
    1    1000     SYSTEM               ***     /u01/app/oracle/oradata/RCATALOG/system01.dbf
    2    700      SYSAUX               ***     /u01/app/oracle/oradata/RCATALOG/sysaux01.dbf
    3    195      UNDOTBS1             ***     /u01/app/oracle/oradata/RCATALOG/undotbs01.dbf
    4    5        USERS                ***     /u01/app/oracle/oradata/RCATALOG/users01.dbf
    5    200      RMANCAT              ***     /u02/oradata/RCATALOG/rman02.dbf
    6    200      THINGS               ***     /u02/oradata/RCATALOG/things01.dbf
    7    250      OTNDATA              ***     /u02/oradata/RCATALOG/otn01.dbf
    8    20       APP_INDEX            ***     /u01/oradata/RCATALOG/app_idx01.dbf
    9    450      APP_DATA             ***     /u01/oradata/RCATALOG/app_dat01.dbf
    10   100      AUDIT_AUX            ***     /u01/app/oracle/oradata/RCATALOG/audit_aux01.dbf
    
    List of Temporary Files
    =======================
    File Size(MB) Tablespace           Maxsize(MB) Tempfile Name
    ---- -------- -------------------- ----------- --------------------
    1    67       TEMP                 32767       /u01/app/oracle/oradata/RCATALOG/temp01.dbf
    

    H2. Step 7

    Skipped after testing - was create INIT file
    

    H2. Step 8
    Move the spfile and rcatalog password file and archive current (today until backup) on the new server.

    /u01/app/oracle/oradata/RCATALOG/archive/ARC0000000111_0717990814.0001
    /u01/app/oracle/oradata/RCATALOG/archive/ARC0000000112_0717990814.0001
    
    /u01/app/oracle/product/11.2.0.2/dbs/orapwRCATALOG
    /u01/app/oracle/product/11.2.0.2/dbs/spfileRCATALOG.ora
    

    H2. Step 9
    Listener and tnsname changes on the remote server. None.

    Not used on remote for copy
    

    H2. Step 10
    I used a Linux script to restore

    restore_test.sh

    echo "Starting RMAN..."
    $ORACLE_HOME/bin/rman  << EOF
    
    CONNECT TARGET /
    STARTUP NOMOUNT;
    SET DBID 3754763357;  #DBID of PROD database
    
    RUN
     {
       ALLOCATE CHANNEL c1 DEVICE TYPE disk format '/u03/oradata/RCATALOG_rman';
       RESTORE CONTROLFILE FROM '/u03/oradata/RCATALOG_rman/sb_t790762003_s85_p1';
       ALTER DATABASE MOUNT;
       SET NEWNAME FOR DATAFILE 1 TO '/u01/app/oracle/oradata/RECLONE/system01.dbf';
       SET NEWNAME FOR DATAFILE 2 TO ' /u01/app/oracle/oradata/RCATALOG/sysaux01.dbf';
       SET NEWNAME FOR DATAFILE 3 TO '/u01/app/oracle/oradata/RECLONE/undotbs01.dbf';
       SET NEWNAME FOR DATAFILE 4 TO '/u01/app/oracle/oradata/RECLONE/users01.dbf';
       SET NEWNAME FOR DATAFILE 5 TO '/u02/oradata/RECLONE/rman02.dbf';
       SET NEWNAME FOR DATAFILE 6 TO '/u02/oradata/RECLONE/things01.dbf';
       SET NEWNAME FOR DATAFILE 7 TO '/u02/oradata/RECLONE/otn01.dbf';
       SET NEWNAME FOR DATAFILE 8 TO '/u01/oradata/RECLONE/app_idx01.dbf';
       SET NEWNAME FOR DATAFILE 9 TO '/u01/oradata/RECLONE/app_dat01.dbf';
       SET NEWNAME FOR DATAFILE 10 TO '/u01/app/oracle/oradata/RECLONE/audit_aux01.dbf';
      SET NEWNAME FOR TEMPFILE 1 TO '/u01/app/oracle/oradata/RECLONE/temp01.dbf';
       RESTORE DATABASE;
       SWITCH DATAFILE ALL;
       RECOVER DATABASE;
       release channel c1;
     }
    ALTER DATABASE OPEN RESETLOGS; 
    
    exit
    EOF
    

    H2. Summary

    Barks a little
    
    unable to find archived log
    archived log thread=1 sequence=113
    released channel: c1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/08/2012 19:04:40
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 113 and starting SCN of 1948130
    
    RMAN>
    database opened
    
    But no log 113 exists.
    

    H2. Test

    Connected.
    SQL> SELECT * FROM DEL_ME_LATER;
    
    NAME                           ENTER_DAT
    ------------------------------ ---------
    ME_101                         08-AUG-12
    
    SQL>
    

    H2. Final script

    echo "Starting RMAN..."
    $ORACLE_HOME/bin/rman  << EOF
    
    CONNECT TARGET /
    STARTUP NOMOUNT;
    SET DBID 3754763357;  #DBID of PROD database
    
    RUN
     {
       ALLOCATE CHANNEL c1 DEVICE TYPE disk format '/u03/oradata/RCATALOG_rman';
       RESTORE CONTROLFILE FROM '/u03/oradata/RCATALOG_rman/sb_t790762003_s85_p1';
       ALTER DATABASE MOUNT;
       SET NEWNAME FOR DATAFILE 1 TO '/u01/app/oracle/oradata/RECLONE/system01.dbf';
       SET NEWNAME FOR DATAFILE 2 TO '/u01/app/oracle/oradata/RECLONE/sysaux01.dbf';
       SET NEWNAME FOR DATAFILE 3 TO '/u01/app/oracle/oradata/RECLONE/undotbs01.dbf';
       SET NEWNAME FOR DATAFILE 4 TO '/u01/app/oracle/oradata/RECLONE/users01.dbf';
       SET NEWNAME FOR DATAFILE 5 TO '/u02/oradata/RECLONE/rman02.dbf';
       SET NEWNAME FOR DATAFILE 6 TO '/u02/oradata/RECLONE/things01.dbf';
       SET NEWNAME FOR DATAFILE 7 TO '/u02/oradata/RECLONE/otn01.dbf';
       SET NEWNAME FOR DATAFILE 8 TO '/u01/oradata/RECLONE/app_idx01.dbf';
       SET NEWNAME FOR DATAFILE 9 TO '/u01/oradata/RECLONE/app_dat01.dbf';
       SET NEWNAME FOR DATAFILE 10 TO '/u01/app/oracle/oradata/RECLONE/audit_aux01.dbf';
       SET NEWNAME FOR TEMPFILE '/u01/app/oracle/oradata/RCATALOG/temp01.dbf' TO '/u01/app/oracle/oradata/RECLONE/temp01.dbf';
       SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo01.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo01.log'' ";
       SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo01A.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo01A.log'' ";
       SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo02.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo02.log'' ";
       SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo02A.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo02A.log'' ";
       SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo03.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo03.log'' ";
       SQL "ALTER DATABASE RENAME FILE ''/u01/app/oracle/oradata/RCATALOG/redo03A.log'' TO ''/u01/app/oracle/oradata/RECLONE/redo03A.log'' ";
    
       RESTORE DATABASE;
       SWITCH DATAFILE ALL;
       SWITCH TEMPFILE ALL;
       RECOVER DATABASE;
       release channel c1;
     }
    ALTER DATABASE OPEN RESETLOGS; 
    
    exit
    EOF
    

    Best regards

    mseberg

  • Retrieve all the names of objects of an application in APEX 4.0 source database

    Hello

    I completed an application developed in APEX 4.0 (Database 10g of @Oracle).

    Now we need to migrate the scripts including all database objects that support the application of a scheme A scheme B.

    Is there a report that I can run to the information like this:

    Number of the page, the name of the database object used (including table and view sequence)

    This would allow me to review each database object used in a scheme A and ensure that the same object and the data have been copied in diagram B without missing anything.

    Thank you
    Susanna

    Hello

    On APEX 4.1 there is report of database object dependencies
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/bldr_app_rpt.htm#CEGGAICH

    I don't know is this feature in APEX 4.0

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

Maybe you are looking for

  • Crash recovery system factory

    Hi guys,. I was doing a system recovery plant for about 2 hours. I have completed the formatting and reinstallation of recovery disks 1, 2, 3 and deleted records. The system continued to install packaged software and was nearly 95% through when it su

  • Port USB MB153-ULW error

    IAM gettina a MB153-ULW error on one of my USB ports and one of the other ports he gets misconfigured after I ran an interview and a dignostic test iam on vista home premium it asks my mouse compatiable malfunction he works for a couple of hours then

  • Create a header ONLY on the first page

    How can I create a document that has only a header on the first page? I tried everything, including Page breaks, which don't work. All I want is to create a fundamental part of the "header" where a logo only appears at the top of the first page and d

  • Slow application Simulator BB10 deployment

    Hi all I use the BB10 Simulator for deploing apps, but when the wifi does not work it takes tha more a minute, but when wifi is off, it just takes a few seconds... Someone knows how to fix this? Thank you!

  • Transfer of the old Inbox messages to new 1525

    How can I transfer 'old' E-mail Inbox of 6000 to 1525 new box? The two are connected by radio and are able to share.