Multiple Timesten database

Hello

I have some confusion now. I would create several timesten database inside my pc to test the scenario of database multiple timesten. I'll be able to do? And how? Is it by creating several dsn that referring to the different data source locations means I create several timesten database? If this is not the way, please let me know the correct way. For the record, I want that these multiple timesten database to point to the same Oracle user in the Oracle database. Please confirm.
Thanks in advance.

If you create several DSN separated (with different names of course) and make so that each of them points to a different storage location (data store attribute), then these will all of the separate databases TimesTen. Different DSN names that point to the same storage location are really just aliases for the same database TimesTen physical.

From the point of view of the configuration, it is perfectly fine to designate all these databases TT to the same backend user/database Oracle, but from the operational point of view, we must take care to ensure that you don't cause problems of data synchronization.

Chris

Tags: Database

Similar Questions

  • How many still for my application to interact with the Timesten database?

    Hi all, still how much for my application to interact with the Timesten database?
    As far as I know, we can connect directly to the database without network load that improves performance, should my application only to specify the DSN name under the name of DSN Manager data? There is no document to clarify that clearly.
    The other approach is c/s connection and there are 3 commucation protocols, such as plain TCP/IP, sockets, UNIX domain and the CPI, right?

    Yes, that's correct. (Preferably) direct mode when the application and TimesTen are on the same machine. UNIX domain socket and shared memory IPC server local (only for cases of special purpose given that the direct mode is faster and more) and normal TCP/IP client/server (local or remote).

    The specific details on how the application connects depends on which API that it uses (ODBC, OCI, Pro * C, JDBC, ODP .NET). For ODBC and JDBC, you must specify a data source name and use the driver corresponding (direct-mode driver or client driver). For the OIC that is configured through SQL * Net and TNSNAMES. ORA and for ODP .NET, I don't remember without it looking up. Please see the TimesTen for relevant API documentation for full details.

    Chris

  • How to create the schema of the database from an existing TimesTen database?

    Hello everyone,

    I am a newbie to TimesTen database. Before making the complex sql queries, I would get the DB TimesTen database schema. I'm looking for a way extract the database schema (tables, keys, links between tables...). When I was working on another db such as postgreSQL, I could get the sql script of the database (for example, in order to recreate the database in another server). Some software like PowerDesigner has managed to build the model of database of these scripts.

    You know a way to get the same thing with the TimesTen database? Or with another way?

    Concerning

    Hello

    Take a look in the docs at ttSchema, this could do the trick.

    http://download.Oracle.com/docs/CD/E13085_01/doc/TimesTen.1121/e13069/util.htm#autoId27

    Tim

  • Multiple source databases

    Hello
    I need to load data into the dimensions and the cube from multiple source databases. We have databases separate transaction for each country, but the data should be loaded in common target schema. For the moment, we have created maps that loads data from a source database.

    What is the best way to fill, for example clients clients tables (located in multiple source databases) transaction dimension if the distinctive signs of company may overlap?

    I would break into two pieces: the burden of source in the area of transit systems, then the charge of staging in the table target, you are talking about is a dimension.

    There is no reason you would have to use views or synonyms if you do not want. You could raise the issue with a GAME operator, in this case, a union, which brought together all sources in the staging table. However, I would create probably several mappings for each source system. I would create a mapping for each table you want to extract data from and then create a separate process flow that controls all of the tables being drawn from a particular source database. This allows you to program the extractions from the source systems independently of each other in the cases where they need to run at different times. The end result of all this will be a series of staging tables that are loaded from the tables of the source of all different locations. For each of the mappings of the singular, I create a constant that defines the data for this mapping source and load a constant in a column called SOURCE_SYSTEM, or perhaps, as you mentioned. Then, this column SOURCE_SYSTEM/COUNTRY + SOURCE_SYSTEM_ID would be the natural touch.

    You can choose to keep these tables (as an ODS of sorts) or not... it's to you and your needs.

    Finally, I would create a simple mapping that loads the table of the final objective of the intermediate table unique.

    Let me know if this is not sensible.

    Kind regards

    Stewart Bryson

  • Limitation of Oracle Timesten database

    Hello

    We want to deploy the Timesten11.2 Oracle on RHEL 64-bit platform.

    The total physical RAM size in server is 32 GB.

    There are 40 million lines of single Subscriber table (45 columns) in the Oracle database
    We want to configure the CACHE of READ-ONLY-LOCAL in Oracle Timesten for this table to the Subscriber.

    What should be the size of Oracle Timesten support the above configuration database.

    Concerning
    Hitgon

    Hi hitgon,

    You can use the utility ttSize (http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21643/util.htm#CHDEHFIE) for the prediction of the size.

    Example: ttSize - tbl tableName-lines 40000000 your_DSN

    In addition, you can use ttComputeTabSizes function and tableGroesse clause to get 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>
    

    Kind regards
    Gennady

  • Multiple RAC databases on IM even using different subnets for Public i / face

    Hello. We are setting up a 2 cluster nodes. This group will be the host of several RAC databases. For security reasons, our network team want to create separate subnets for the application traffic to each RAC specific database on the cluster.

    For example, request 1 to 2 application servers that will connects to database PROD1 RAC via a single subnet, application 2-3 application servers etc which will be connected to the database RAC PROD2 via a different subnet,.

    In addition, the network team want to configure a subnet separate management DBA etc. will use to administer all the RAC databases and infrastructure in the cluster.

    Version 11.2.0.2 grid infrastructure. The database versions vary from 10.2.0.x to 11.2.0.2. All databases will use RAC.

    We want to take advantage of the features of earphone SCAN to support connectivity to databases on the cluster. 2199620 [https://cn.forums.oracle.com/forums/thread.jspa?threadID=2199620] thread suggests that 11 GR 2 supports several subnets, that seems to be exactly the functionality we need. Please can you confirm how it works and tell us any documentation (standard docs, whitepapers, MOS, etc.) which could help us to configure it.

    Document referenced in thread 2199620 was not exactly what we were looking for and didn't translate too well in Google Translate.

    Any guidance is appreciated. Thanks, Rich.

    Similar topics:

    https://CN.forums.Oracle.com/forums/thread.jspa?MessageID=9846298? (Double SCAN on multi cluster hosted)
    https://CN.forums.Oracle.com/forums/thread.jspa?threadID=2199620 (scan earphone in VLAN OAM)

    Published by: 887449 on 26-Sep-2011 01:41

    Hello

    With Oracle 11.2, you can have multiple public networks accessing your Oracle RAC.
    You must set the init.ora new LISTENER_NETWORKS setting so users are load-balanced on their network. Services are related to the networks so users who connect with network 1 will use a different service as network 2. Each network will have its own VIP.

    Impossible to use both network SCAN function because SCAN will work into a single network and on GRID 11.2 you cannot config more than a SCAN.

    So, you can have a public network (for example, 10.10.10.0) with SCAN/VIP and another public network (e.g. 192.168.217.0) you will only use VIP on TNSNAMES.ora.

    You configure a Service (A) on the network (10.10.10.0) and one other Service (B) on the network (192.168.217.0).

    In the example above using (A) Service you will configure SCAN (scan host) and using Service (B), you must configure all address VIP.

    Kind regards
    Levi Pereira

    Published by: Levi Pereira Sep 26, 2011 18:03

  • Value UDF user not multiplication of database after creating user

    Hello

    We have created 120 UDF to create the profile in IOM and published the sandboxes. (UDF created in the designer in the sysadmin console, add the UDF Create User page)

    The UDF do not appear in the database. But after creating user (which is a success), I don't see the UDF values we have input during the creation of the user did spread to the database. We are sure that we checked for the correct UDF in the database.

    Please let me know the possible cause to this question. I checked the logs and see no error while/after creating the user.

    Please help as to what causes this problem and what can be the possible solution.

    OIM 11 g R2 (11.1.2.0 - BP08)

    -Thank you.

    Abhished,

    Please do not mention the link. It is false. When you create a UDF file to create a user Page, the data component should be the component data - catalog and not the component data - user management.

    Thank you

  • TimesTen database and replication

    Hello gurus,

    I want to know how robust is the transactional replication in real time of TimeTen.

    We currently have RDBMS Oracle and using streams and we are planing to use TimesTen in memory DB.

    In the current configuration we have challenges with replication using streams and knowing that Oracle is more interested in the development of Golden Gate as replication solution, I wonder how good or robust TimesTen real-time transactional replication is and Oracle is committed to provide the upgrades and updates to the solution of replication of the ot.

    You will appreciate your opinion on this.

    Thank you
    Solene

    Hi Eric,.

    I'm not biased, because I do not work for Oracle :).

    First of all, what type of replication that we are talking about? Oracle DB-> TimesTen to TimesTen-> Timesten?

    For TimesTen-> Timesten replication, there is only one way - to use the predefined settings. This replication is working very well, unfortunately I did not performance testing, but I trust Chris in this issue. I tested the replication of Active-Standby pair (works with Oracle Clusterware) and it works fine as well.

    For Oracle DB-> TimesTen replication, you have a few options. Will what type of cache group you use? How many operations per second of your DB Oracle is the treatment?
    You can use the predefined TimesTen mechanism or Golden Gate (recommended for high load).

    Hope this helps.

    Best regards
    Gena

  • Multiple Instances of Timesten

    Hello

    I created two instances of time then with steps below.

    1. create User1 for instances inst1 and inst2

    2. grant create session, admin, create any table, CACHE_MANAGER to User1 for both instances.

    3. in both cases, call the ttCacheUidPwdSet ('user1', 'user1').

    4. call ttcachestart; in both cases.

    5. call ttGridCreate ('TT_INST1GRID'); for inst1

    5. call ttGridNameSet ('TT_INST1GRID'); for both instances.

    6 create the dynamic group of global cache AWT which is exactly the same as the table db oracle connected for two instances.

    7. Enter the ttrepstart for both instances.

    8. CALL the ttGridAttach (1, 'ttdb1_node', 'host', 5001); for inst1

    9. CALL ttGridAttach (1, 'ttdb1_node', 'host', 5002); to inst2

    When I insert lines 10 K INST1 table I can query the table even when I connect to INST1.  But when I ask INST2 I can't find records in INST2.  But oracle propagated with 10K table lines.

    Why INST2 does not display the file that has been inserted through INST1.  Is there nothing fundamentally failed in terms of configuration.

    Please notify.

    Thank you.

    It should be an expected behavior.

    According to the Document in Cache line grid:

    http://docs.Oracle.com/CD/E21901_01/TimesTen.1122/e21634/define.htm#TTCAC261

    A grid of cache TimesTen is designed to prevent the update simultaneous through groups of cache AWT in multiple TimesTen databases by providing a way for users of Oracle databases to horizontally is changing on groups of global cache on several systems with the consistency of the data read/write on TimesTen databases.

    In a grid of cache, only one copy of a cache instance is allowed to be present in all of the network at any time in time. Each instance of cache in a global cache group is owned by the members of the grid where he is currently.

    You can get a map of the complete distribution of data via a global query execution by referring to the

    http://docs.Oracle.com/CD/E21901_01/TimesTen.1122/e21634/gridmembers.htm#CIHIFABA

    autocommit disabled;

    CALL ttOptSetFlag ('GlobalProcessing', 1);

    SELECT , TTGRIDUSERASSIGNEDNAME(), TTGRIDMEMBERID() OF

    ;

    COMMIT;

    Jason Yang

  • TimesTen - 7001: user authentication failed when using XLA

    I installed TimesTen 11.2.1.8.0 on AIX 5.3 System.* user 'oracle '. I created another user of the application 'risk' to use in my application with TimesTen.

    When running my application with the user 'risk' to connect with TimesTen it is OK. But when I want to use the XLA feature, when I call the createDurableSubscriber function, it returns the error

    javax.jms.JMSException: failure of SQLDriverConnect (XlaCommon.c, line 48): S1000 7001 [TimesTen] [driver ODBC of TimesTen 11.2.1.8.0] TT7001 [TimesTen]: user authentication failed - file "db.c", lineno 9722, procedure 'sbDbConnect '.

    It is strange that if I switch to user 'oracle', it works fine.

    Can someone please help understand the reason why.

    Thank you

    You created the user 'at risk' within your TimesTen database?

    CREATE a USER risk IDENTIFIED BY 'some password'?

    You granted the privilege of the user risk to use XLA?

    XLA GRANT at risk;

    Have you used this user name and password in the JDBC URL when connecting to the database application JMS/XLA?

    The 'oracle' user is probably your admin user of the instance (which is the database root) and therefore can use all the features without special action (but of course you never run application as that user).

    Chris

  • Failover of applications TimesTen

    I want to know how Timesten application failover.

    If my apps are on the other host with Oracle Clusterware and TimesTen, can my unalterable standby applications link and my access request in writing to actvie link? But I read the paper, it seems that applications must reside on the same host as Oracle Clusterware and TimesTen, right?

    TimesTen supports two mechanisms for connection; direct mode and client/server. With doe directly applications must run on the same computer as the TimesTen database access (which gives by far the best performance). With client/server, it can run on any computer with a TCP/IP connection to the machine hosting the database TimesTen. For client/server applications, TimesTen supports automatic failover of clients that can be used with active replication / standby pair TimesTen if you use Clusterware to manage failover of replication.

    When you use live view, you don't obviously the application regardless of the failover database (because they are strongly coupled). So for this operating mode you failover the database and the application as a whole. Start a new instance of the application to the new active database after failover. Clusterware can be used to automate (see the discussion on 'Advanced availability' in the TimesTen replication guide in the section on the Clusterware).

    With c/o pair replication applications can connect to assets (to perform reads and writes) and forward (for reading only). The watch is "hot".

    Chris

  • Oracle Timesten with apex oracle

    I use Oracle 11 g 2 and apex 4.2.4 how to use oracle timesten with oracle apex?

    I want to use timesten to improve performance on the report by adding two tables oracle timsten.

    It is the configuration of linux.

    http://blogs.DataDirect.com/2014/04/Oracle-TimesTen-database-gateway-ODBC-realtime-downstream.html

  • Some simple queries on TimesTen

    Hi, I am completely new to TimesTen, wondering just how he can interact with the standard Oracle databases

    Q1. What is the connection to TimesTen method? i.e. it is Sql * Net?

    Q2. What is used for the backup TimesTen databases? They are essentially a backup of the transaction logs, so no matter what backup file based method? for example installation standard backup of the operating system on which is deployed TimesTen?

    Q3. I assume that tools such as Data Pump, Exim etc do not work with TimesTen?

    Q4. TimesTen usable as Data Source for Oracle BI Server (i.e. OBIEE) or, in the alternative to hold the repository BI?

    Q5. Are the available DML and DDL Sql, basic commands to be used with TimesTen?

    Thank you
    Jim

    Hello, Jim. With regard to your questions:

    Q1. What is the connection to TimesTen method? i.e. it is Sql * Net?

    A1: When TimesTen communicates with Oracle, it regularly uses SQL * Net to mechanisms. For Oracle DB, it appears as just another customer.

    Q2. What is used for the backup TimesTen databases? They are essentially a backup of the transaction logs, so no matter what backup file based method? for example installation standard backup of the operating system on which is deployed TimesTen?

    A2: TimesTen offers it own backup and restore utilities (ttBackup/ttRestore) that allow you to create online, consistent, complete and incremental backups. These tools are the only supported way to back up a database TimesTen. Do not use OS level backup tools files to back up a database as a result "backup" will not be be consistent and probably won't be usable.

    Q3. I assume that tools such as Data Pump, Exim etc do not work with TimesTen?

    A3: Exact, however, TimesTen has its own set of tools that offer many opportunities.

    Q4. TimesTen usable as Data Source for Oracle BI Server (i.e. OBIEE) or, in the alternative to hold the repository BI?

    A4: Yes, TimesTen is supported as a data source for OBIEE. Actually TimesTen is one of the key technologies in OBIEE battery designed BI Exalytics system. It is not currently supported to store the repository of BI in TimesTen.

    Q5. Are the available DML and DDL Sql, basic commands to be used with TimesTen?

    A5: Yes, although there are differences in the syntax and features supported by TImesTen compared to Oracle DB. But TimesTen supports most of the usual SQL.

    You can find to put much more detail on TimesTen by browsing the presentations, whitepapers and documents, available here:

    http://www.Oracle.com/technetwork/database/database-technologies/TimesTen/Overview/index.html

    Chris

  • Failed to load class com.timesten.jdbc.TimesTenDriver

    Hello

    I want to use proxool with TimesTen database, but it does not work, please help...

    URL of the pilot: = jdbc:timesten:direct:dsn; oraclepwd =

    driver: com.timesten.jdbc.TimesTenDriver


    It is said:

    Caused by:

    org.xml.sax.SAXException: unable to load class com.timesten.jdbc.TimesTenDriver

    org.logicalcobwebs.proxool.ProxoolException: unable to load class com.timesten.jdbc.TimesTenDriver

    at org.logicalcobwebs.proxool.configuration.XMLConfigurator.endElement(XMLConfigurator.java:198)

    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528)

    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)

    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)

    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)

    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)

    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

    at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)

    at org.logicalcobwebs.proxool.configuration.JAXPConfigurator.configure(JAXPConfigurator.java:87)

    at org.logicalcobwebs.proxool.configuration.JAXPConfigurator.configure(JAXPConfigurator.java:56)

    Caused by: org.logicalcobwebs.proxool.ProxoolException: unable to load class com.timesten.jdbc.TimesTenDriver

    at org.logicalcobwebs.proxool.ConnectionPool.setDefinition(ConnectionPool.java:749)

    to org.logicalcobwebs.proxool.ConnectionPool. (ConnectionPool.java:121)

    at org.logicalcobwebs.proxool.ConnectionPoolManager.createConnectionPool(ConnectionPoolManager.java:93)

    at org.logicalcobwebs.proxool.ProxoolFacade.registerConnectionPool(ProxoolFacade.java:109)

    at org.logicalcobwebs.proxool.ProxoolFacade.registerConnectionPool(ProxoolFacade.java:97)

    at org.logicalcobwebs.proxool.ProxoolFacade.registerConnectionPool(ProxoolFacade.java:69)

    at org.logicalcobwebs.proxool.configuration.XMLConfigurator.endElement(XMLConfigurator.java:196)

    ... 12 more

    I don't know anything about "proxool", but:

    1. your JDBC URL must provide a value for the DSN, UID, and PWD attributes with values and, if Oracle access/updated caching is used, a value for oraclepwd.

    2. in order for the JDBC driver to find and load:

    (a) the TimesTen ttjdbc appropriaten. jar file are added to the JVM classpath.

    (b) the TimesTen 'lib' directory (Unix/Linux) or the 'bin' (Windows) directory are added to the JVM's native library path. The JDBC TT driver is a JDBC/ODBC bridge and needs to load native ODBC libraries.

    Chris

  • How to install several databases backup

    I have to install multiple standby databases using Data Guard. Here are my questions:

    1. What is is the key parameters to take care of?
    2. We're adding newspapers of recovery for the day before on the primary, we need to add two sets of newspapers of recovery for data bases from the day before 2?
    3. How the Data Guard identify what redo log is add to watching?
    4. Y at - it any parameter value for set for newspapers waiting to roll forward in the event of multiples of the day before?

    Kind regards

    Neeraj G.

    Mahir,

    You are correct, but according to section 3.1.3 set up a standby Redo Log, for example 3-2, adding a Standby Redo Log File Group to a specific group number

    Note:

    Although forward redo log is used only when the database is running in the standby role, that oracle recommends to create a log waiting to roll forward the primary database so that the primary database can switch quickly to the role of Eve without the need for intervention extra s/n. Consider using Oracle Enterprise Manager to automatically configure newspapers waiting for Redo on your databases and relief.

    Highlight lines above confused me. I added standby redo log on primary which is correct, as stated above. But that work in several cases also ensures?

    Kind regards

    Neeraj G.

Maybe you are looking for