Application connection to  TimesTen In-Memory Database

Hi All,
We're in the planing of creating TimesTen In-Memory Database for our production databases.Now we're in testing phase,we made one TimesTen In-Memory Database for one test database.
Now we don't want to put all database in memory, we've some selected tables for some users,we only want these tables will by in memory, so we create cache group & add theese tables in that.
Now some of my database is in memory & some database is not in memory,so I want to know that how the application users will connect to database ??
Is they connect to TimesTen In-Memory Database or our main database ???
If they connect to TimesTen In-Memory Database how they will access the procedures of functions etc from main database ???
Or If they connect to main database how these TimesTen In-Memory Database tables will access by users ???
Is TimesTen In-Memory Database will help only when we put whole database in memory ???
Thinks & Regards,
Atul Mandale.

Hi Atul,
If you want to cache all your database then just create cache groups to encapsulate all your tables. That is the only way. However, I am far from sure this would be a good idea...
TimesTen is not a transparent, 'just plug it in' performance accelerator (such a thing does not exist and probably never will). It is intended to solve specific problems i.e. when some or all parts of an application need 'real time' access to some database data and the performance requirements (usually response time but sometimes throughput) are such that they either cannot be met at all, or cannot be met cost effectively, using Oracle DB or RAC alone. If one has that kind of situation then TimesTen may be able to help. It is unlikely to help a general application scenario just by plugging it in. Note that to successfully implement TimesTen it is almost always necessary to make both application and architectural changes. Why is this?
1. You are moving from a single DB to a multi-DB solution. Each item of data can be mastered (i.e. be updateable) in only one DB - Oracle or TimesTen. All parts of the system must understand this and enforce this or dat inconsistency may result.
2. All the data held in TimesTen must fit into physical memory. Data storage requirements often increase when moving a table from Oracle to TT. If you have a table that takes up 5 GB in Oracle it may well need 8 GB or more of memory in TimesTen. Unless your Oracle database is quite small you will need a machine with a very large amount of memory to cache the whole DB in TimesTen.
3. Queries and transactoons cannot span data in TT and Oracle. Any given query or transaction must execute entirely in TimesTen or Oracle.
4. Depending on which tables are cached and which are not, some application componenst may need to be aware of the location (TT or Oracle) of specific tables/data and go to the right place to get it. The TimesTen PassThrough feature can certainly help a lot with this but it does not necessarily address every possible issue.
5. Today, TimesTen only supports ODBC and JDBC APIs. If you have an application that uses OCI it must be recoded to use ODBC. The next major release of TimesTen does support OCI.
6. TimesTen does not support triggers or PL/SQL. The next major release supports PL/SQL and we have our own proprietary event notification API called XLA.
7. Although the SQL supported by TimesTen is a large subset of Oracle SQL there are still incompatibilities and some datatypes (e.g. CLOBS/BLOBS is on example) that TimesTen does not support.
While it may be possible to cache all your database it may not be a very practical, or beneficial, way to go. Can you share a bit of detal about the problem you are trying to solve with TimesTen so that maybe we can advise you of the best approach?
Chris

Similar Messages

  • Oracle TimesTen In-Memory Database Risk Matrix

    Hi,
    From the following web-site I can see two vulnerabilities listed against TimesTen --- CVE-2010-0873 and CVE-2010-0910
    http://www.oracle.com/technetwork/topics/security/cpujul2010-155308.html
    ================================================================
    Oracle TimesTen In-Memory Database Risk Matrix
    CVE#      Component      Protocol      Package and/or Privilege Required      Remote Exploit without Auth.?      CVSS VERSION 2.0 RISK (see Risk Matrix Definitions)      Last Affected Patch set (per Supported Release)      Notes
    Base Score      Access Vector      Access Complexity      Authentication      Confidentiality      Integrity      Availability
    CVE-2010-0873      Data Server      TCP      None      Yes      10.0      Network      Low      None      Complete      Complete      Complete      7.0.6.0      See Note 1
    CVE-2010-0910      Data Server      TCP      None      Yes      5.0      Network      Low      None      None      None      Partial+      7.0.6.0, 11.2.1.4.1      See Note 1
    ===========================================================================
    Please let me know if I need to take any action on my current TimesTen deployment.
    Im using TimesTen Release 11.2.1.8.4 and 7.0.5.16.0 in our customer sites.
    Request you to respond with your valuable comments.
    Regards
    Pratheej

    Hi Pratheej,
    These vulnerabilities were fixed in 11.2.1.6.1 and 7.0.6.2.0. As you are on 11.2.1.8.4 you are okay for 11.2.1 but the 7.0.5.16.0 release does contain the vulnerability. If you are concerned then you should upgrade those to 7.0.6.2.0 or later (check for the latest applicable 7.0 release in My Oracle Support).
    Chris

  • Oracle TimesTen In-Memory Database VS Oracle In-Memory Database Cache

    Hi,
    What is difference in Oracle TimesTen In-Memory Database VS Oracle In-Memory Database Cache.
    For 32 bit on windows OS i am not able to insert data's more than 500k rows with 150 columns (with combinations of CHAR,BINARY_DOUBLE,BINARY_FLOAT, TT_BIGINT,REAL,DECIMAL,NUMERIC etc).
    [TimesTen][TimesTen 11.2.2.2.0 ODBC Driver][TimesTen]TT0802: Database permanent space exhausted -- file "blk.c", lineno 3450, procedure "sbBlkAlloc"
    I have set Perm size as 700 mb,Temp size as 100mb
    What is the max size we can given for PermSize,TempSize,LogBufMB for 32 bit on windows OS.
    What is the max size we can given for PermSize,TempSize,LogBufMB for 64 bit on windows OS.
    What is the Max configuration of TT for 32 bit what i can set for Perm size Temp size.
    Thanks!

    They are the same product but they are licensed differently and the license limits what functionality you can use.
    TimesTen In-Memory Database is a product in its own right allows you to use TimesTen as a standalone database and also allows replication.
    IMDB Cache is an Oracle DB Enterprise Edition option (i.e. it can only be licensed as an option to an Oracle DB EE license). This includes all the functionality of TImesTen In-Memory Database but adds in cache functionality (cache groups, cache grid etc.).
    32-bit O/S are in general a poor platform to try and create an in-memory database of any significant size (32-bit O/S are very limited in memory addressing capability) and 32-bit Windows is the worst example. The hard coded limit for total datastore size on 32-bit O/S is 2 GB but in reality you probably can;'t achieve that. On Windows the largest you can get is 1.1 GB and most often less than that. If you need something more than about 0.5 Gb on Windows then you really need to use 64-bit Windows and 64-bit TimesTen. There are no hard coded upper limit to database size on 64-bit TimesTen; the limit is the amount of free physical memory (not virtual memory) in the machine. I have easily created a 12 GB database on a Win64 machine with 16 GB RAM. On 64-bit Unix machines we have live database of over 1 TB...
    Chris

  • TimesTen In-Memory Database -ORA-00942: table or view does not exist rc = -1

    Hi Chris,
    This is wrt the thread : Unable to create CacheGroup.
    I have configured Oracle_DB[11.2.0.3.0] for timesten, installed timesten[11.2.2.7.0], configured cache_DB.
    So the Oracle database has user TIMESTEN(cache user) and TTENADMIN(cache admin user). Similarly the Cache Database has same TTENADMIN(cache manager user) and FNETLUO1(cache table user)
    But while configuring the cache database following error occurred:
    connect "dsn=my_cachedb;uid=TTENADMIN;oraclepwd=ttenadmin";
    Enter password for 'TTENADMIN':
    Connection successful: DSN=my_cachedb;UID=TTENADMIN;DataStore=/opt/IBM/TimesTen/tten_database/my_cachedb;DatabaseCharacterSet=WE8ISO8859P15;ConnectionCharacterSet=US7ASCII;DRIVER=/opt/IBM/TimesTen/tt11204FTP/lib/libtten.so;LogDir=/opt/IBM/TimesTen/tten_database/logs;PermSize=40;TempSize=32;TypeMode=0;OracleNetServiceName=PSFTDEV2;
    (Default setting AutoCommit=1)
    con1: Command>call ttcacheuidpwdset ('TTENADMIN','ttenadmin');
    5221: Oracle syntax error in OCIStmtExecute(): ORA-00942: table or view does not exist rc = -1
    5130: Error executing the following statement on Oracle: MERGE INTO TTENADMIN.TT_06_databases USING DUAL ON (upper(TTENADMIN.TT_06_databases.host) = upper('DG1166') AND upper(TTENADMIN.TT_06_databases.datastore) = upper('/opt/IBM/TimesTen/tt11204FTP_database/my_cachedb')) WHEN NOT MATCHED THEN INSERT (hash,...
    5025: Commit failure in Oracle. Transaction must be rolled back in TimesTen.
    The command failed.
    Please advise how we can solve this?

    Hi
    Just for additional information:
    ttAdmin -cacheUidPwdSet -cacheUid TTENADMIN -cachePwd ttenadmin my_cachedb
    *** [TimesTen][TimesTen 11.2.2.7.0 ODBC Driver][TimesTen]TT5221: Oracle syntax error in OCIStmtExecute(): ORA-00942: table or view does not exist rc = -1 -- file "bdbConfig.c", lineno 2324, procedure "oraExecDirect()"
    *** ODBC Error = S1000, TimesTen Error = 5221
    *** [TimesTen][TimesTen 11.2.2.7.0 ODBC Driver][TimesTen]TT5130: Error executing the following statement on Oracle: MERGE INTO TTENADMIN.TT_06_databases USING DUAL ON (upper(TTENADMIN.TT_06_databases.host) = upper('DG1166') AND upper(TTENADMIN.TT_06_databases.datastore) = upper('/opt/IBM/TimesTen/tt11203FTP_database/my_cachedb')) WHEN NOT MATCHED THEN INSERT (hash,... -- file "bdbConfig.c", lineno 2353, procedure "oraExecDirect()"
    *** ODBC Error = S1000, TimesTen Error = 5130
    But i can see that at backend two new tables are created for TTENADMIN(cache admin):
      TTENADMIN.TT_06_DATABASES and TTENADMIN.TT_06_DB_PARAMS
    with columns, indexes but no records/data.

  • Two questions about TimesTen In-Memory Database

    1.
    In TimesTen, there are two methods to do the replication:
    a. create active standby pair
    b. create replication tt element ...
    whose performence is better ? when the cache group exists, only the A/S can be used, is it right?
    2.
    If I just want to store the data in memory, how to stop the changes of the data from logging to the disk?

    Hi,
    Regarding your queries
    1) Each replication type has its own benifits. Active -standby is used mostly for High availibility systems, while the classic replication scheme is mostly used for load sharing and distributed workload.
    Cache group will work well with Active standby pair. Using cache group with class replication systems is not encouraged.
    2) Disabling logging is something which was provided in TT 7.x(DSN attribute LOGGING) but no more allowed in latest TT releases like 11.2.1.x or 11.2.2.x.
    Regards
    Rajesh

  • "In-Memory Database Cache" option for Oracle 10g Enterprise Edition

    Hi,
    In one of our applications, we are using TimesTen 5.1.24 and Oracle 9i
    databases (platform - Solaris 9i).
    TimesTen holds application information which needs to be accessed quickly
    and Oracle 9i is a master application database.
    Now we are looking at an option of migrating from Oracle 9i to Oracle 10g
    database. While exploring about Oracle 10g features, came to know about
    "In-Memory Database Cache" option for Oracle Enterprise Edition. This made
    me to think about using Oracle 10g Enterprise Edition with "In-Memory
    Database Cache" option for our application.
    Following are the advantages that I could visualize by adopting the
    above-mentioned approach:
    1. Data reconciliation between Oracle and TimesTen is not required (i.e.
    data can be maintained only in Oracle tables and for caching "In-Memory
    Database Cache" can be used)
    2. Data maintenance is easy and gives one view access to data
    I have following queries regarding the above-mentioned solution:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    In "Options and Packs" chapter in Oracle documentation
    (http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm
    #CIHJJBGA), I encountered the following statement:
    "For the purposes of licensing Oracle In-Memory Database Cache, only the
    processors on which the TimesTen In-Memory Database component of the
    In-Memory Database Cache software is installed and/or running are counted
    for the purpose of determining the number of licenses required."
    We have servers with the following configuration. Is there a way to get the
    count of processors on which the Cache software could be installed and/or
    running? Please assist.
    Production box with 12 core 2 duo processors (24 cores)
    Pre-production box with 8 core 2 duo processors (16 cores)
    Development and test box with 2 single chip processors
    Development and test box with 4 single chip processors
    Development and test box with 6 single chip processors
    Thanks & Regards,
    Vijay

    Hi Vijay,
    regarding your questions:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    ==> Product has just been renamed and integrated better with the Oracle database - Times-Ten == In-Memory-Cache-Database
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    ==> Seperate Installation
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    ==> Please have a look here: http://www.oracle.com/technology/products/timesten/quickstart/cc_qs_index.html
    This explains the differences.
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    ==> Please see above mentioned papers
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    ==> Again ... ;-)
    Kind regards
    Mike

  • SQL Developer  connection to TimesTen

    Hi,
    I am new to SQL Developer and TimesTen DB.
    I am trying to connect to a TimesTen DB running on a Solaris x86 box using a SQL Developer running on a WinXP PC. Is this possible?
    The TimesTen Release I am using is 7.0.5.0.0. The SQL Developer version I am using is 1.5.4
    After installing the TimesTen Client libraries on the WinXP, I was able to get the TimesTen tab in SQL Developer.
    On the server I can connect using "ttIsql" as follows:
    ./ttIsql -connStr dsn=cas
    I am not sure what I need to enter into "New/Select Database Connection" pop-up menu. I entered a "Connection Name". I set the "DSN" to "User Specified" and the "Connection string" to "dsn=cas" but I cannot get the connection setup.
    Any help would be greatly appreciated.
    Thanks
    Paul

    Hi Paul,
    In order to connect to a remote TimesTen database, you need to first create a client DSN. The client DSN should map to the DSN "cas" on your Solaris server. To create a client DSN on Windows, follow the step by step instructions listed in the section "Creating and configuring Client DSNs on Windows" of the [TimesTen In-Memory Database Operations Guide|http://www.oracle.com/technology/documentation/timesten_doc.html]. Use ttIsql on Windows to verify that your client DSN is working, and can connect to your TimesTen database. In SQL Developer, you just need to select the same client DSN in the DSN drop down list.
    Regards
    Simon

  • Oracle In-Memory Database Cache

    Hi,
    I was reading about Oracle in Memory database cache and i am wondering is this option available on 10g, from what i read it is only on 11g and it is extra option and have to pay for it.
    Any more info, will be great.
    thanks

    From here
    The In-Memory Database Cache option of Oracle Database Enterprise Edition is based on Oracle TimesTen In-Memory Database.TimesTen is also available for 10g.

  • Application crashes with timesten database  over  OCI connection

    Application crashes with timesten database over OCI connection
    #0 0x405e09f8 in kpudsany () from /home/oracle/TimesTen/ratingtt1121/ttoracle_home/instantclient_11_1/libclntsh.so.10.1
    #1 0x405728d0 in OCIDescribeAny () from /home/oracle/TimesTen/ratingtt1121/ttoracle_home/instantclient_11_1/libclntsh.so.10.1
    #2 0x43748a5a in GDBociDriver::StoredProcArgumentList () from /home/omni/library/libgfr_dboci.so
    #3 0x4374e865 in GDBociDriver::StoredProcCallFormat () from /home/omni/library/libgfr_dboci.so
    #4 0x4376ec9a in GDBociDriver::ExecuteStmtBind () from /home/omni/library/libgfr_dboci.so
    #5 0x4376fc69 in GDBociDriver::Execute () from /home/omni/library/libgfr_dboci.so
    #6 0x436ba240 in GDBstatement::Execute () from /home/omni/library/libgfr_dblayer.so
    #7 0x43736106 in GDBociDriver::SetModule () from /home/omni/library/libgfr_dboci.so
    #8 0x4366cb22 in GDBconnectionPool::GetConnection () from /home/omni/library/libgfr_dblayer.so
    #9 0x4367a9db in GDBdriver::LoginConnectionGet () from /home/omni/library/libgfr_dblayer.so
    #10 0x4373dbaa in GDBociDriver::Login () from /home/omni/library/libgfr_dboci.so
    #11 0x4377380f in CreateOCIDriver () from /home/omni/library/libgfr_dboci.so
    #12 0x4367bb2a in GDBdriverLoader::CreateDriver () from /home/omni/library/libgfr_dblayer.so
    #13 0x436d423d in IGDBdriverMgr::GetDriverAndLogin () from /home/omni/library/libgfr_dblayer.so
    #14 0x436d4da1 in IGDBdriverMgr::GetDriver () from /home/omni/library/libgfr_dblayer.so
    #15 0x436a5071 in GDBserverDef::InitialLogin () from /home/omni/library/libgfr_dblayer.so
    #16 0x433247cc in CcapAdbAccess::Init (this=0x9e85a88) at CcapAdbAccess.C:161
    #17 0x43331c44 in CcapMain::Run (this=0x434eeb80, sdpId=2, processName=0x9dae29c "URE61_O2") at CcapMain.C:132
    #18 0x080947d1 in ccap_thread (arg=0x0) at main.C:1588
    #19 0x080e7bd2 in ThreadManager::WrapperRoutine (ipArg=0x9e84fc0) at ThreadManager.C:176
    #20 0x0035f44a in start_thread () from /lib/libpthread.so.0
    Timesten has some limitations and it says:
    Describing objects with OCIDescribeAny() is supported only by name. Describing PL/SQL objects is not supported.
    home/omni/library/libgfr_dblayer.so
    Cloud you please tell us whit might be the reason for this

    Are you able to provide exact details of the OCIDescribeAny call being made by the application (including parameter values)?
    Chris

  • Best practise for creating an application that connects to a SQL Server database

    I have created an application that connects to a SQL Server database and views information using a datagrid and performs several updates when a button
    is selected.  
    I have created a SQLcontrol.vb using the following code:
    Imports System.Data.Sql
    Imports System.Data.SqlClient
    Public Class SQlControl
    'connection 1
        Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
        Public sqlcmd As SqlCommand
        Public sqlda As SqlDataAdapter
        Public sqldataset As DataSet
        Public Function hasconnection() As Boolean
            Try
                SQLCon.open()
                SQLCon.close()
                Return True
            Catch ex As Exception
                MsgBox(ex.Message)
                Return False
            End Try
        End Function
        Public Sub runquery(query As String)
            Try
                SQLCon.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon.State
    = ConnectionState.Open Then
                    SQLCon.Close()
                End If
            End Try
        End Sub
        Public Sub runquery1(query As String)
            Try
                SQLCon1.Open()
                sqlcmd = New SqlCommand(query,
    SQLCon1)
                'LOAD
    SQL RECORDS FOR DATAGROD
                sqlda = New SqlDataAdapter(sqlcmd)
                sqldataset = New DataSet
                sqlda.Fill(sqldataset)
    BH READ DIRECTLY FROM THE DATABASE
                'Dim
    R As SqlDataReader = sqlcmd.ExecuteReader
                'While
    R.Read
                'MsgBox(R.GetName(0)
    & ": " & R(0))
                'End
    While
                SQLCon1.Close()
            Catch ex As Exception
                MsgBox(ex.Message)
                'will
    close connection if still open
                If SQLCon1.State
    = ConnectionState.Open Then
                    SQLCon1.Close()
                End If
            End Try
        End Sub
    End Class
    A code for one of my button which views displays data grid contains the following code:
    Private Sub Button1_Click_1(sender As Object,
    e As EventArgs) Handles Button1.Click
            If SQL.hasconnection
    = True Then
                SQL.runquery("select 
    * from tablea")
                If SQL.sqldataset.Tables.Count
    > 0 Then
                    DGVData.DataSource = SQL.sqldataset.Tables(0)
                End If
            End If
        End Sub
    I am fairly new to vb.net and have read a few books and followed a few tutorials on youtube, what I would like to know is, are there any disadvantages
    to the way I have connected to a SQL database using the SQLControl.vb.  A lot of the vb books include data adapter and dataset within the form, I'm not sure if I'm following best practice by have the connection details outside of the form.
    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter
    and dataset.  It all works fine but I just wanted to know of any potential issues?
    Public SQLCon As New SqlConnection With {.ConnectionString
    = "Data Source=;Initial Catalog=;Integrated Security=True"}
    'connection 2
        Public SQLCon1 As New SqlConnection With {.ConnectionString
    = "Data Source;Initial Catalog=;Integrated Security=True"}
    Thanks

    My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter and dataset.  It all works fine but
    I just wanted to know of any potential issues
    1) You are not using Sepration of concerns for a solution that is doing data access, like using a DAL.
    http://en.wikipedia.org/wiki/Separation_of_concerns
    2) You are directly issuing SQL commands at the UI, leading to sql injection attacks.
    3) You are not using a UI design pattern, which leads you to tightly couple database activity to the UI.
    http://www.codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP
    @System243trd, parameters are important to prevent SQL injection attacks (people will insert SQL commands into the database if you do not perform basic checking of what you are passing to the database). If you write a stored procedure try to make
    the variables the correct SQL server data type to avoid problems later of people trying to call it directly.  Darnold924 is right, I see no code to prevent against SQL injection attacks. In addition, during development in some instances LocalSQLDB
    database system is used and during deployment you usually need to use the production SQL server database. Moreover,  Linq-to-SQL is used on Windows Phone 8.1 and it is required for phone development later and so I highly recommend learning
    it if you plan on developing windows phone applications.
    @System243trd, If you want the code for the windows phone app I think it uses the MVVM model or that might be for universal apps or regular windows phone apps. I have been using the windows phone Silverlight pivot or panorama template (it might
    be pieces of both). I've already submitted to the windows phone marketplace and it had to go through certification first. I plan on later making an article on it but I need to first fix one or two simple problems I have with it.  Here's a link to
    the source code if you later want to look at the source code (in vb.net): 
    https://jeffsblogcodesamples.codeplex.com/downloads/get/1445836
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog
    - http://www.computerprofessions.us

  • PDA Application Connect to Database

    Hi,
    I want to develop application sit on PDA(like iPAQ) eg.Contact Manager (to keep personal contact). this require a database to keep all these information in the PDA so that can be retrieve.
    Its there any Micro-Database that can be installed into PDA (free?).
    Please show me the link to get this Installaler, JDBC and documentation.
    Please show me also the way to create database and table in PDA. and step to install this micro-db into the PDA.
    It would be more helpful, if someone can give me some simple example of a PDA Application connect to Database.
    Thanks in advance, Regards

    Open source one is :
    http://sourceforge.net/projects/hsqldb
    This one is not absolute free but the price is quite compelling.$995 for unlimited install.
    http://www.quadcap.com/home.html
    http://www.quadcap.com/purchase/index.html
    4. The rights granted pursuant to this Agreement are contingent upon Licensee's payment of the license fees for the QED Software. The License Fee for this Commercial Redistribution License is USD $995.
    Even SQL CE from MS is free, as long as you not use it connected to backend system. so if u could work out other sync implementation or u dont need data sync at all, this might be a choice too. The issue is no official JDBC driver for SQL CE though there is for SQL server.
    However, I have no hand on experience on those 3. We are evaluating Pointbase Micro, thought not free.l

  • Connecting to Oracle 8i.7 Database on Application Server 10g (10.1.2)

    Hi
    Dear All
    i have gust installed Oracle Application Infrastructure & middle tire 10g(10.1.2)
    and i am asking
    for the capability to connect (After Configuring Tnsname) to Oracle Database 8i(8.1.7.0.0)
    the message after trying to connect is :
    Connecting to This Version of database is no longer supported ..!
    and please i want clarification note if we can't connect to give my officer so we can discuss the upgrade for database to 10g.
    Best Regards .
    Ibrahim.

    Bug 3437884 - 10g client cannot connect to 8.1.7.0 - 8.1.7.3 server : if your Customer needs to stay on 8i, then the last available patch should be applied.
    10.1.4 Client (the one used by AS 10.1.2) shouldn't have problems with 8.1.7.4 DB.

  • How sap application connect oracle database

    The gurus,
    I just to known how sap application connect to oracle database. Where or what the configuration files at SAP level and oracle level.
    Thank you
    Edited by: Muzaidi Marjuki on Apr 28, 2011 8:58 AM

    existing database to other database that also running on oracle ( right now we testing for recovery server) in case the existing server going down or have a problem that cannot been restore
    Its similar to DR setup, then why don't you install application at time of initial installation of DR?
    *Explain in  detial with a clear query
    Regards,
    Nick Loy

  • 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

  • Server cleanup wizard problem - unable to connect to the WSUS Server Database.

    I'm trying to run server cleanup wizard.. it starts to run and then after a while it gives me this error:
    The WSUS administration console was unable to connect to the WSUS Server Database.
    Verify that SQL server is running on the WSUS Server. If the problem persists, try restarting SQL.
    System.Data.SqlClient.SqlException -- Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    The statement has been terminated.
    Source
    .Net SqlClient Data Provider
    Stack Trace:
       at Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
       at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPSearchUpdates(String updateScopeXml, String preferredCulture, ExtendedPublicationState publicationState)
       at Microsoft.UpdateServices.Internal.BaseApi.Update.SearchUpdates(UpdateScope searchScope, ExtendedPublicationState publicationState, UpdateServer updateServer)
       at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetUpdates(UpdateScope searchScope)
       at Microsoft.UpdateServices.UI.AdminApiAccess.UpdateManager.GetUpdates(ExtendedUpdateScope filter)
       at Microsoft.UpdateServices.UI.AdminApiAccess.WsusSynchronizationInfo.InitializeDerivedProperties()
       at Microsoft.UpdateServices.UI.AdminApiAccess.WsusSynchronizationInfo.get_NewUpdatesCount()
       at Microsoft.UpdateServices.UI.SnapIn.Pages.SyncResultsListPage.GetSyncInfoRow(WsusSynchronizationInfo syncInfo)
       at Microsoft.UpdateServices.UI.SnapIn.Pages.SyncResultsListPage.GetListRows()
    Thanks

     Some questions:
    Are there any other databases running on this Std Edition SQL service?
    [a] Yes there are, we have Kaspersky enterprise DB, Report Server DB and local application DB.
    Are there any other services running on this WSUS Server?
    [b] Yes there are, we have Active Directory, Kaspersky enterprise, SQL Server 2005, and WSUS all on the same server.
    How many days since your WSUS server was first installed?
    [c] It's been about a year now.
    What is the physical size of the SUSDB.mdf file?
    [d] 9,666,752 KB
    What is the hardware configuration of this machine, including disk drives?
    [e] Intel Xeon 1.86, 2GB Ram, HD C: 39GB - E: 25.2, running Windows Server 2003 R2 SP2.
    How many client systems are you servicing from this WSUS Server?
    [f] Around 40.
    What products/classifications are you synchronizing.
    [g] Windows XP-vista, Windows Server 2003, Office 2003-2007, SQL Server 2005.
    Okay, for starters, you have an underpowered/overextended machine running Active Directory, ASP.NET, and a database server, all on a sub 2GHz CPU with 2GB RAM, and not enough disk spindles. The machine has had WSUS running for about a year and is 9GB in size.
    There's no doubt in my mind that some of your performance issues are directly related to disk and database fragmentation.
    There's also no doubt that some of your performance issues are directly related to memory starvation.
    I'd suggest the following long-term fixes:
    1. Get a second machine. Make it a dedicated database server. Provision it accordingly to support servicing multiple database applications.
    2. Lacking #1, this machine needs more memory. It also needs more disk spindles. At a minimum the databases being serviced should be on a dedicated physical drive; ideally there would be two dedicated drives allocated for supporting database services. The
    For the short-term fixes, do this:
    1. During after-hours time, if you don't already have one, build a temporary machine that can act as a DC/GC, while you take this machine temporarily offline.
    1. Shutdown the Update Services service, SQL Server database engine, and any other services dependent on the SQL Server database engine (Kapersky, and other reporting applications). Disconnect from the network to temporarly eliminate DC traffic. (You could also shutdown the AD services, but disconnecting the network cable is ever-so-much easier.) Defragment ALL drives.
    2. Restart ONLY the SQL Server service. Obtain this SQL script to Reindex the WSUS Databases.
    3. Restart ONLY the Update Services service. Attempt the Server Cleanup Wizard again. Run it in two passes. Pass 1 performing everything except  remove unused updates. Pass 2 running only remove unused updates.
    4. After completion of the Server Cleanup Wizard, reconnect the machine to the network and resume all other services.
    5. If you're able to complete #3, secure the services of a well-qualified DBA to determine if there are any misconfigurations in your SQL Server setup that would account for why your WSUS database is 9GB in size -- such as improperly configured autogrowth parameters. Based on the products you're updating and only forty clients, 9GB is about 3x the maximum size I would expect to see in a WSUS database. It's possible this is simply caused by excess unused updates, it's possible it's caused by fragmentation, it's probable it was caused by unnecessary autogrowth of the database due to insufficient update maintenance. You'll want a DBA to assist you in shrinking that database after you successfully run the Database Maintenance and Server Cleanup Wizard.
    Lawrence Garvin, M.S., MCITP(x2), MCTS(x5), MCP(x7), MCBMSP
    Principal/CTO, Onsite Technology Solutions, Houston, Texas
    Microsoft MVP - Software Distribution (2005-2009)

Maybe you are looking for

  • Adobe Acrobat  has encountered a problem and needs to close.

    Just recently when I launch Acrobat X after about 10 seconds I get this error, "Adobe Acrobat has encountered a problem and needs to close.  We are sorry for the inconvenience."  I can create PDFs and open PDFs for 10 seconds.  I've done a repair of

  • HELP! Error (-50) appearing when trying to sync ipod and shuffle

    The story so far.... My ipod has recently been playing up (cutting songs short etc), at the same time I bought a shuffle online. When I recently plugged both of these into my itunes it's been playing up. Im not sure if this is just coincidence or if

  • Can I swap out THE G5 harddrives

    I have a Dual 2.5 GHz PowerPC G5 with a ATI Radeon X800XT card (AGP). I looking to buy a G5 QUAD 2.5ghz with a Nvidia Quadro FX 4500 (PCI. I know I need to change the Graphic card Plug-in. But Could I just swap out the hard drives.

  • Driver problems for Konica Minolta 5430DL

    HELP required please! I Have bought the 5430 DL and have run into problems installing the latest drivers. Installing the driver for Leopard, I then found out that this was wrong, as it wasnt Leopard for intel Macs, just the older ones. I SHOULD have

  • Why did the latest update delete my music from my phone and laptop?

    I updated my iphone with the new ISO and it also updated iTunes. Some where during the process it deleted my music from my Iphone and my music folder on my laptop. Is there a solution to this problem? Right now I am not very happy with either of thes