Times Ten Cache
I have system(Super Computer) which has 4.2 terra byte of memory. Is it possible to install Times ten into that machine?
how much Cache is allocated to it? what happens if the allocated cache exhausts?
Provideds the machine runs an O/S and CPU type that is supported by TimesTen then you can install TimesTen on the machine. The amount of memory allocated to TimesTen is controlled by you via configuration parameters. If the memory allocated to TimesTen becomes full (e.g. you fill it with data) then any operation that must allocated more memory will fail with a specific error code indicating that the datastore is full.
TimesTen provides various mechanisms to help manage the memory such as dynamic caching (load on demand) and data aging.
Chris
Similar Messages
-
Times Ten == cache only?
Hi,
I have a huge DB with tables with more than 40 millions register each. As you can imagine complex queries (from any type of client including JDBC and ODBC) on this DB have a poor performance.
The thing is that using a cache is not useful for our needs, since data changes from one day to the other, so the question is if TimesTen can still help us to improve the performance of our DB.
If so, Can TimesTen handle the huge size of our tables? What's the size limit?
Thank you!The TimesTen database software has no size limitation, but people have practical limitations when having very large database all reside in memory.
Can you provide more information?
- I saw from another of your post where you said your application has 435 nodes, each accessing 30 registers, and each has 80 fields for statistics. So does this mean:
* You have 435 primary keys representing <what>?
* For each <what>, you need to access 30 days of data
* and for each day, there are 80 fields of statistics you need
- Do your queries always access the last 30 days of data? If yes, will a sliding window that keeps 30 days of most recent data in TimesTen work? With that, you load a new day of data and age out the oldest day of data.
- How much data do you have for 30 days? Will 30-day worth of data be a reasonable size to cache in TimesTen?
Susan -
Caching configuration (Times Ten - Oracle 10g)
Hi all,
I have managed to setup Times Ten and get a cache group configured against a table in an oracle 10g instance.
That all works so great. My question is how do I define a set of cache groups and get Times Ten to load them in automatically all together. So what I am saying, is I dont want to have to enter these cache group definitions in manually via ttisql command line (as I have done this time).
Could someone please point me in the right direction with this? Also I would like to be able to set TT up such that the cache agent is automatically started. Is this possible?
Thanks,
DanHi Dan,
In the same way that you can create cache groups through a ttIsql script you can also load them from a script using the LOAD CACHE GROUP and REFRESH CACHE GROUP commands.
However, let's remember that TimesTen is a persistent database and so you should not need to re-create the cache groups nor re-load them just becasue you have stopped and started TimesTen. The cache group definitions and data will still be present as they are persistently stored. Also, if you have a READONLY or USERMANAGED cache group using AUTOREFRESH then the changes that occur in oracle are captured and refreshed to the cache group(s) automatically.
As for starting the cache agent 9or the repagent0 automatically, this kind of depends on how you are managing the startup/shutdown of the cache datastore (i.e. what itss ramPolicy is). You can set the cachePolicy for the datastore using ttAdmin as follows:
ttAdmin -cachePolicy always DSNname
this tells TimesTen that the cache agent should always be running for this datastore. However, a side effect of this is that the datastore will allways be loaded in memory when the TimesTen instance is up (i.e. the TimesTen main daemon is running). If you want to be able to start and stop the datastore manually (or from a script) then you will likely be using a ramPolicy of manual and running some script to load/unload the datastore into/from memory. If so then just add the relevant ttadmin -cacheStart|-cacheStop commands to that script.
Chris -
Unable to insert into oracle db using times ten
I have a times ten 6.0 installation on my m/c connected to an oracle 10.2.0.2 database. The database is a remote database. My application is deployed to oracle application server (10.1.3.1 SOA). I am getting the following SQLException when I try to insert.the first row.
java.sql.SQLException: [TimesTen][TimesTen 6.0.4 ODBC Driver][TimesTen]TT5105: OCI initialization failed. -- file "bdbEnv.c", lineno 275, procedure "ttBDbEnvAlloc"
My env is as follows
OS = Windows 2000
DataSource = User DSN
First Connection
Permanent Data Store = 100
Temporary Data Store = 50
Connections = 20
Synchronous write through cache
I tried a select on the table before insert and it worked. Using ttisql I can insert into this table without any problem. Using a standalone java program I am able to insert data into this table. But from within an appserver I am facing this issue.
Thanks in advance for any help.
Regards,
Mahesh.Jimmyb,
Are you logged in as the user that owns that table?
Yes.
If yes, then there are no triggers on this table.
That is true.
You will need to populate the ID column with your insert statement.
Just did that.
Usually, the sequence is very similar to the table name.
Yes I tried few of them in my sql query and it said "sequence cannot be found"
Isn't there some way that it will list the name of the sequence currently being used in a table? -
Times ten not scaling how to speed up.
Hello Everyone,
I am doing evaluation of times ten to use it as cache but it is not scaling in my test bed:
From the http://vimeo.com/28397753 demo it seems it can do 5 million transaction per minute by in my test bed which is 4 gb machine it is taking sweet 140 seconds to insert 100 K records almost 120 times slower!
I have only one table with a integer column and only one index on that column which is not unique.
TermSize: 1024m
PermSize: 2024m
We want a scallable solution that can go upto 250 Million records in a table (and we will have two such table other will be smaller) is it possible with times ten?
Our queries will generally requst 50K results and we will have 12 fields in this table numeric and integer that we are going to separately index.
Look up also on a one integer table are taking about 100 milliseconds.
I am using a TimesTenDataSource ds = new TimesTenDataSource();
String URL = "jdbc:timesten:direct:TT_1121";
I tried doing batch inserts of 25,100,500,100 rows per insert with not much improvement.
Is oracle times ten even fit for such a case?
thanks and regards,
sumitYou say that your machine has 4 GB RAM but you have allocated over 3 Gb to TimesTen. That's fine if there is pretyt much nothing else running o nthe machine but if you have otjer things (such as Oracle DB maybe?) running o nthe machine at the same tiem then you are likely running low on memory. Are you seeing significant page in and pageout acticity when the test runs? If so this will seriously impact performance.
Can you please provide:
1. A description of the overall hardware and software environment that you are using for the test.
2. The exact TimesTen version (output of ttVersion) command.
3. The DSN configuration (from sys.odbc.ini)
4. The actual table (or cache group) defintiion including any indexes.
5. Details of the Java test program. In particular; are you using parameterised INSERT statements? Are you preparing them just once and executing them many times? How often do you commit during the bulk load? etc.
Thanks,
Chris -
Use of Times ten database with Oracle Forms 11g
Hi,
We need to use some caching / pre-fetching solution with Oracle Forms 11g. Is there a possibility that Oracle Forms 11g can be used with Times ten database.
Regards,We have never tested TimesTen with Forms 11g but we suspect there are issues that may prevent if from being used.
Sorry.
Chris -
How to close all active connections in Times ten database
Hi,
I am new to Times Ten database.
Uisng ttsatus utility I am able to find our the active conenctions but not sure how to close this. I m using windows as OS
Request your help in this regards
Regards,
HarmeetIs there a way to manually kill a lock from a transaction or roll back transaction etc.
In oracle, we just kill the user session.
I have an issue with read-only cache, stuck with the below lock.
I end up in bouncing the dameon (!!@!@)
stopping cachemanager took time.. but still this lock was active.
========================
[ttadmin:lmmk672@MARTD] /psimofmmk2/TimesTen/palmttd1/bin > ttXactAdmin palmttd1
2012-05-31 13:48:23.872
/psimofmmk2/TimesTen/data/palmttd1/data/palmttd1
TimesTen Release 11.2.2.2.0
Outstanding locks
PID Context TransID TransStatus Resource ResourceID Mode SqlCmdID Name
Program File Name: timestensubd
12743 0x2aafe00008c0 138.1298 Active Database 0x01312d0001312d00 IX 0
Program File Name: timestenorad
13824 0x2aaff8199410 12.83968 Active Database 0x01312d0001312d00 IX 0
Command 21019064176 S 21019064176
Table 1732240 W 21018623224 PALM_DBO.EXTRNL_AVAILABILITY_COMBD
Row BMUFVUAAAAaAAAAJBu S 21018623224 SYS.TABLES
Row BMUFVUAAAA3AAAAEhq Sn 21018623224 SYS.CACHE_GROUP
Table 1732480 S 21018623224 PALM_DBO.T10_TEST
Row BMUFVUAAAAaAAAAIBv S 21018623224 SYS.TABLES
Row BMUFVUAAAA3AAAADhr Sn 21018623224 SYS.CACHE_GROUP
Table 1732528 S 21018623224 PALM_DBO.EXCHANGE_TIME
Row BMUFVUAAAAaAAAALBv S 21018623224 SYS.TABLES
Row BMUFVUAAAA3AAAAEhr Sn 21018623224 SYS.CACHE_GROUP -
Hi,
I'm sorry to post my question here,I just don't know where to the proper location for this one. By anyway, if somebody to help me out here it would be great and I will deeply appreciate it.
We are testing the oracle times-time database cache on our oracle 10g development server. We are going to what would be the effect or changes our apps data retreival. I was able to install times-ten, but when I'm trying to cache a database I having some errors somthing about
"ttOCIEnvNlsCreate."
I have followed the steps in your quick tutorials and end up with this error.I think it has something to do with the wrapping of the database characterset. Kindly advise on what to do.
I have checked that the database character set of my oracle database is AL32UTF8, and put this in .odbc.ini file on the times ten home directory.
thanksHi Antok,
Are you getting 5105: OCI initialization failed? If so, this error message indicates that there was an error trying to communicate with an Oracle database.
It may not be related to the character set setting. This is usually caused by not configuring the oracle client correctly, for example ORACLE_HOME or LD_LIBRARY_PATH is not set correctly.
This error is disccussed in page 82 of the [TimesTen Database Troubleshooting guide|http://download.oracle.com/otn_hosted_doc/timesten/703/TimesTen-Documentation/troubleshooting.pdf#page=90|OCI Initialization failed - TimesTen Troubleshooting Guide]. Follow the troubleshooting steps are see if they help.
Simon -
Hi all,
I want to use times ten to cache a part of a database on 2 sites.
The product seems incomplete and difficult to adapt for an existing application.
Is someone use it ?
Is there a roadmap on this product to make it nearest from oracle?
Is there any other solution to cache a part of database on site side to avoid network latency problems (on frequently accessed reference tables) ?
Thanks
Jean-Lucsome other options i can think about
you may cache those reference tables in the database buffer, you may also cashe them in your application server, cashe them in browser. -
Hi ,
Any idea where we use this times ten in memory for oracle ?
Is it part of oracle applications or database.what exactly is its functionality ?
thanks!It is a completely separate product. Basically it is a database engine and responds to SQL requests. However, it uses a different stucture and is optimized to working in memory and not block oriented as is the traditional Oracle database. As a result, it works screamingly fast for databases that can fit entirely in memory.
It is occasionally used as a front end, or cache, to the traditional Oracle database.
If you want to get more information, you could look at Oracle's [TimesTen portal |http://www.oracle.com/technology/products/timesten/index.html] and communicate with people who actuvely use it in the [TimesTen forums|http://forums.oracle.com/forums/forum.jspa?forumID=244] -
Times-Ten and OracleText Queries
Can Times-Ten be used in conjunction with CONTAINS queries? We need to cache the results of some OracleText queries.
The TimesTen database doesn't support CONTAINs queries and there is no integration with OracleText at this point.
- scheung -
SQL Developer 1.2.1 Build MAIN 32.13 (Windows XP)
We can't Update SQL Developer with Times Ten in-Memory DB Extension 1.2.1.1.0 :-((
We did the same actions as described in tutorial
http://www.oracle.com/technology/products/timesten/viewlets/tt703_sqldev_install_ext_viewlet_swf.html
In addition to tutorial we have "Log In" window
"To download Oracle Times Ten in-Memory Database Extension
you must enter your Oracle Web Account user name and password"
This window was not displayed in tutorial...
We try to use three our OTN accounts and the result
was the same - we was asked with "User name" and "Password"
again, again, again and again,,, :-(
Is it a bug or a feature?
Mayby we didn't understand something or did something wrong?Hi Simon,
I found cause of update failure! It was the HTTP proxy setting.
I turned off "Use HTTP proxy server" checkbox in SQL Developer -> Tools -> Preferences -> Web Browser and Proxy.
After this action SQL Developer was successfully updated with Times Ten Extension.
Valery Yourinsky -
Times ten to improve performance for search results in Oracle eBS
Hi ,
We have various search scenarios in our ERP implementaion using Oracle Apps eBS, for example searching for an item . Oracle apps does provide item search but performance is not great. We have about 30 million items and hence to improve the performance of the search thought Times ten may help.
Can anyone please clarify if Times ten can be used to improve performance on the eBS database , if yes how.Vikash,
We were thinking along the same lines (using TimesTen for massive item search in e-Business Suite). In our case massive Item / parametric search leveraging the Product Information Management application. We were thinking about setting up a POC on a Linux Server with a Vision Instance. We should compare notes?
SParker -
Client Server mode for time ten connection
Hi, I am new to Times Ten and got a question for running TimesTen in Client Server Mode. When it is running in Client/Server mode:
Does the database just run like a regular remote database ?
Is there security for the remote application, such as userid/password ?
Is there any limitation on number of remote connection can concurrently connect to the DB ?
Does it use the JDBC or it has to be the native library ?
Thank you for your help
HenryHi,
With regard to your questions regarding TimesTen client/server mode:
1. Does the database just run like a regular remote database ?
I'm not sure exactly what you are getting at here but yes, I would say that it runs like any other c/s database. If you can be more specific in your question then I can give a more precise answer.
2. Is there security for the remote application, such as userid/password ?
If the TimesTen instance to which you are connecting was installed with Access Control enabled then yes, normal userid/password security applies. The client application must provide a valid TimesTen userid and password in order to establish a connection.
3. Is there any limitation on number of remote connection can concurrently connect to the DB ?
Subject to O/S resource limitations, a single instance of TimesTen (i.e. the TT server) supports a maximum of 9,999 concurrent client/server connections. Each individual datastore supports a maximum of 2047 concurrent connections (direct and client/server).
4. Does it use the JDBC or it has to be the native library ?
The TimesTen JDBC driver supports both direct modde and client/server. The TimesTen ODBC driver is provided in both direct mode and client/server versions. The JDBC driver uses the ODBC driver (it is a type 2 JDBC driver) and so the client machine requires a TimesTen client installation to use either ODBC or JDBC to access a remote datastore.
Chris -
Is ROWNUM supported in Times Ten
Hi,
Is ROWNUM supported in Times Ten SQL queries.
I get and error 2211: Referenced Column ROWNUM not found
Is there any alternative for ROWNUM is Times Ten.
Mangeh Malekar
Message was edited by:
user464199TimesTen provides two alternatives to the use of Oracle's ROWNUM:
1. First N
2. Rows M To N
Each row in the final selected set of a select/update/delete statement after applying all selecting operation including sorting will be assigned a unique number starting from 1. If sorting is not specified, the ordering of rows selected will depend on the type of scan or join chosen.
First N means retaining only the first N rows.
Rows M To N means retaining row mth to nth inclusively.
First N can be used in a delete/update statement or an outermost select of a select statement.
Rows M To N can only be used in the outermost select of a select statement.
Ex:
select first 10 * from t1 order by x1; /* select first 10 rows from t1 after sorting*/
update first 5 t1 set x1=x1+1; /* update first 5 row from t1 */
select row 10 to 100 * from t1; /* select row 10 through 100 from t1 */
Maybe you are looking for
-
I just put Facetime on my MacBook and Ipad. I can connect and recieve video but no sound. The other person can hear me. If I use Skype everything works fine. I can't find any where in Facetime to change settings for the audio. Any suggestions
-
Downloading file to application server
Hi, I have requirement of downlaoding some (.doc,.xls,.txt,.ppt) files into application server from sap r/3,the file will be picked by some other 3rd party application. I was able to achieve it using OPEN DATA SET and TRANSFER,but the data gets encry
-
The only thing displayed in the panel is "siteNameTooltip(x)" I have also reinstalled dreamweaver, since I was previously getting javascript errors on load. I was able to clear the error by adding a missing reference to bc_main.js in BCModulePanel.ht
-
Hi everyone! I'm a Vietnamese, stuying 'developping multi-agent systems with JADE' of WILEY's book. So many things I am not understand so much. Who can help me some example about Agent That subject is very good Good luck to you! thanks
-
Change Range of viewobject at runtime in ADF UIX
Hi, I use ADF UIX for listing a rowset of a table. I have set default range 10 from UI. I wish change this range at runtime and I have recovery the corresponding viewObject from application module. I have set range size to -1 and after execute query,