XI 3.1 SR3 - Oracle Database 10202 64-bit
Dear Friends,
We are in the process of installing the XI 3.1 SR3 (32-bit) on the REDHAT Linux x86-64 bit OS server.
On this server, we have installed the Oracle 10205 64-bit database and it is up and running.
While I was going thru the SDN forum, I have learned that, I do need the 32-bit Oracle client in order to get connection up and running between the Oracle 64-bit DB & XI 31. R3 Enterprise components.
Kindly let me know if the above statement is incorrect?
In this scenario, where can I download the Oracle Instantclient 32-bit software? I have searched on SAP Marketplace and couldn't find the software.
Truly appreciate if you can point/direct me to the software location.
Thank you,
Nikee
you don't need to install 32bit driver if your oracle 64 bit driver has /lib32 directory
all you need to do is set LD_LIBRARY_PATH=$ORACLE_HOME/lib32
BOE XI3.1 software is 32bit and requires 32bit libraries.
Similar Messages
-
Can we install Oracle Database 10g 32 bit on Windows 2008 64bit
Can we install Oracle Database 10g 32 bit on Windows 2008 64bit will there be any disadvantages, will all the features of Oracle database work ( Like Data Guard , OEM, Grid Control).
Solution will be appriciated.Hi,
If it is true can you please give me some reference doc, as per my knowledge installing Oracle Database 10g 32 bit on Windows 2008 64bit must be possible.
Thanks & Redards -
How to install Oracle Database Client 32-bit libraries.
Dear All,
In the document : http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31765.pdf
it is written "For 64-bit Linux system installations, you must use the Oracle Database Client 32-bit libraries"
how can i install just the libraries from OUI Database 11.2
Is it must to install these libraries first, whatif I install Oracle11.2 64bit client, and then install the OBIEE. Anyhow i need to install OracleDBClient to connect to Oracle server 11.2.You can't "just install the libraries", you need a full ORacle client installation. The Oracle client can be installed after OBIEE but you must have an Oracle client to connect to an Oracle database via OCI (which is the recomended approach). 64bit client should be fine as long as it has the 32bits libraries. The 10g client does, not sure about the 11g client. Make sure you install the FULL Oracle client, not the Instant Client. The 32bits client libraries are located under lib32, the lib directory is for the 64bits ones. You might need ot re-link them if they were linked correctly during the client installation. But for more information post a message in the Oracle client forum, this is the OBIEE forum.
-
Oracle Database 11gR1 32-bit upgrade to 11gr2 64-bit
Hello All,
My current server is having following configuration:
OS : RHEL 4.6 32 bit
Product : Oracle EBS 11i
DB : 11gR1
Target machine:
OS : RHEL 5.8 64 bit
I want to convert my current single node EBS 11i to multi-node (two node) architecture. We have to migrate our 11gR1 over 64 bit machine.
I was trying to create create a 32 bit instance over new target server through rapid clone. But it is not supported to install 32 bit 11g over 64 bit OS, so I am now taking new path to do the same, trying to upgrade 11gR1 32 bit database directly to 11gr2 64 bit. Please suggest me appropriate procedure to perform it. Any Oracle Document over the same would be wonderful. I tried to search over Metalink but with no success.
Kindly share your experience if anyone here performed the same or similar.
Regards
RanjanSYou can get 11gR1 64-bit download this way:
Previous Database Release Software
Oracle Database 10.2 and 11.1 are no longer available for download. The software is available as a media or FTP request for those customers who own a valid Oracle Database product license for any edition.
To request access to these releases, follow the instructions in Oracle Support Document 1071023.1 (Requesting Physical Shipment or Download URL for Software Media) from My Oracle Support.
NOTE: for Oracle Database 10.2, you should request 10.2.0.1 even if you want to install a later patch set. Once you install 10.2.0.1 you can then apply any 10.2 patch set. Similarly, for 11.1 request 11.1.0.6 which must be applied before installing 11.1.0.7. Patch sets can be downloaded from the Patches and Updates tab on My Oracle Support.
And about direct upgrade I have done that successfully for minor versions for example 11.1.0.6 to 11.1.0.7 so that might be possible also for 11.1. to 11.2 . -
Chosing processors for Oracle database 10g 64 bits
Hi,
I have a customer that is planning to buy Oracle 10g 64 bits on a server Windows 2003.
My customer is interested in a processor that handles a lot of data in and out in a very effective way and the processor should be able to perform a great number of calculations in the database.
Are there some processors that are better than others for Oracle 10g 64 bits?
For example: Is Itanium better than Xenon? Or is Xenon better that AMD?
Any suggestions will be appreciated.
Thanks in advance.It's a very long article!
I'm not sure of its relevance, I'm afraid... not enough time to read it!
Kevin Closson's blog has a lot of good stuff about NUMA. Software can be optimised to run on NUMA processors. Oracle is. The parameter means you switch off those optimisations. It means Oracle works fine, but less well than it is theoretically capable of, because you are making it believe it's running on a non-NUMA processor.
From memory, the specific NUMA optimisation that caused the issue is that the buffer cache is divided up internally so that each processor can handle different bits of it, distributing cache management chores amongst all the available cores. Excellent in theory. Unfortunately, the bug meant that a query that runs on one processor core got its data cached in that processor's "bit" of the buffer cache... and if you re-ran the query and happened to end up on a different core, the new core behaved as though no data had been cached, and fetched it all again from hard disk. Performance WITH the NUMA "optimisation" was accordingly abysmal because you effectively had little or no buffer cache. The workaround is to disable the NUMA optimisation and pretend you've only got one core: Oracle then has a monolithic buffer cache -which introduces performance issues of its own, of course, but at least your data gets cached properly!
The bug is allegedly fixed in 10.2.0.3, but we spent over a 16 months getting it sorted, and by that time, we'd given up and gotten the Intel boxes, so I've no idea whether it was really fixed or not... and, of course, you might not be able to patch to that level anyway for internal politics or other reasons. -
Hi,
I am using oracle database10g (10.0.2.5) 64bit on linux Red Hat 64bit. Problem is on forms having required field as hidden or not taken in-put from user Using developer 6i release 2. Please guide me or give some advice to resolve the issue.
Basically i want upgrade developer 6i to developer 6i release 2 but when i run some forms on developer 6i release 2 return some error (enter required field ).
ThanksProblem is on forms having required field as hidden or not taken in-put from user 1. Un-hide the field and/or make it enterable so that the user can enter a value.
or
2. Make the field optional instead of required.
or
3. Give the field a default value.
or
4. Give the field a value programmatically.
Looks like a bug in Developer 6i R1 that this was possible at all. -
Oracle Database 11g-R2 with Windows Server 2008
Hi to All Respected Gurus!
Recently I have downloaded Oracle Database 11g-R2.
Will it work with Windows Server 2008-R2?
Please guid eme.
Thanks in Advance.
Muhammad Uzair
Oracle Application Developer
Oracle APEX Developer
Pakistan
+92 (333) 7058754uzairmalik wrote:
Hi to All Respected Gurus!
Recently I have downloaded Oracle Database 11g-R2.
Will it work with Windows Server 2008-R2?
Please guid eme.
Did you look in the installation guide for the software requirement for 11.2? You could had easily found the answer from there by yourself.
http://docs.oracle.com/cd/E11882_01/install.112/e24186/reqs.htm#CHDHGGFE
From the above link,
>
Requirement Value
Operating System
Oracle Database for 32-bit Windows is supported on the following operating systems:
Windows Server 2003 - all editions
Windows Server 2003 R2 - all editions
Windows XP Professional
Windows Vista - Business, Enterprise, and Ultimate editions
Windows Server 2008 - Standard, Enterprise, Datacenter, Web, and Foundation editions. The Server Core option is not supported.
Note: Check My Oracle Support (formerly OracleMetaLink) for more information about Hyper-V support.
Windows 7 - Professional, Enterprise, and Ultimate editions
Windows Multilingual User Interface Pack is supported.
>
Aman.... -
Is there any oracle database for windows 7 64 bit
hi,
can any one tell me that is there any oracle database for windows 7 Home Basic 64 bit ( version 6.1).
I have downloaded several versions oracle databases but none have worked.
ThanksHi;
The answer is No as mention before. Please use certified platform which is mention in installation guide:
Operating System Oracle Database for 32-bit Windows is supported on the following operating systems:
Windows Server 2003 - all editions
Windows Server 2003 R2 - all editions
Windows XP Professional
Windows Vista - Business, Enterprise, and Ultimate editions
Windows Server 2008 - Standard, Enterprise, Datacenter, Web, and Foundation editions. The Server Core option is not supported.
Note: Check My Oracle Support (formerly OracleMetaLink) for more information about Hyper-V support.
Windows 7 - Professional, Enterprise, and Ultimate editions
Windows Multilingual User Interface Pack is supported.
Check:
http://download.oracle.com/docs/cd/E11882_01/install.112/e16773/reqs.htm#CHDHGGFE
Regard
Helios -
Is Oracle forms 6i (32-bit) certified to connect to Oracle database 64-bit
Is Oracle forms 6i (32-bit) ,patch 17 (windows XP -32bit) certified to connect to
Oracle database 10g(64-bit database) on a 64-bit Windows 2008 R2 Operating system ?Well, in general 6i has been desupported. However, back when it was still supported, it was certified for use with a 10.1 db (10gR1).
Details about Forms 6i desupport can be found in MyOracleSupport in article 228666.1 -
Error in Phase 44/44 installing SM 4.0 SR3 on Windows 2003 64 bit Oracle 10
Hello All,
this is my first post here and I'm having issue installing SM 4.0 SR3. It stops with an error on Phase 44/44. here's the error log. I've tride searching for answer but no luck. can anybody please help?
Solution Manager 4.0 SR3 64 bit Installation
Windows 2003 R2 64 bit
Oracle Database 10g
Java 1.5.0_14 64 bit
INFO 2008-01-17 11:34:22.483
Copied file 'C:/Program Files/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/inifile.8.xml'.
INFO 2008-01-17 11:34:22.530
Copied file 'C:/Program Files/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/inifile.9.xml'.
INFO 2008-01-17 11:34:24.124
Execute step Component W2K_ServicePack_Check|ind|ind|ind|indPreprocess of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|W2K_ServicePack_Check|ind|ind|ind|ind|2|0.
INFO 2008-01-17 11:34:38.108
Copied file 'C:/Program Files/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/keydb.xml' to 'C:/Program Files/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/keydb.5.xml'.
INFO 2008-01-17 11:34:38.342
Execute step callOfflineCTC of component |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Call_Offline_CTC|ind|ind|ind|ind|7|0.
INFO 2008-01-17 11:34:39.404
Creating file C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\ORA\CENTRAL\AS\LaunchOfflinectc.bat.log.
INFO 2008-01-17 11:34:39.436
Working directory changed to E:/usr/sap/S20/DVEBMGS00/j2ee/ctc.
INFO 2008-01-17 11:34:39.451
Working directory changed to C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\ORA\CENTRAL\AS.
INFO 2008-01-17 11:34:39.467
Output of E:\usr\sap\S20\DVEBMGS00\j2ee\ctc\LaunchOfflinectc.bat is written to the logfile LaunchOfflinectc.bat.log.
WARNING 2008-01-17 11:34:42.107
Execution of the command "E:\usr\sap\S20\DVEBMGS00\j2ee\ctc\LaunchOfflinectc.bat" finished with return code 1. Output: 1 file(s) copied.java.io.BufferedInputStream@6686fe26Jan 17, 2008 11:34:39... ....tc.lm.ctc.OfflineTemplateImporterJAR [Thread[main,5,main]] Info: Start Execution of Offline CTC TemplatInstallerJan 17, 2008 11:34:39... ....tc.lm.ctc.OfflineTemplateImporterJAR [Thread[main,5,main]] Info: Looking for initial Properties in file '../../../config/usagetypes.properties'Jan 17, 2008 11:34:39... ....tc.lm.ctc.OfflineTemplateImporterJAR [Thread[main,5,main]] Info: Loading of initial Properties-File successful Jan 17, 2008 11:34:39... ....tc.lm.ctc.OfflineTemplateImporterJAR [Thread[main,5,main]] Info: Selected Usages:SolManager:SolManager JavaPerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.pathJan 17, 2008 11:34:41... ...c.cul.cpi.exceptions.CPIBaseException [Thread[main,5,main]] Path: Exception : The proivder ConfigManagerProvider is not able to startupjava.lang.Exception at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1141) at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:413) at com.sap.exception.BaseException.<init>(BaseException.java:302) at com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException.<init>(CPIBaseException.java:63) at com.sap.tc.lm.ctc.provider.configurationmanager.exceptions.ConfigManagerProviderBaseException.<init>(ConfigManagerProviderBaseException.java:52) at com.sap.tc.lm.ctc.provider.configurationmanager.offline.ConfigurationManagerOfflineStartup.createProvider(ConfigurationManagerOfflineStartup.java:59) at com.sap.tc.lm.ctc.cul.offline.OfflineCTCFramework.startupSystem(OfflineCTCFramework.java:69) at com.sap.tc.lm.ctc.OfflineTemplateImporterJAR.executeWizard(OfflineTemplateImporterJAR.java:113) at com.sap.tc.lm.ctc.OfflineTemplateImporterJAR.main(OfflineTemplateImporterJAR.java:549) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)Caused by: com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB. at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:360) at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:125) at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38) at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149) at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236) at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49) at com.sap.tc.lm.ctc.provider.configurationmanager.offline.ConfigurationManagerOfflineStartup.createProvider(ConfigurationManagerOfflineStartup.java:57) at com.sap.tc.lm.ctc.cul.offline.OfflineCTCFramework.startupSystem(OfflineCTCFramework.java:69) at com.sap.tc.lm.ctc.OfflineTemplateImporterJAR.executeWizard(OfflineTemplateImporterJAR.java:113) at com.sap.tc.lm.ctc.OfflineTemplateImporterJAR.main(OfflineTemplateImporterJAR.java:549) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801) at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215) at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608) at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285) at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:302) ... 14 more
ERROR 2008-01-17 11:34:42.139
CJS-00030 Assertion failed: in function NW_Call_Offline_CTC_ind_ind_ind_ind_SubComponentContainer_callOfflineCTC() { var nw = NWInstall.getSystem(context.get("sid")); var ctcDirFs = nw.getCI().getInstanceDir().concat("j2ee", "ctc"); var ctcExeFile = installer.onWindows() ? "LaunchOfflinectc.bat" : "LaunchOfflinectc.sh"; var ctcCall = ctcDirFs.concat(ctcExeFile); installer.writeTrace("CTC is in" + ctcCall); ASSERT(arguments.callee, ctcCall.isExisting(), "CTC executable cannot be found in " + ctcCall.toString()); var pmgt = new ProcessMgt(); var app = pmgt.createChildApplication(ctcCall, []); var userData = nw.getUsers().getAccountData(NWUsers.roles.SIDAdm); var user = (new AccountMgt()).getUser(userData.name); var env = pmgt.getProcessEnvironment(); if (installer.onUnix()) { env.setUser(user); } env.setWorkingDirectory(ctcDirFs.getNode()); env.setEnvironmentVariable(new Property("JAVA_HOME", nw.getJavaHome().toString())); installer.writeTrace("For the Offline CTC Call, JAVA_HOME is set to " + env.getEnvironmentVariable("JAVA_HOME")); app.setEnvironment(env); var retval = app.run([], true); ASSERT(arguments.callee, retval == 0, "CTC retval is not 0 but " + retval); installer.writeTrace("CTC has been called in Offline Mode.");}CTC retval is not 0 but 1
ERROR 2008-01-17 11:34:42.217
MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
ERROR 2008-01-17 11:34:42.264
FCO-00011 The step callOfflineCTC with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Call_Offline_CTC|ind|ind|ind|ind|7|0|callOfflineCTC was executed with status ERROR .Uninstall Java 1.5 - it will not work.
You MUST use Java 1.4 for 64bit windows from note 941595 - Download J2SE 1.4.2 for the x64 platform
I suggest you start over with your installation since the wrong path is in quite a few locations.
Markus -
How to configure backup parallel in SAP with oracle database?
Dear SAP,
We need your suggestion on oracle database backup parallel using brbackup, our SAP system run on:
OS: UNIX - SUN Solaris SPARC 10
SAP: ECC 6.0 SR3
Database: Oracle 10.2.0.4
Our production database are growing rapidly, estimate growing is 2GB/days. Right now we backup our Production using one tape that estimated time to online backup is 4-5hours.
In there future, if we stayed this configuration. It will take long time to backup and restore it's not applicable. That's why we are planning to add more tapes during backup (4 tape parallel).
I read from help.sap, that we can configure this on $ORACLE_HOME/dbs/init<SID>.sap. in parameter:
compress = harware
backup_dev_type = tape
tape_address = (tape1, tape2, tape3, tape4)
tape_address_rew = (tape1, tape2, tape3, tape4)
http://help.sap.com/saphelp_nw04/helpdata/en/88/a2a041a5d4af4db168992639d65d3b/frameset.htm
My question,
If we want to backup parallel using 4 tapes, is this configuration that we need to do (init<SID>.sap) from sap side (DB13)?
Thanks and Best Regards,
WidiDear Mark,
Thanks for your help. actually I have one more question:
How do I restore my backup form this 4 tapes, if I'm using parallel backup?
Will the command same like I restore form 1 tape:
example:
brrestore u2013b beczqlnk.ant u2013m full
brrestore u2013a 5371-5372=/oracle/<SID>/oraarch/
Below are the paramter that I will configure:
- tape_address = /dev/rmt/0cbn
- compress = hardware
- backup_dev_type = tape
- exec_parallel = 4
- tape_size = 1600000
- tape_address = (dev/rmt/0mn, /dev/rmt/1mn, ..)
- tape_address_rew = (dev/rmt/0m, /dev/rmt/1m, ..)
Appreciate you help and suggestion on this.
Dear Venkat,
thanks for your suggestion -
How to load a java script in oracle database
Is it possible to load d java script in Oracle database. while the object type is
java resource ..RENUJP wrote:
I meant to load a javascript to oracle database not to oracle appliocation.
like loadjava....
I can load a javascript to oracle database.. but i can't call it...Please re-read the comments above, especially the part about this not being a javascript nor oracle forum. Exactly what part about this information don't you understand? -
Query in timesten taking more time than query in oracle database
Hi,
Can anyone please explain me why query in timesten taking more time
than query in oracle database.
I am mentioning in detail what are my settings and what have I done
step by step.........
1.This is the table I created in Oracle datababase
(Oracle Database 10g Enterprise Edition Release 10.2.0.1.0)...
CREATE TABLE student (
id NUMBER(9) primary keY ,
first_name VARCHAR2(10),
last_name VARCHAR2(10)
2.THIS IS THE ANONYMOUS BLOCK I USE TO
POPULATE THE STUDENT TABLE(TOTAL 2599999 ROWS)...
declare
firstname varchar2(12);
lastname varchar2(12);
catt number(9);
begin
for cntr in 1..2599999 loop
firstname:=(cntr+8)||'f';
lastname:=(cntr+2)||'l';
if cntr like '%9999' then
dbms_output.put_line(cntr);
end if;
insert into student values(cntr,firstname, lastname);
end loop;
end;
3. MY DSN IS SET THE FOLLWING WAY..
DATA STORE PATH- G:\dipesh3repo\db
LOG DIRECTORY- G:\dipesh3repo\log
PERM DATA SIZE-1000
TEMP DATA SIZE-1000
MY TIMESTEN VERSION-
C:\Documents and Settings\dipesh>ttversion
TimesTen Release 7.0.3.0.0 (32 bit NT) (tt70_32:17000) 2007-09-19T16:04:16Z
Instance admin: dipesh
Instance home directory: G:\TimestTen\TT70_32
Daemon home directory: G:\TimestTen\TT70_32\srv\info
THEN I CONNECT TO THE TIMESTEN DATABASE
C:\Documents and Settings\dipesh> ttisql
command>connect "dsn=dipesh3;oraclepwd=tiger";
4. THEN I START THE AGENT
call ttCacheUidPwdSet('SCOTT','TIGER');
Command> CALL ttCacheStart();
5.THEN I CREATE THE READ ONLY CACHE GROUP AND LOAD IT
create readonly cache group rc_student autorefresh
interval 5 seconds from student
(id int not null primary key, first_name varchar2(10), last_name varchar2(10));
load cache group rc_student commit every 100 rows;
6.NOW I CAN ACCESS THE TABLES FROM TIMESTEN AND PERFORM THE QUERY
I SET THE TIMING..
command>TIMING 1;
consider this query now..
Command> select * from student where first_name='2155666f';
< 2155658, 2155666f, 2155660l >
1 row found.
Execution time (SQLExecute + Fetch Loop) = 0.668822 seconds.
another query-
Command> SELECT * FROM STUDENTS WHERE FIRST_NAME='2340009f';
2206: Table SCOTT.STUDENTS not found
Execution time (SQLPrepare) = 0.074964 seconds.
The command failed.
Command> SELECT * FROM STUDENT where first_name='2093434f';
< 2093426, 2093434f, 2093428l >
1 row found.
Execution time (SQLExecute + Fetch Loop) = 0.585897 seconds.
Command>
7.NOW I PERFORM THE SIMILAR QUERIES FROM SQLPLUS...
SQL> SELECT * FROM STUDENT WHERE FIRST_NAME='1498671f';
ID FIRST_NAME LAST_NAME
1498663 1498671f 1498665l
Elapsed: 00:00:00.15
Can anyone please explain me why query in timesten taking more time
that query in oracle database.
Message was edited by: Dipesh Majumdar
user542575
Message was edited by:
user542575TimesTen
Hardware: Windows Server 2003 R2 Enterprise x64; 8 x Dual-core AMD 8216 2.41GHz processors; 32 GB RAM
Version: 7.0.4.0.0 64 bit
Schema:
create usermanaged cache group factCache from
MV_US_DATAMART
ORDER_DATE DATE,
IF_SYSTEM VARCHAR2(32) NOT NULL,
GROUPING_ID TT_BIGINT,
TIME_DIM_ID TT_INTEGER NOT NULL,
BUSINESS_DIM_ID TT_INTEGER NOT NULL,
ACCOUNT_DIM_ID TT_INTEGER NOT NULL,
ORDERTYPE_DIM_ID TT_INTEGER NOT NULL,
INSTR_DIM_ID TT_INTEGER NOT NULL,
EXECUTION_DIM_ID TT_INTEGER NOT NULL,
EXEC_EXCHANGE_DIM_ID TT_INTEGER NOT NULL,
NO_ORDERS TT_BIGINT,
FILLED_QUANTITY TT_BIGINT,
CNT_FILLED_QUANTITY TT_BIGINT,
QUANTITY TT_BIGINT,
CNT_QUANTITY TT_BIGINT,
COMMISSION BINARY_FLOAT,
CNT_COMMISSION TT_BIGINT,
FILLS_NUMBER TT_BIGINT,
CNT_FILLS_NUMBER TT_BIGINT,
AGGRESSIVE_FILLS TT_BIGINT,
CNT_AGGRESSIVE_FILLS TT_BIGINT,
NOTIONAL BINARY_FLOAT,
CNT_NOTIONAL TT_BIGINT,
TOTAL_PRICE BINARY_FLOAT,
CNT_TOTAL_PRICE TT_BIGINT,
CANCELLED_ORDERS_COUNT TT_BIGINT,
CNT_CANCELLED_ORDERS_COUNT TT_BIGINT,
ROUTED_ORDERS_NO TT_BIGINT,
CNT_ROUTED_ORDERS_NO TT_BIGINT,
ROUTED_LIQUIDITY_QTY TT_BIGINT,
CNT_ROUTED_LIQUIDITY_QTY TT_BIGINT,
REMOVED_LIQUIDITY_QTY TT_BIGINT,
CNT_REMOVED_LIQUIDITY_QTY TT_BIGINT,
ADDED_LIQUIDITY_QTY TT_BIGINT,
CNT_ADDED_LIQUIDITY_QTY TT_BIGINT,
AGENT_CHARGES BINARY_FLOAT,
CNT_AGENT_CHARGES TT_BIGINT,
CLEARING_CHARGES BINARY_FLOAT,
CNT_CLEARING_CHARGES TT_BIGINT,
EXECUTION_CHARGES BINARY_FLOAT,
CNT_EXECUTION_CHARGES TT_BIGINT,
TRANSACTION_CHARGES BINARY_FLOAT,
CNT_TRANSACTION_CHARGES TT_BIGINT,
ORDER_MANAGEMENT BINARY_FLOAT,
CNT_ORDER_MANAGEMENT TT_BIGINT,
SETTLEMENT_CHARGES BINARY_FLOAT,
CNT_SETTLEMENT_CHARGES TT_BIGINT,
RECOVERED_AGENT BINARY_FLOAT,
CNT_RECOVERED_AGENT TT_BIGINT,
RECOVERED_CLEARING BINARY_FLOAT,
CNT_RECOVERED_CLEARING TT_BIGINT,
RECOVERED_EXECUTION BINARY_FLOAT,
CNT_RECOVERED_EXECUTION TT_BIGINT,
RECOVERED_TRANSACTION BINARY_FLOAT,
CNT_RECOVERED_TRANSACTION TT_BIGINT,
RECOVERED_ORD_MGT BINARY_FLOAT,
CNT_RECOVERED_ORD_MGT TT_BIGINT,
RECOVERED_SETTLEMENT BINARY_FLOAT,
CNT_RECOVERED_SETTLEMENT TT_BIGINT,
CLIENT_AGENT BINARY_FLOAT,
CNT_CLIENT_AGENT TT_BIGINT,
CLIENT_ORDER_MGT BINARY_FLOAT,
CNT_CLIENT_ORDER_MGT TT_BIGINT,
CLIENT_EXEC BINARY_FLOAT,
CNT_CLIENT_EXEC TT_BIGINT,
CLIENT_TRANS BINARY_FLOAT,
CNT_CLIENT_TRANS TT_BIGINT,
CLIENT_CLEARING BINARY_FLOAT,
CNT_CLIENT_CLEARING TT_BIGINT,
CLIENT_SETTLE BINARY_FLOAT,
CNT_CLIENT_SETTLE TT_BIGINT,
CHARGEABLE_TAXES BINARY_FLOAT,
CNT_CHARGEABLE_TAXES TT_BIGINT,
VENDOR_CHARGE BINARY_FLOAT,
CNT_VENDOR_CHARGE TT_BIGINT,
ROUTING_CHARGES BINARY_FLOAT,
CNT_ROUTING_CHARGES TT_BIGINT,
RECOVERED_ROUTING BINARY_FLOAT,
CNT_RECOVERED_ROUTING TT_BIGINT,
CLIENT_ROUTING BINARY_FLOAT,
CNT_CLIENT_ROUTING TT_BIGINT,
TICKET_CHARGES BINARY_FLOAT,
CNT_TICKET_CHARGES TT_BIGINT,
RECOVERED_TICKET_CHARGES BINARY_FLOAT,
CNT_RECOVERED_TICKET_CHARGES TT_BIGINT,
PRIMARY KEY(ORDER_DATE, TIME_DIM_ID, BUSINESS_DIM_ID, ACCOUNT_DIM_ID, ORDERTYPE_DIM_ID, INSTR_DIM_ID, EXECUTION_DIM_ID,EXEC_EXCHANGE_DIM_ID),
READONLY);
No of rows: 2228558
Config:
< CkptFrequency, 600 >
< CkptLogVolume, 0 >
< CkptRate, 0 >
< ConnectionCharacterSet, US7ASCII >
< ConnectionName, tt_us_dma >
< Connections, 64 >
< DataBaseCharacterSet, AL32UTF8 >
< DataStore, e:\andrew\datacache\usDMA >
< DurableCommits, 0 >
< GroupRestrict, <NULL> >
< LockLevel, 0 >
< LockWait, 10 >
< LogBuffSize, 65536 >
< LogDir, e:\andrew\datacache\ >
< LogFileSize, 64 >
< LogFlushMethod, 1 >
< LogPurge, 0 >
< Logging, 1 >
< MemoryLock, 0 >
< NLS_LENGTH_SEMANTICS, BYTE >
< NLS_NCHAR_CONV_EXCP, 0 >
< NLS_SORT, BINARY >
< OracleID, NYCATP1 >
< PassThrough, 0 >
< PermSize, 4000 >
< PermWarnThreshold, 90 >
< PrivateCommands, 0 >
< Preallocate, 0 >
< QueryThreshold, 0 >
< RACCallback, 0 >
< SQLQueryTimeout, 0 >
< TempSize, 514 >
< TempWarnThreshold, 90 >
< Temporary, 1 >
< TransparentLoad, 0 >
< TypeMode, 0 >
< UID, OS_OWNER >
ORACLE:
Hardware: Sunos 5.10; 24x1.8Ghz (unsure of type); 82 GB RAM
Version 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
Schema:
CREATE MATERIALIZED VIEW OS_OWNER.MV_US_DATAMART
TABLESPACE TS_OS
PARTITION BY RANGE (ORDER_DATE)
PARTITION MV_US_DATAMART_MINVAL VALUES LESS THAN (TO_DATE(' 2007-11-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_NOV_D1 VALUES LESS THAN (TO_DATE(' 2007-11-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_NOV_D2 VALUES LESS THAN (TO_DATE(' 2007-11-21 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_NOV_D3 VALUES LESS THAN (TO_DATE(' 2007-12-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_DEC_D1 VALUES LESS THAN (TO_DATE(' 2007-12-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_DEC_D2 VALUES LESS THAN (TO_DATE(' 2007-12-21 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_DEC_D3 VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_08_JAN_D1 VALUES LESS THAN (TO_DATE(' 2008-01-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_08_JAN_D2 VALUES LESS THAN (TO_DATE(' 2008-01-21 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_08_JAN_D3 VALUES LESS THAN (TO_DATE(' 2008-02-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_MAXVAL VALUES LESS THAN (MAXVALUE)
LOGGING
NOCOMPRESS
TABLESPACE TS_OS
NOCACHE
NOCOMPRESS
NOPARALLEL
BUILD DEFERRED
USING INDEX
TABLESPACE TS_OS_INDEX
REFRESH FAST ON DEMAND
WITH PRIMARY KEY
ENABLE QUERY REWRITE
AS
SELECT order_date, if_system,
GROUPING_ID (order_date,
if_system,
business_dim_id,
time_dim_id,
account_dim_id,
ordertype_dim_id,
instr_dim_id,
execution_dim_id,
exec_exchange_dim_id
) GROUPING_ID,
/* ============ DIMENSIONS ============ */
time_dim_id, business_dim_id, account_dim_id, ordertype_dim_id,
instr_dim_id, execution_dim_id, exec_exchange_dim_id,
/* ============ MEASURES ============ */
-- o.FX_RATE /* FX_RATE */,
COUNT (*) no_orders,
-- SUM(NO_ORDERS) NO_ORDERS,
-- COUNT(NO_ORDERS) CNT_NO_ORDERS,
SUM (filled_quantity) filled_quantity,
COUNT (filled_quantity) cnt_filled_quantity, SUM (quantity) quantity,
COUNT (quantity) cnt_quantity, SUM (commission) commission,
COUNT (commission) cnt_commission, SUM (fills_number) fills_number,
COUNT (fills_number) cnt_fills_number,
SUM (aggressive_fills) aggressive_fills,
COUNT (aggressive_fills) cnt_aggressive_fills,
SUM (fx_rate * filled_quantity * average_price) notional,
COUNT (fx_rate * filled_quantity * average_price) cnt_notional,
SUM (fx_rate * fills_number * average_price) total_price,
COUNT (fx_rate * fills_number * average_price) cnt_total_price,
SUM (CASE
WHEN order_status = 'C'
THEN 1
ELSE 0
END) cancelled_orders_count,
COUNT (CASE
WHEN order_status = 'C'
THEN 1
ELSE 0
END
) cnt_cancelled_orders_count,
-- SUM(t.FX_RATE*t.NO_FILLS*t.AVG_PRICE) AVERAGE_PRICE,
-- SUM(FILLS_NUMBER*AVERAGE_PRICE) STAGING_AVERAGE_PRICE,
-- COUNT(FILLS_NUMBER*AVERAGE_PRICE) CNT_STAGING_AVERAGE_PRICE,
SUM (routed_orders_no) routed_orders_no,
COUNT (routed_orders_no) cnt_routed_orders_no,
SUM (routed_liquidity_qty) routed_liquidity_qty,
COUNT (routed_liquidity_qty) cnt_routed_liquidity_qty,
SUM (removed_liquidity_qty) removed_liquidity_qty,
COUNT (removed_liquidity_qty) cnt_removed_liquidity_qty,
SUM (added_liquidity_qty) added_liquidity_qty,
COUNT (added_liquidity_qty) cnt_added_liquidity_qty,
SUM (agent_charges) agent_charges,
COUNT (agent_charges) cnt_agent_charges,
SUM (clearing_charges) clearing_charges,
COUNT (clearing_charges) cnt_clearing_charges,
SUM (execution_charges) execution_charges,
COUNT (execution_charges) cnt_execution_charges,
SUM (transaction_charges) transaction_charges,
COUNT (transaction_charges) cnt_transaction_charges,
SUM (order_management) order_management,
COUNT (order_management) cnt_order_management,
SUM (settlement_charges) settlement_charges,
COUNT (settlement_charges) cnt_settlement_charges,
SUM (recovered_agent) recovered_agent,
COUNT (recovered_agent) cnt_recovered_agent,
SUM (recovered_clearing) recovered_clearing,
COUNT (recovered_clearing) cnt_recovered_clearing,
SUM (recovered_execution) recovered_execution,
COUNT (recovered_execution) cnt_recovered_execution,
SUM (recovered_transaction) recovered_transaction,
COUNT (recovered_transaction) cnt_recovered_transaction,
SUM (recovered_ord_mgt) recovered_ord_mgt,
COUNT (recovered_ord_mgt) cnt_recovered_ord_mgt,
SUM (recovered_settlement) recovered_settlement,
COUNT (recovered_settlement) cnt_recovered_settlement,
SUM (client_agent) client_agent,
COUNT (client_agent) cnt_client_agent,
SUM (client_order_mgt) client_order_mgt,
COUNT (client_order_mgt) cnt_client_order_mgt,
SUM (client_exec) client_exec, COUNT (client_exec) cnt_client_exec,
SUM (client_trans) client_trans,
COUNT (client_trans) cnt_client_trans,
SUM (client_clearing) client_clearing,
COUNT (client_clearing) cnt_client_clearing,
SUM (client_settle) client_settle,
COUNT (client_settle) cnt_client_settle,
SUM (chargeable_taxes) chargeable_taxes,
COUNT (chargeable_taxes) cnt_chargeable_taxes,
SUM (vendor_charge) vendor_charge,
COUNT (vendor_charge) cnt_vendor_charge,
SUM (routing_charges) routing_charges,
COUNT (routing_charges) cnt_routing_charges,
SUM (recovered_routing) recovered_routing,
COUNT (recovered_routing) cnt_recovered_routing,
SUM (client_routing) client_routing,
COUNT (client_routing) cnt_client_routing,
SUM (ticket_charges) ticket_charges,
COUNT (ticket_charges) cnt_ticket_charges,
SUM (recovered_ticket_charges) recovered_ticket_charges,
COUNT (recovered_ticket_charges) cnt_recovered_ticket_charges
FROM us_datamart_raw
GROUP BY order_date,
if_system,
business_dim_id,
time_dim_id,
account_dim_id,
ordertype_dim_id,
instr_dim_id,
execution_dim_id,
exec_exchange_dim_id;
-- Note: Index I_SNAP$_MV_US_DATAMART will be created automatically
-- by Oracle with the associated materialized view.
CREATE UNIQUE INDEX OS_OWNER.MV_US_DATAMART_UDX ON OS_OWNER.MV_US_DATAMART
(ORDER_DATE, TIME_DIM_ID, BUSINESS_DIM_ID, ACCOUNT_DIM_ID, ORDERTYPE_DIM_ID,
INSTR_DIM_ID, EXECUTION_DIM_ID, EXEC_EXCHANGE_DIM_ID)
NOLOGGING
NOPARALLEL
COMPRESS 7;
No of rows: 2228558
The query (taken Mondrian) I run against each of them is:
select sum("MV_US_DATAMART"."NOTIONAL") as "m0"
--, sum("MV_US_DATAMART"."FILLED_QUANTITY") as "m1"
--, sum("MV_US_DATAMART"."AGENT_CHARGES") as "m2"
--, sum("MV_US_DATAMART"."CLEARING_CHARGES") as "m3"
--, sum("MV_US_DATAMART"."EXECUTION_CHARGES") as "m4"
--, sum("MV_US_DATAMART"."TRANSACTION_CHARGES") as "m5"
--, sum("MV_US_DATAMART"."ROUTING_CHARGES") as "m6"
--, sum("MV_US_DATAMART"."ORDER_MANAGEMENT") as "m7"
--, sum("MV_US_DATAMART"."SETTLEMENT_CHARGES") as "m8"
--, sum("MV_US_DATAMART"."COMMISSION") as "m9"
--, sum("MV_US_DATAMART"."RECOVERED_AGENT") as "m10"
--, sum("MV_US_DATAMART"."RECOVERED_CLEARING") as "m11"
--,sum("MV_US_DATAMART"."RECOVERED_EXECUTION") as "m12"
--,sum("MV_US_DATAMART"."RECOVERED_TRANSACTION") as "m13"
--, sum("MV_US_DATAMART"."RECOVERED_ROUTING") as "m14"
--, sum("MV_US_DATAMART"."RECOVERED_ORD_MGT") as "m15"
--, sum("MV_US_DATAMART"."RECOVERED_SETTLEMENT") as "m16"
--, sum("MV_US_DATAMART"."RECOVERED_TICKET_CHARGES") as "m17"
--,sum("MV_US_DATAMART"."TICKET_CHARGES") as "m18"
--, sum("MV_US_DATAMART"."VENDOR_CHARGE") as "m19"
from "OS_OWNER"."MV_US_DATAMART" "MV_US_DATAMART"
where I uncomment a column at a time and rerun. I improved the TimesTen results since my first post, by retyping the NUMBER columns to BINARY_FLOAT. The results I got were:
No Columns ORACLE TimesTen
1 1.05 0.94
2 1.07 1.47
3 2.04 1.8
4 2.06 2.08
5 2.09 2.4
6 3.01 2.67
7 4.02 3.06
8 4.03 3.37
9 4.04 3.62
10 4.06 4.02
11 4.08 4.31
12 4.09 4.61
13 5.01 4.76
14 5.02 5.06
15 5.04 5.25
16 5.05 5.48
17 5.08 5.84
18 6 6.21
19 6.02 6.34
20 6.04 6.75 -
Using Oracle ODBC Gateway connecting to a remote Oracle database
Oracle 11gR2
RHEL 6.4
Has anyone use the Oracle ODBC Gateway to connect to another Oracle database? Any issues with that configuration? Where do I get the ODBC drivers for Linux?
(I know, "why not use a dblink?" -- well that would be against company security policies)Hi,
From the Oracle point of view we support using DG4ODBC for Oracle to Oracle connections. However, we have not actually tested it as DG4ODBC is primarily designed for access to non-Oracle databases.
How DG4ODBC will work between Oracle databases depends on the ODBC driver and what that supports. You will need an ODBC Oracle driver which you can get from various suppliers including Oracle but also vendors such as DataDirect, Easysoft etc. You could try a Google search.
You say you do not want to use database links but that is how DG4ODBC is used, You cannot do -
sqlplus user/password@dg4odbc_oracle
Once Dg4ODBC is setup and configured as in this note - if you are using Linux 64-bit -
How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
then in the Oracle database you create a database link and select from tables in the other Oracle database -
select * from table@dg4odbc_db_link ;
Regards,
Mike -
Problem with httpd and oracle database
hi
i have oracle linux with oracle database 11gR2
i install php with oci as the following link :
http://oss.oracle.com/projects/php/dist/documentation/installation.html
but when i try phpinfo() i found just only
*" /etc/php.d/oci8.ini"* in the result
and when i test connection i have this error
*" Fatal error: Call to undefined function oci_connect() "*
so what is the best way to install oci on oracle linux ?What version of the OS are you using? Any clues in the syslog and httpd log? Are you using SELinux, which is often an overlooked issue?
Can you provide more details?
so what is the best way to install oci on oracle linux ?According to the instructions, if support is needed: http://www.oracle.com/technetwork/topics/php/zend-server-096314.html
Maybe you are looking for
-
Can there be multiple Master Detail Views, if yes then how? Please suggest
Dear All, In first master-detail view, I have a button, which when clicked will trigger the second detail view. I tried invoking second master detail view but was not able to see the second master view. Could you please guide as to how to go about th
-
Urgently .. import invoice to AP
Dear guys, I Need your expertise to import invoices from other application into Oracle AP, beside this two tables (AP_INVOICES_INTERFACE, AP_INVOICE_LINES_INTERFACE) any other table i have to take a note? and also which one are the mandatory columns
-
Sort by File path and better duplicate search
I think would be necessary a better SORTING OPTION by file PATH, by file SIZE (MB), by RESOLUTION, by ERRORS. Anything that can give a more customizable and accurate search and identification of files or group of them. Another feature very necessary
-
TC5.5.30 JDOPlugin
Hello I have "upgraded" to TC5.5.30 from a working 5.0.28 that successfully used a JDOPlugin to load that old, but venerable KODO ORM. Now TC5.5.30 is complaining that the servelet threw an exception. But all the configuration parameters name, path a
-
CSM 4.2.1 redundancy changes
The docs aren't very clear: bit's of them still show different IP's configured on each blade, and an alias command to create one IP to be the gateway for the reals. Then the new Configuring Redundancy chapter shows the new option of configuring the I