Can I clone a TimesTen Database

Is there a way that I could clone a TimesTen database copying all the commit and log files, in order to recover it in a different site?

If you are not using replication then, as long as the 'other site' is the same hardware type, O/S and TT version you can take a ttBackup from the original datastroe and restore it at the other site.
While it is possible to do this using manual copying of the checkpoint and log files that is fraught with danger and is absolutely unsupported. ttBackup does this safely and easily - use that...
If you are using replication then another option is to clone the datastore using ttRepAdmin -duplicate.
Chris

Similar Messages

  • How can we clone the Oracle database in new Oracle Home

    Hi,
    I would like to clone oracle database into new oracle home. How can we set it using OEM.
    I am using 10g grid control. Target db is on solaris
    Thanks
    Naveen

    after logging into target database, under maintenance tab, data movement header; ther is "clone database" option. When you click on it; you'll see :
    Clone Database uses RMAN to duplicate a database from:
    -- An open database in ARCHIVELOG mode, or
    -- An open database in NOARCHIVELOG mode (restart required), or
    -- A saved working directory from previous cloning
    Clone Database performs the following operations:
    -- Backup each database file and store it in a working directory
    -- Transfer each backup file from source to destination host
    -- Restore each backup file to existing destination Oracle Home
    -- Recover the cloned database with saved archived log files
    -- Open the cloned database with resetlogs
    It seems to be for cloning to a different host, but i guess you can chose the same host for source and destination. (I've never used cloning on em by the way :))
    But firstly, you should create a new oracle home, you can simply copy your oracle home with a new name (cp -R /oracle/app/oracle/product/10.2.0 /oracle/app/oracle/product/10.2.0.new) or make a new installation.
    I suggest you to do this cloning with CLI. You should take a full backup with RMAN, copy the oracle home, create a new initNEWSID.ora file and nomount the database, restore (or simply copy) controlfiles, restore database (with set newname commands), recover database, open resetlogs.

  • URGENT HELP How Can I clone the database only?

    Hi all
    I have two database, oracle9.2.0.6 running on RHEL4
    one is testing server and the other for the production server
    how can i clone the testing DATABSE on the productioin DATABASE?
    please help me urgent
    Thank You
    Regards

    Hello Tawfik,
    You can use RMAN duplicate with the following link for 9i.
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php
    If you want to clone manually then follow this thread
    Cloning 9i database manually

  • Best way to load initial TimesTen database

    I have a customer that wants to use TimesTen as a pure in-memory database. This IMDB has about 65 tables some having data upwards of 6 million rows. What is the best way to load this data? There is no cache-connect option being used. I am thinking insert is the only option here. Are there any other options?
    thansk

    You can also use the TimesTen ttbulkcp command line utility, this tool is similar to SQL*Loader except it handles both import and export of data.
    For example, the following command loads the rows listed in file foo.dump into a table called foo in database mydb, placing any error messages into the file foo.err.
    ttbulkcp -i -e foo.err dsn=mydb foo foo.dump
    For more information on the ttbulkcp utility you can refer to the Oracle TimesTen API Reference Guide.

  • Can I open these two database simultaneously on a same system?

    I have cloned the current database using Oracle EM Clone tool on a same WinXP system. Can I open these two database simultaneously on a same system? If can, How can Iogin to another database(cloned database)?

    You should be able to start both databases if you did the cloning correctly.
    EM use RMAN duplicate to clone database. It's basically created a AUXILIARY database and duplicate target database into it.
    You must enter destination global name and instance name before proceed. What's instance name you entered?
    set your ORACLE_SID to that instance name and login.

  • Unable to create Entity objects for tables in TimesTen database using ADF

    Hi,
    I am not able to create Entity and View objects for tables in TimesTen database using ADF. I have installed TimesTen client on my machine.
    I have created a database connection by using connection type as "Generic JDBC" and giving driver class and JDBC URL. I am attaching screen shot of the same.
    I am right clicking on Model project and selecting New option after that I am selecting ADF Business components and in it I am selecting Business components from tables and there I am querying for tables.I am getting list of tables and when I am trying to create a Entity object from the table after clicking finish Jdev is closing by itself giving an error.
    Can anyone please help me how to create Entity objects for tables using TimesTen as database.I might be missing some jars or the way I am creating connection might be wrong or any plugins required to connect to TimesTen.

    What is the actual error being given by Jdev? Are you sure that the JDBC connection is using the TimesTen JDBC driver JAR and not some other JDBC driver or the Generic JDBC/ODBC bridge?
    Is ADF even supported with TimesTen?
    Chris

  • TimesTen database in Sun Cluster environment

    Hi,
    Currently we have our application together with the TimesTen database installed at the customer on two different nodes (running on Sun Solaris 10). The second node acts as a backup to provide failover functionality, although right now only manual failover is supported.
    We are now looking into a hot-standby / high availability solution using Sun Cluster software. As understood from the documentation, applications can be 'plugged-in' to the Sun Cluster using Agents to monitor the application. Sun Cluster Agents should be already available for certain applications such as:
    # MySQL
    # Oracle 9i, 10g (HA and RAC)
    # Oracle 9iAS Application Server
    # PostgreSQL
    (See http://www.sun.com/software/solaris/cluster/faq.jsp#q_19)
    Our question is whether Sun Cluster Agents are already (freely) available for TimesTen? If so, where to find them. If not, should we write a specific Agent separately for TimesTen or handle database problems from the application.
    Does someone have any experience using TimesTen in a Sun Cluster environment?
    Thanks in advance!

    Yes, we use 2-way replication, but we don't use cache connect. The replication is created like this on both servers:
    create replication MYDB.REPSCHEME
    element SERVER01_DS datastore
    master MYDB on "SERVER01_REP"
    transmit nondurable
    subscriber MYDB on "SERVER02_REP"
    element SERVER02_DS datastore
    master MYDB on "SERVER02_REP"
    transmit nondurable
    subscriber MYDB on "SERVER01_REP"
    store MYDB on "SERVER01_REP"
    port 16004
    failthreshold 500
    store MYDB on "SERVER02_REP"
    port 16004
    failthreshold 500
    The application runs on SERVER01 and is standby on SERVER02. If an invalid state is detected in the application, the application on SERVER01 is stopped and the application on SERVER02 is started.
    In addition to this, we want to fail over if the database on the SERVER01 is in invalid state. What should we have monitored by the Clustering Agent to detect an invalid state in TT?

  • 11i: Can you clone from 64-bit to 32-bit?

    Wanting to go from x86-64 to x86. Anyone have a Metalink note reference for doing this? I see the clone note says you can clone from 32-bit to 64-bit, but no mention of 64-bit to 32-bit.
    If can't clone, would a migration be the plan instead?
    Thanks in advance.

    Hi,
    Please mention the application release, the database version and the OS.
    Wanting to go from x86-64 to x86. Any specific reason?
    Anyone have a Metalink note reference for doing this? I see the clone note says you can clone from 32-bit to 64-bit, but no mention of 64-bit to 32-bit.I do not think Rapid Clone support cloning from 64-bit to 32-bit -- Log a SR to confirm this with Oracle support.
    If can't clone, would a migration be the plan instead?See (Note: 62290.1 - Changing between 32-bit and 64-bit Word Sizes).
    Thanks,
    Hussein

  • CLONE ORACLE APPS DATABASE TO OTHER MACHINE

    Hi,
    I want to know how I can clone oracle APPS database to other machine.
    Just want to know the database part.
    Thanks in advance

    You really, really want to ask this in the appropriate Oracle Apps forum. Cloning the database may or may not be sufficient-- most packaged applications have their own data dictionaries that may need to be manipulated in application-specific ways in order to properly clone the application. The folks in the Oracle Apps forum should be able to tell you what scripts, if any, you'd need to run for your particular Oracle Apps version and database.
    Justin

  • Clone the pilot database to test database

    How we can clone the pilot database to test database? both DBs are already there...
    Can we do export/import or how?

    Through FTP copy the datafiles to the folders on other server.
    Make new control file.
    Change parameter if needed in init.ora.
    Startup

  • Download the Timesten database

    Hi,
    I am new to this forum. I would like to download the timesten database. I searched in this forum but most of them are saying that, we can download it from
    http://www.oracle.com/technology/software/products/timesten/index.html
    but I am unable to download from here.
    Please let me know if I can download it from anywhere else.
    Thanks in advance,
    Kashi.

    Hi Scheung,
    Thanks for reply. I am able to download.
    The problem was with my Download accelerator. It is not downloading. I disabled it and downloaded.
    Anyway thanks,
    Kashi.

  • Rman clone ? duplicate database ? data guard ? standby database?

    hey there !!
    What is the difference between Rman clone , duplicate database , data Guard , standby db?
    1 more thing , standby database and duplicate database are same??

    RMAN Clone : you take backup of a database on one server ,then take it to other server ,again use RMAN to restore the database,A lot manual intervention is needed in this method
    RMAN DUPLICATE: same as above just that manual intervention is less. With 11gR2 there active database duplication in which you can clone your test database directly from production database without taking and then transferring the backup to test server.
    Standby Database :they are of two types Physical and logical.The setup is done using RMAN with any of the above methods.Standby is the in-sync (can have some delay) version of primary database either block by block which is physical standby configuration or SQL statment wise which is logical standby.
    Data Guard:This is also a standby configuration.Here the failover and switchover are automated with the help of DGMGRL utility.In manual standby this same can be done via SQL*PLUS using sql commands

  • Timesten Database caching multiple oracle instances

    Hi All,
    I need to cache two oracle users which are running on different IP. Can Timesten support this ?
    How do i cache another datastore , if one user is already cache in timesten .

    This means One timesten can cache one single oracle database. ?
    CJ>>    Correct. One TimesTen database can cache data from one Oracle database. Note that a TimesTen instance (installation) supports multiple TimesTen databases.
    Is there any other way to shrink permsize ?
    CJ>>    There is no other way to shrink PermSize. And you can only shrink it if the currently configured size is larger than you really need.
    How can i deploy timesten on RAC?
    CJ>>   The same way as you would for a single instance database. A RAC database is just a single database. TimesTen fully supports RAC.
    Is there any similar feature available like RAC ?
    CJ>>   TimesTen  provides 'Cache Grid' where you can have multiple TimesTen caches which are caching the same Oracle database work together to act as a single distributed cache.

  • Connection with timesten database

    hi everyone,
    I have problem with connecting to timesten database can u help.
    following is the code:
    #ifdef WIN32
    # include <windows.h>
    #else
    # include <sqlunix.h>
    #endif
    #include <sql.h>
    #include <sqlext.h>
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    #include <conio.h>
    static void chkReturnCode(SQLRETURN rc, SQLHENV henv,
    SQLHDBC hdbc, SQLHSTMT hstmt,
    char* msg, char* filename,
    int lineno, BOOL err_is_fatal);
    #define DEFAULT_CONNSTR "DSN=scott_test_dsn;PermSize=32"
    int main(int ac, char** av)
    clrscr();
    SQLRETURN rc = SQL_SUCCESS;
    /* General return code for the API */
    SQLHENV henv = SQL_NULL_HENV;
    /* Environment handle */
    SQLHDBC hdbc = SQL_NULL_HDBC;
    /* Connection handle */
    SQLHSTMT hstmt = SQL_NULL_HSTMT;
    /* Statement handle */
    SQLCHAR connOut[255];
    /* Buffer for completed connection string */
    SQLSMALLINT connOutLen;
    /* number of bytes returned in ConnOut */
    SQLCHAR connStr = (SQLCHAR)DEFAULT_CONNSTR;
    /* Connection string */
    rc = SQLAllocEnv(&henv);
    if (rc != SQL_SUCCESS) {
    fprintf(stderr, "Unable to allocate an "
    "environment handle\n");
    exit(1);
    rc = SQLAllocConnect(henv, &hdbc);
    chkReturnCode(rc, henv, SQL_NULL_HDBC,
    SQL_NULL_HSTMT,
    "Unable to allocate a "
    "connection handle\n",
    __FILE__, __LINE__, 1);
    rc = SQLDriverConnect(hdbc, NULL,
    connStr, SQL_NTS,
    connOut, sizeof(connOut),
    &connOutLen,
    SQL_DRIVER_NOPROMPT);
    chkReturnCode(rc, henv, hdbc, SQL_NULL_HSTMT,
    "Error in connecting to the"
    " data store\n",
    __FILE__, __LINE__, 1);
    rc = SQLAllocStmt(hdbc, &hstmt);
    chkReturnCode(rc, henv, hdbc, SQL_NULL_HSTMT,
    "Unable to allocate a "
    "statement handle\n",
    __FILE__, __LINE__, 1);
    getch();
    static void chkReturnCode(SQLRETURN rc, SQLHENV henv,SQLHDBC hdbc, SQLHSTMT hstmt,char* msg, char* filename,int lineno, BOOL err_is_fatal)
         #define MSG_LNG 512
         SQLCHAR sqlState[MSG_LNG];
         /* SQL state string */
         SQLINTEGER nativeErr;
         /* Native error code */
         SQLCHAR errMsg[MSG_LNG];
         /* Error msg text buffer pointer */
         SQLSMALLINT errMsgLen;
         /* Error msg text Available bytes */
         SQLRETURN ret = SQL_SUCCESS;
         if (rc != SQL_SUCCESS &&
         rc != SQL_NO_DATA_FOUND )
              if (rc != SQL_SUCCESS_WITH_INFO)
                   /** It's not just a warning*/
                   fprintf(stderr, "*** ERROR in %s, line %d:"" %s\n",filename, lineno, msg);
              /** Now see why the error/warning occurred*/
              while (ret == SQL_SUCCESS ||ret == SQL_SUCCESS_WITH_INFO)
                   ret = SQLError(henv, hdbc, hstmt,
                   sqlState, &nativeErr,
                   errMsg, MSG_LNG,&errMsgLen);
                   switch (ret)
         case SQL_SUCCESS:
                        fprintf(stderr, "*** %s\n""*** ODBC Error/Warning = %s, ""TimesTen Error/Warning "" = %d\n",
                        errMsg, sqlState,nativeErr);
                        break;
                        case SQL_SUCCESS_WITH_INFO:
                        fprintf(stderr," failed with return code of "
                        "SQL_SUCCESS_WITH_INFO.\n "
                        "*** Need to increase size of"
                        " message buffer.\n");
                        break;
                        case SQL_INVALID_HANDLE:
                        fprintf(stderr, "*** Call to SQLError"
                        " failed with return code of "
                        "SQL_INVALID_HANDLE.\n");
                        break;
                        case SQL_ERROR:
                        fprintf(stderr, "*** Call to SQLError"
                        " failed with return code of "
                        "SQL_ERROR.\n");
                        break;
                        case SQL_NO_DATA_FOUND:
                        break;
                   /* switch */
              } /* while */
              if (rc != SQL_SUCCESS_WITH_INFO && err_is_fatal)
                   fprintf(stderr, "Exiting.\n");
                   exit(-1);
    m getting error in the functions:
    SQLAllocEnv(...)
    SQLAllocConnect(...)
    SQLDriverConnect(..)
    SQLAllocStmt(...)
    as undefined symbol.
    one more thing while compiling it shows no error but when running it shows linking error::Undefined Symbol
    wtg for some response
    Thanks
    Pooja

    Hi Pooja,
    If you look at the C examples/demos that get installed with TimesTen you will find example Makefiles that have all this information plus lots of other useful stuff. I would recommend that you base your Makefiles or build scripts on what you see in there since the compilation and linker directives etc. are of course platform dependent and the demo Makefiles are the right ones for your specific platform.
    Regards,
    Chris

  • Limitation of Oracle Timesten Database

    Hi,
    We want to deploy the Oracle Timesten11.2 on 64bit RHEL Platform.
    Total Physical RAM Size in Server is 32 GB.
    There are 40 Millions rows in single subscriber table(45 Columns) in Oracle Database
    We want to configure the READ-ONLY-LOCAL CACHE in Oracle Timesten for this subscriber table.
    What should be the size of Oracle Timesten Database for support the above configuration.
    Regards
    Hitgon

    Hi hitgon,
    You can use the ttSize utility (http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21643/util.htm#CHDEHFIE) for prediction the size.
    Example: ttSize -tbl tableName -rows 40000000 your_DSN
    Additionally, you can use ttComputeTabSizes function and tablesize clause for getting the actual table size
    Command> call ttComputeTabSizes('emp');
    Command> tablesize emp;
    Sizes of GENA.EMP:
      INLINE_ALLOC_BYTES:   0
      NUM_USED_ROWS:        0
      NUM_FREE_ROWS:        0
      AVG_ROW_LEN:          Not computed
      OUT_OF_LINE_BYTES:    0
      METADATA_BYTES:       784
      TOTAL_BYTES:          784
      LAST_UPDATED:         2012-01-19 19:37:07.000000
    1 table found.
    Command>
    Command> insert into emp values (1,sysdate,'gena', 'gena', 'gena', 1);
    1 row inserted.
    Command> call ttComputeTabSizes('emp');
    Command> tablesize emp;
    Sizes of GENA.EMP:
      INLINE_ALLOC_BYTES:   52080
      NUM_USED_ROWS:        1
      NUM_FREE_ROWS:        255
      AVG_ROW_LEN:          206
      OUT_OF_LINE_BYTES:    0
      METADATA_BYTES:       784
      TOTAL_BYTES:          52864
      LAST_UPDATED:         2012-01-19 19:37:54.000000
    1 table found.
    Command>Regards,
    Gennady

Maybe you are looking for

  • Indicator:Tax Determ.with doc.date (Assign Co.cd to Doc Date for Tax Detrm)

    Hi there, Facing a question when configuring Tax on Sales/Purchases. In Calculation node, there is a sub node named "Assign company code to document date for tax determination". Can anyone explain me on this, why there is such a logic to calculate ta

  • Reports in OBIEE11g

    Hi i installed in OBIEE11g newly How to create reports in OBIEE11g. Can anyone help me in this. Thanks Manu

  • Can't convert any files...

    I can't convert any PDF to any format, already tried with files of different size and origin, disabled firewall and moved files from places on my HDD... Not a single difference, always gives "Unexpected Error".

  • Headstart performance in 10g database

    A drawback of the business rules implementation of Headstart is the overhead by the CAPI and TAPI code. We are going to upgrade our database from 9i to 10gR2. According to Oracle this should increase the performance of PL/SQL. Are the experiences wit

  • My MBA is full, and cannot find out where the unidentified photos are.

    "About this Mac" says I have 89GB of photos saved. When I check my iPhoto, it only has 36GB of photos. My SSD is full, so I need to find out where the rest of 53GB of photos are. Can someone help?