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,
Dan
Hi 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
Similar Messages
-
OEM configuration issue in Oracle 10g
Hi,
I am trying to manually configure OEM on oracle 10g solaris platform (5.10). Earlier I have configured the OEM manually on the same server and then due to customer request de-configure it. But now again, I need to re-configure OEM on same server and facing issue.
Steps which I am following are :-
-> Listener is started
-> Database is up and running.
-> Creating repository through command emca -repos create
-> Configuring the dbconsole through command emca -config dbcontrol db
At this step after providing the information of database name, listener port, Password for SYS user,Password for DBSNMP user,Password for SYSMAN user,Email address for notifications (optional): [email protected],Outgoing Mail (SMTP) server for notifications (optional): wbmlir1.mail.xerox.com, it is giving the below error that db console cannot be started.
Do you wish to continue? [yes(Y)/no(N)]: Y
Aug 22, 2011 10:18:38 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log.
Aug 22, 2011 10:18:43 AM oracle.sysman.emcp.ParamsManager getLocalListener
WARNING: Error retrieving listener for usa7061ux300
Aug 22, 2011 10:18:44 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Securing Database Control (this may take a while) ...
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Database Control secured successfully.
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil startOMSINFO: Starting Database Control (this may take a while) ...
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database ControlRefer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
Could not complete the configuration. Refer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
Below is the content of logfile :-
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
CONFIG: Securing Database Control completed successfully .
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'DISPLAY' is '', discarding the same
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [BKUPDIR=/data, CLASSPATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/emca.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvm.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvmasm.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/emConfigInstall.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/ldapjclnt10.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/ldap.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/share.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvmhas.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/netcfg.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib/xmlparserv2.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/assistants/jlib/assistantsCommon.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/sysman/jlib/emCORE.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraInstaller.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraPrereq.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/inventory/prereqs/oui/OraPrereqChecks.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, EDITOR=vi, HOME=/rdwq/ap01/rdwsdba, HZ=, LC_COLLATE=en_US.ISO8859-1, LC_CTYPE=en_US.ISO8859-1, LC_MESSAGES=C, LC_MONETARY=en_US.ISO8859-1, LC_NUMERIC=en_US.ISO8859-1, LC_TIME=en_US.ISO8859-1, LD_LIBRARY_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/lib/sparc/client:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/lib/sparc:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/../lib/sparc:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/usr/SUNWspro/lib:/usr/openwin/lib:/usr/dt/lib, LIBPATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, LOGNAME=rdwsdba, MAIL=/usr/mail/rdwsdba, MANPATH=/local/man:/usr/share/man, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, OLDPWD=/rdwq/ap01/rdwsdba, ORACLE_BASE=/rdwq/apps/oracle, ORACLE_DOC=/rdwq/apps/oracle/doc, ORACLE_HOME=/rdwq/apps/oracle/product/10.2.0.4.2011Q1, ORACLE_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin, ORACLE_SID=rdwq, ORACLE_TERM=xsun5, ORAENV_ASK=NO, ORATAB=, ORA_NLS=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/ocommon/nls/admin/data, PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin:/opt/local/scripts:/opt/local/bin:/opt/local/xns:/opt/X11:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/etc:/usr/ccs/bin:/usr/ucb:/usr/openwin:/usr/openwin/bin:/usr/bin/X11:/usr/openwin/bin/X11:/usr/openwin/lib:/usr/lib:/usr/sbin:/usr/local/bin:/app/oracle/local/dba/utilities:/opt/bin:/opt/EDSsrm/bin:/usr/bin, PWD=//rdwq/apps/oracle/product/10.2.0.4.2011Q1/network/admin, SHELL=/bin/bash, SHLIB_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, SHLVL=1, TERM=vt100, TNS_ADMIN=, TZ=US/Pacific, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emca]
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://usa7061ux300:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
Logs are generated in directory /rdwq/apps/oracle/product/10.2.0.4.2011Q1/usa7061ux300_rdwq/sysman/log
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:646)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:224)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:193)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
Please guide me to resolve this issue.
ThanksHi,
Content of emagent.trc :-
2011-08-22 11:37:07 Thread-1 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=125)
2011-08-22 11:37:07 Thread-1 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://usa7061ux300:3938/emd/main
2011-08-22 11:37:07 Thread-1 ERROR main: nmehl_startHttpListener failed starting http listener
Content of emagent.trc :-
2011-08-22 11:37:07 Thread-1 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=125)
2011-08-22 11:37:07 Thread-1 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://usa7061ux300:3938/emd/main
2011-08-22 11:37:07 Thread-1 ERROR main: nmehl_startHttpListener failed starting http listener
rdwsdba$ tail -100 emdctl.trc
2011-08-23 07:01:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:01:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:01:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:01:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:02:49 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:02:49 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:02:49 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:02:49 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:04:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:04:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:04:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:04:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:05:49 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:05:49 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:05:49 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:05:49 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:07:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:07:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:07:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:07:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:08:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:08:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:08:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:08:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:10:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:10:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:10:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:10:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:11:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:11:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:11:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:11:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:13:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:13:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:13:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:13:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:14:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:14:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:14:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:14:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:16:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:16:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:16:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:16:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:17:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:17:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:17:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:17:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:19:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:19:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:19:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:19:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:20:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:20:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:20:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:20:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:22:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:22:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:22:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:22:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:23:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:23:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:23:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:23:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:25:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:25:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:25:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:25:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:26:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:26:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:26:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:26:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:28:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:28:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:28:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:28:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:29:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:29:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:29:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:29:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:31:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:31:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:31:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:31:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:32:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:32:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:32:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:32:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:34:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:34:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:34:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:34:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:35:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:35:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:35:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:35:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:37:23 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:37:23 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:37:23 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:37:23 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
There is no secure.log file.
Thanks -
How to Configure Webutil in Oracle 10g Developer Suit
Dear All,
How to Configure Webutil in Oracle 10g Developer Suit.
Please give me the step by step solution.
Thanks and Regards,
FazilThis is a very frequently asked question. Searching the Forum or the Forms Help system would have given you your answer! Search Forms Help on "Configure WebUtil" and read the configuration guide and checklist articles.
Craig... -
Configuring proc* with oracle 10g
please help me configuring proc* in oracle 10g express edition
operating system-ubuntu 10.10
if it cannot be done please suggest an alternative
thanksOk, when I look at the /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/admin directory under XE on Ubuntu, I don't see Pro*C related configuration files.
(this is from our full Oracle Client on Linux) :
/home/oracle/product/10.2.0/Linux64/precomp/admin/
ls will show:
ottcfg.cfg* pcbcfg.cfg* pccfor.cfg* pcscfg.cfg* pmscfg.cfg* shrept.lst
suggestion: you can get/use the Pro*C related files from the Oracle Instant Client. That will fix your problem.
Check the Instant Client downloads:
http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
note: here is how my pcscfg.cfg (Pro*C config file looks like)
cat pcscfg.cfg
sys_include=(/usr/include,/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/include,/usr/X11R6/include)
include=(/home/oracle/product/10.2.0/Linux64/precomp/public)
include=(/home/oracle/product/10.2.0/Linux64/rdbms/public)
ltype=short
define=__x86_64__
maxopencursors=2000
dbms=V8
unsafe_null=yes
hope this proves useful
R/ Zaf -
Installing and configuring PHP for ORACLE 10g Release 1
Hello Lads,
Please can anybody help me finish PHP install...
I have got this error when executing the following command..
#make install
Here is the error:
/usr/local/php-5.1.4/sapi/cli/php: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
Thanks!I answered in your other thread... the one without the I in the title :)
nstalling and configuring PHP for ORACLE 10g Release 1 -
Configure dbstart script Oracle 10g Oracle Enterprise Linux
Hallo!I am a newbie in Oracle 10g having installed Oracle 10g in Oracle Enterprise Linux version 4 update 7.
Please give me a step-by step guide of how to configure dbstart script such that I can start the listener,the database ,Enterprise Manager and isqlplus automatically at boot time.
Thanks.dbstart does not work correctly in 10.2.0.4 and 10.2.0.5 (solaris 64bit) I did not try it in 10.2.0.1.
If you look at this thread you will see some discussion of the problem: "dbstart" command error in Oracle10g_Linux
I tried the fix from that thread and dbstart still does not work.
Both dbstart and dbshut are required to have the oracle_home path passed to them as the first argument per the 10gR2 Administrators reference for Unix systems.
http://download.oracle.com/docs/cd/B19306_01/server.102/b15658/strt_stp.htm#CFAHAHGA
See metalink bug: 386650.1 for a potential resolution to dbstart
Edited by: user925295 on Sep 10, 2010 5:45 PM
Edited by: user925295 on Sep 10, 2010 5:47 PM -
Insert statement taking time on oracle 10g
Hi,
My procedure taking time in following statement while database upgrading from oracle 9i to oracle 10g.
I m using oracle version 10.2.0.4.0.
cust_item is matiralize view in procedure and it is refreshing in the procedure
Index is dropping before inserting data into cust_item_tbl TABLE and after inserting data index is created.
There are almost 6 lac records into MV which are going to insert into TABLE.
In 9i below insert statement is taking 1 hr time to insert while in 10g it is taking 2.30 hrs.
EXECUTE IMMEDIATE 'ALTER SESSION ENABLE PARALLEL QUERY';
EXECUTE IMMEDIATE 'ALTER SESSION ENABLE PARALLEL DML';
INSERT INTO /*+ APPEND PARALLEL */ cust_item_tbl NOLOGGING
(SELECT /*+ PARALLEL */
ctry_code, co_code, srce_loc_nbr, srce_loc_type_code,
cust_nbr, item_nbr, lu_eff_dt,
0, 0, 0, lu_end_dt,
bus_seg_code, 0, rt_nbr, 0, '', 0, '', SYSDATE, '', SYSDATE,
'', 0, ' ',
case
when cust_nbr in (select distinct cust_nbr from aml.log_t where CTRY_CODE = p_country_code and co_code = p_company_code)
THEN
case
when trunc(sysdate) NOT BETWEEN trunc(lu_eff_dt) AND trunc(lu_end_dt)
then NVL((select cases_per_pallet from cust_item c where c.ctry_code = a.ctry_code and c.co_code = a.co_code
and c.cust_nbr = a.cust_nbr and c.GTIN_CO_PREFX = a.GTIN_CO_PREFX and c.GTIN_ITEM_REF_NBR = a.GTIN_ITEM_REF_NBR
and c.GTIN_CK_DIGIT = a.GTIN_CK_DIGIT and trunc(sysdate) BETWEEN trunc(c.lu_eff_dt) AND trunc(c.lu_end_dt) and rownum = 1),
a.cases_per_pallet)
else cases_per_pallet
end
else cases_per_pallet
END cases_per_pallet,
cases_per_layer
FROM cust_item a
WHERE a.ctry_code = p_country_code ----varible passing by procedure
AND a.co_code = p_company_code ----varible passing by procedure
AND a.ROWID =
(SELECT MAX (b.ROWID)
FROM cust_item b
WHERE b.ctry_code = a.ctry_code
AND b.co_code = a.co_code
AND b.ctry_code = p_country_code ----varible passing by procedure
AND b.co_code = p_company_code ----varible passing by procedure
AND b.srce_loc_nbr = a.srce_loc_nbr
AND b.srce_loc_type_code = a.srce_loc_type_code
AND b.cust_nbr = a.cust_nbr
AND b.item_nbr = a.item_nbr
AND b.lu_eff_dt = a.lu_eff_dt));explain plan of oracle 10g
Plan
INSERT STATEMENT CHOOSECost: 133,310 Bytes: 248 Cardinality: 1
5 FILTER
4 HASH GROUP BY Cost: 133,310 Bytes: 248 Cardinality: 1
3 HASH JOIN Cost: 132,424 Bytes: 1,273,090,640 Cardinality: 5,133,430
1 INDEX FAST FULL SCAN INDEX MFIPROCESS.INDX_TEMP_CUST_AUTH_PERF_MV Cost: 10,026 Bytes: 554,410,440 Cardinality: 5,133,430
2 MAT_VIEW ACCESS FULL MAT_VIEW MFIPROCESS.TEMP_CUST_AUTH_PERF_MV Cost: 24,570 Bytes: 718,680,200 Cardinality: 5,133,430 can you please look into the issue?
Thanks.According to the execution plan you posted parallelism is not taking place - no parallel operations listed
Check the hint syntax. In particular, "PARALLEL" does not look right.
Running queries in parallel can either help performance, hurt performance, or do nothing for performance. In your case a parallel index scan on MFIPROCESS.INDX_TEMP_CUST_AUTH_PERF_MV using the PARALLEL_INDEX hint and the PARALLEL hint specifying the table for MAT_VIEW MFIPROCESS.TEMP_CUST_AUTH_PERF_MV Cost might help, something like (untested)
select /*+ PARALLEL_INDEX(INDX_TEMP_CST_AUTH_PERF_MV) PARALLEL(TEMP_CUST_AUTHPERF_MV) */Is query rewrite causing the MVs to be read? If so hinting the query will be tricky -
Query taking time in Oracle 10g
Hi,
Recently we had a database upgrade from 9.2.0.8 to 10.2.0.4. We use HP-UX B11.23 as OS.The problem is we have a query which used to take 3 mins in 9i database but it is not returning any output in 10g database after running for 8 hours after which we need to kill it . The query is ,
SELECT DPPB.CO_CD, DPPB.PRC_BOOK_CD,NVL(PB.CO_PRC_BOOK_CD,'NULL') ,
NVL(BP.BASE_PROD_CD,'NULL'),NVL(FG.FG_CD,'NULL'),DPPB.EFFTV_STRT_DT,
DPPB.EFFTV_END_DT,PRC_BOOK_AMT, PRC_LST_RPT_IND ,
SYSDATE + (RANK () OVER (PARTITION BY PROD_PRC_BOOK_CD ORDER BY DPPB.EFFTV_STRT_DT)/(24*60*60)) "RANK",
SYSDATE FROM
DIM_PROD_PRC_BOOK DPPB,dim_prod FG,dim_prod BP,dim_prc_book PB
WHERE
DPPB.BASE_PROD_OID =BP.BASE_PROD_OID and bp.end_date>sysdate and bp.be_id=bp.base_prod_oid AND
FG.FG_OID=DPPB.FG_OID and fg.end_date>sysdate and fg.be_id=fg.fg_oid
AND DPPB.PRC_BOOK_OID=PB.prc_book_oid and pb.end_date>sysdate and pb.be_id=pb.PRC_BOOK_OID
AND DPPB.EFFTV_END_DT > ADD_MONTHS(TRUNC(SYSDATE), -15)
AND DPPB.CURR_IND='Y'
AND
PROD_PRC_BOOK_CD ||'-'||TO_CHAR(DPPB.END_DATE ,'DD-MM-YYYY hh24:mi:ss')
IN(
SELECT PROD_PRC_BOOK_CD ||'-'||TO_CHAR(MAX(DPPB.END_DATE ),'DD-MM-YYYY hh24:mi:ss')
FROM DIM_PROD_PRC_BOOK DPPB WHERE PROD_PRC_BOOK_CD IS NOT NULL GROUP BY PROD_PRC_BOOK_CD ,EFFTV_STRT_DT
)The explain plan of the query in 9i is,
Operation Object Name Rows Bytes Cost Object Node In/Out PStart PStop
SELECT STATEMENT Optimizer Mode=CHOOSE 1 2964
WINDOW SORT 1 661 2964
HASH JOIN 1 661 2958
TABLE ACCESS BY INDEX ROWID WHSUSR.DIM_PROD 1 73 1
NESTED LOOPS 1 355 290
NESTED LOOPS 1 282 289
HASH JOIN 164 32 K 284
TABLE ACCESS FULL WHSUSR.DIM_PRC_BOOK 1 57 2
TABLE ACCESS FULL WHSUSR.DIM_PROD_PRC_BOOK 6 K 957 K 281
TABLE ACCESS BY INDEX ROWID WHSUSR.DIM_PROD 1 77 1
INDEX RANGE SCAN WHSUSR.XN15_DIM_PROD 3 1
INDEX RANGE SCAN WHSUSR.XN22_DIM_PROD 5 1
VIEW SYS.VW_NSO_1 132 K 38 M 2665
SORT UNIQUE 132 K 6 M 2665
SORT GROUP BY 132 K 6 M 2665
TABLE ACCESS FULL WHSUSR.DIM_PROD_PRC_BOOK 132 K 6 M 281 And the explain plan of the query in 10g database is
Operation Object Name Rows Bytes Cost Object Node In/Out PStart PStop
SELECT STATEMENT Optimizer Mode=ALL_ROWS 4 1702
WINDOW SORT 4 1 K 1702
FILTER
TABLE ACCESS BY INDEX ROWID WHSUSR.DIM_PROD 1 73 1
NESTED LOOPS 1 339 899
NESTED LOOPS 14 3 K 898
HASH JOIN 2 K 428 K 805
TABLE ACCESS FULL WHSUSR.DIM_PRC_BOOK 1 53 3
TABLE ACCESS FULL WHSUSR.DIM_PROD_PRC_BOOK 93 K 12 M 801
TABLE ACCESS BY INDEX ROWID WHSUSR.DIM_PROD 1 77 1
INDEX RANGE SCAN WHSUSR.XN15_DIM_PROD 2 1
INDEX RANGE SCAN WHSUSR.XN22_DIM_PROD 5 1
FILTER
HASH GROUP BY 1 K 59 K 802
TABLE ACCESS FULL WHSUSR.DIM_PROD_PRC_BOOK 117 K 5 M 794 Please help in identifying the problem and how to tune it.user605926 wrote:
Thanks Sir for your immense help. I used the hint /*+ optimizer_features_enable('9.2.0.8') */ and the query took only 2 seconds. I am really delighted.
Sorry for not clicking the 'helpful' button earlier since honestly I did not know about the rules. Going forward I will not forget to do that.Don't apologise, it wasn't intended as a personal criticism - it's just a footnote I tend to use at present as a general reminder to everyone that feedback is useful.
I have one question. Do i have to use this hint for each and every query that is becoming a headache or is their any permanent solution to fix all the queries that used to run good on 9.2.0.8 database ? Please suggest.When doing an upgrade it is always valid (in the short term) to set the optimizer_features_enable parameter to the value of the database your moving from so that you can get the code improvements (or bug fixes) of the newer software without risking execution plan changes.
After that the ideal is to test software and identify generic cases where a change like an index definition, or some statistical information needs to be corrected for a particular reason in classes of queries. Eventually you get down to the point where you have a few awkward queries which the optimizer can't handle where you need hints. The optimizer_features_enable is very convenient here. In 10g, however, you could then capture the older plan and record is as an SQL Baseline against the unhinted query rather than permanently including hints.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
A general reminder about "Forum Etiquette / Reward Points": http://forums.oracle.com/forums/ann.jspa?annID=718
If you never mark your questions as answered people will eventually decide that it's not worth trying to answer you because they will never know whether or not their answer has been of any use, or whether you even bothered to read it.
It is also important to mark answers that you thought helpful - again it lets other people know that you appreciate their help, but it also acts as a pointer for other people when they are researching the same question, moreover it means that when you mark a bad or wrong answer as helpful someone may be prompted to tell you (and the rest of the forum) what's so bad or wrong about the answer you found helpful. -
Hi,
I am trying to configure oem in 10..2.0.3 database, but it gives me the below error
emca -config dbcontrol db -repos createIncorrect usage:
oracle.sysman.emcp.EMConfigAssistant [options] [list of parameters]
Options:
-a :configure for an ASM database
-b :configure for automatic backup
-c :configure a cluster database
-e <node> :remove a node from the cluster
-f <file> :specify the file name that contains parameter values
-h :help
-m :configure EM for a central agent
-n <node> :add a new node to the cluster
-r :skip creation of repository schema
-s :silent mode (no user prompts
-x <db> :deletion of a SID or DB
-RMI_PORT <port> :specify the RMI port for DB Control
-JMS_PORT <port> :specify the JMS port for DB Control
-AGENT_PORT <port> :specify the EM agent port
-DBCONSOLE_HTTP_PORT <port> :specify the DB Control HTTP port
The script will prompt for any required data that is not specified in a configuration file. The script always prompts for all required passwords. If you use a configuration file, the file may contain any of the following specifications, as shown, with the specified values correctly filled in:
Parameters for single instance databases:
HOST=<Database hostname>
SID=<Database SID>
PORT=<Listener port number>
ORACLE_HOME=<Database ORACLE_HOME>
LISTENER=<Listener name>
HOST_USER=<Host user name for automatic backup>
HOST_USER_PWD=<Host user password for automatic backup>
BACKUP_HOUR=<Automatic backup hour in number>
BACKUP_MINUTE=<Automatic backup minute in number>
ARCHIVE_LOG=<Archive log>
EMAIL_ADDRESS=<Email address for automatic notification>
MAIL_SERVER_NAME=<Email gateway for automatic notification>
ASM_OH=<ASM ORACLE_HOME>
ASM_SID=<ASM SID>
ASM_PORT=<ASM port>
ASM_USER_ROLE=<ASM user role>
ASM_USER_NAME=<ASM user name>
ASM_USER_PWD=<ASM user password>
EM_HOME=<Enterprise Manager ORACLE_HOME>
DBSNMP_PWD=<Password for dbsnmp>
SYSMAN_PWD=<Password for sysman>
SYS_PWD=<Password for sys>
Parameters for cluster databses:
HOST=<Database Instance hostname>
PORT=<Listener port number>
LISTENER=<Listener name>
ORACLE_HOME=<Database ORACLE_HOME>
CLUSTER_NAME=<Cluster name>
DB_NAME=<Database name>
SERVICE_NAME=<Service name>
HOST_USER=<Host user name for automatic backup>
HOST_USER_PWD=<Host user password for automatic backup>
BACKUP_HOUR=<Automatic backup hour in number>
BACKUP_MINUTE=<Automatic backup minute in number>
ARCHIVE_LOG=<Archive log>
EMAIL_ADDRESS=<Email address for automatic notification>
MAIL_SERVER_NAME=<Email gateway for automatic notification>
ASM_OH=<ASM ORACLE_HOME>
ASM_PORT=<ASM port>
ASM_USER_ROLE=<ASM user role>
ASM_USER_NAME=<ASM user name>
ASM_USER_PWD=<ASM user password>
EM_HOME=<Enterprise Manager ORACLE_HOME>
DBSNMP_PWD=<Password for dbsnmp>
SYSMAN_PWD=<Password for sysman>
SYS_PWD=<Password for sys>
Please suggest
Regardsit seems database install was not successful some binaries is missing in your OH.
Can you check by installing another database -
Solaris 10 configuration parameters for Oracle 10g
Hello all,
I have installed:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit
on the latest version of Solaris 10 SPARC. My /etc/project file looks as follows:
user.oracle:101:Oracle:::process.max-sem-nsems=(privileged,256,deny);project.max-shm-ids=(privileged,256,deny);project.max-shm-memory=(privileged,17179869184,deny)
I followed the installation guide for 10g and used the max-sem-nsems and max-shm-ids that were recommended. However, the guide was for a 4GB SGA and we are using a 8GB SGA on a machine with 32GB of memory.
Now, my question is, do those nsem and shm-id parameters hold true for larger SGAs? We are having a problem that, when new oracle shadows are created, any processes that check the /proc table becomes painfully slow.As allways kernel parameter could be found in documentation: http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b15667/pre_install.htm#sthref258
Maybe you will be intersted in Werner Pushitz's article "Tuning and Optimizing Red Hat Enterprise Linux for Oracle 9i and 10g Databases" - http://www.puschitz.com/TuningLinuxForOracle.shtml
SGA, PGA. If you are not sure with proper sizeing then you can read this document - http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#PFGRF014
Note since 10g there is new feature called "Automatic Shared Memory Management" -
Query taking long time in oracle 10g
I have a query which runs in 1 minute in oracle 8 but it takes 2 hours in oracle 10. The query has couple of sub queries to select the max effective date as wee as current effective sequence. I checked the parameters and their values are as follows. I want to know whether any values can be increased to make it run faster. Also I did not find the parameter unnestsubquery, I think it should be set to FALSE but did not find the value when I did select * from v$parameter. Is it set to false value by default or should i explicitly declare it. Thanks
Statistic Name Result
processes 200
sessions 225
timed_statistics TRUE
sga_target 335544320
control_files /ora1db13/oradata/KVSU2P13/control01.ctl, /ora2db13/o
db_block_size 8192
compatible 10.2.0.1.0
db_file_multiblock_read_count 4
undo_management AUTO
undo_tablespace ADP_UNDO
db_domain
service_names KVSU2P13, KVSU2P13_VSUP
dispatchers (PROTOCOL=tcp)(DISPATCHERS=4)(CONNECTIONS=50)
shared_servers 10
max_shared_servers 20
shared_server_sessions 150
job_queue_processes 10
background_dump_dest /udb01/app/oracle/admin/KVSU2P13/bdump
user_dump_dest /udb01/app/oracle/admin/KVSU2P13/udump
core_dump_dest /udb01/app/oracle/admin/KVSU2P13/cdump
db_name KVSU2P13
open_cursors 300
optimizercost_based_transformation off
alwayssemi_join off
optimizer_index_cost_adj 10
optimizer_index_caching 50
pga_aggregate_target 25165824
workarea_size_policy autoPlease read these standard threads:
How to post a tuning request:
HOW TO: Post a SQL statement tuning request - template posting
When your query takes too long:
When your query takes too long ... -
Configuring RMAN in oracle 10g database for solaris OS
hi
send me the step by step configuration of RMAN in oracle10g for solaris OS
BR
DurgaCheck the following:
Backup and Recovery Quick Start Guide
Backup and Recovery Basics
Backup and Recovery Advanced Users Guide -
Steps to configure Enterprise Manager (oracle 10g with Window2003 Entp OS
Hi Experts,
Could any one provide me with steps to configure Enterprise Manger.
Also let me know any parameter or services to be cheked before starting the Enterprise Manager.
I am facing problem while configuring it, I would be thankful to you if u can provide me details.
So that I can start once again configuring Enterprise Manager.
Regards
SriTo configure please run the command emca -config dbcontrol db -repos create
Edited by: mnazim on Mar 10, 2011 9:38 PM -
"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,
VijayHi 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 -
Problem using template in database configuration assistant Oracle 10g
Hi,
I created a database using the database configuration assistant for Oracle 10g on a Windows Server 2003 box. The database I created worked perfectly, and I had saved it as a template so I could save some time when creating similar databases (which I have to do on occasion)
When I try to use the template though, I get an error (at about 4% through the database creation) saying:
ORA-01501: CREATE DATABASE failed
ORA-09314: sltln: error translating logical name
I'm creating this new database on the same server as the one I created my previous database on and NOTHING has changed on it, I did this just minutes apart and can duplicate it at will (just try and use a template)
Heres the template file contents (KM1.dbt)
<DatabaseTemplate name="KM1" description="" version="10.1.0.2.0">
<CommonAttributes>
<option name="ISEARCH" value="false"/>
<option name="OMS" value="false"/>
<option name="JSERVER" value="false"/>
<option name="SPATIAL" value="false"/>
<option name="ODM" value="false">
<tablespace id="SYSAUX"/>
</option>
<option name="IMEDIA" value="false"/>
<option name="XDB_PROTOCOLS" value="false">
<tablespace id="SYSAUX"/>
</option>
<option name="ORACLE_TEXT" value="false">
<tablespace id="SYSAUX"/>
</option>
<option name="SAMPLE_SCHEMA" value="false"/>
<option name="CWMLITE" value="false">
<tablespace id="SYSAUX"/>
</option>
<option name="EM_REPOSITORY" value="true">
<tablespace id="SYSAUX"/>
</option>
</CommonAttributes>
<Variables/>
<CustomScripts Execute="false"/>
<InitParamAttributes>
<InitParams>
<initParam name="O7_DICTIONARY_ACCESSIBILITY" value="TRUE"/>
<initParam name="background_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\bdump"/>
<initParam name="compatible" value="10.1.0.2.0"/>
<initParam name="core_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\cdump"/>
<initParam name="db_block_size" value="8" unit="KB"/>
<initParam name="db_cache_size" value="24" unit="MB"/>
<initParam name="db_create_file_dest" value="E:\oradata"/>
<initParam name="db_create_online_log_dest_1" value="C:\Oradata"/>
<initParam name="db_create_online_log_dest_2" value="D:\Oradata"/>
<initParam name="db_create_online_log_dest_3" value="E:\Oradata"/>
<initParam name="db_domain" value="JACOBSONCO.COM"/>
<initParam name="db_file_multiblock_read_count" value="16"/>
<initParam name="db_name" value="UDC7"/>
<initParam name="db_recovery_file_dest" value="E:\UDC7\flash_recovery_area"/>
<initParam name="db_recovery_file_dest_size" value="2048" unit="MB"/>
<initParam name="java_pool_size" value="0" unit="MB"/>
<initParam name="job_queue_processes" value="10"/>
<initParam name="large_pool_size" value="8" unit="MB"/>
<initParam name="open_cursors" value="1000"/>
<initParam name="pga_aggregate_target" value="24" unit="MB"/>
<initParam name="processes" value="150"/>
<initParam name="remote_login_passwordfile" value="EXCLUSIVE"/>
<initParam name="shared_pool_size" value="80" unit="MB"/>
<initParam name="sort_area_size" value="65536"/>
<initParam name="undo_management" value="AUTO"/>
<initParam name="undo_tablespace" value="UNDOTBS1"/>
<initParam name="user_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\udump"/>
</InitParams>
<MiscParams>
<databaseType>MULTIPURPOSE</databaseType>
<maxUserConn>20</maxUserConn>
<percentageMemTOSGA>40</percentageMemTOSGA>
<customSGA>true</customSGA>
<characterSet>WE8MSWIN1252</characterSet>
<nationalCharacterSet>AL16UTF16</nationalCharacterSet>
<archiveLogMode>false</archiveLogMode>
<initParamFileName>{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\pfile\init.ora</initParamFileName>
</MiscParams>
<SPfile useSPFile="true">{ORACLE_HOME}\database\spfile{SID}.ora</SPfile>
</InitParamAttributes>
<StorageAttributes>
<ControlfileAttributes id="Controlfile">
<maxDatafiles>100</maxDatafiles>
<maxLogfiles>16</maxLogfiles>
<maxLogMembers>3</maxLogMembers>
<maxLogHistory>1</maxLogHistory>
<maxInstances>8</maxInstances>
<image name="<OMF_CONTROL_0>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
<image name="<OMF_CONTROL_1>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
<image name="<OMF_CONTROL_2>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
</ControlfileAttributes>
<DatafileAttributes id="<OMF_SNIKEB_DATAFILE_0>">
<tablespace>SNIKEB</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">300</size>
<reuse>false</reuse>
<autoExtend>false</autoExtend>
<increment unit="KB">-2</increment>
<maxSize unit="KB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_SYSAUX_DATAFILE_0>">
<tablespace>SYSAUX</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">120</size>
<reuse>true</reuse>
<autoExtend>true</autoExtend>
<increment unit="KB">10240</increment>
<maxSize unit="MB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_SYSTEM_DATAFILE_0>">
<tablespace>SYSTEM</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">300</size>
<reuse>true</reuse>
<autoExtend>true</autoExtend>
<increment unit="KB">10240</increment>
<maxSize unit="MB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_TEMP_DATAFILE_0>">
<tablespace>TEMP</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">20</size>
<reuse>true</reuse>
<autoExtend>true</autoExtend>
<increment unit="KB">640</increment>
<maxSize unit="MB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_UNDOTBS1_DATAFILE_0>">
<tablespace>UNDOTBS1</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">200</size>
<reuse>true</reuse>
<autoExtend>true</autoExtend>
<increment unit="KB">5120</increment>
<maxSize unit="MB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_USERS_DATAFILE_0>">
<tablespace>USER_DATA</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">5</size>
<reuse>true</reuse>
<autoExtend>true</autoExtend>
<increment unit="KB">1280</increment>
<maxSize unit="MB">-1</maxSize>
</DatafileAttributes>
<TablespaceAttributes id="SNIKEB">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">-1</initSize>
<increment unit="KB">-1</increment>
<incrementPercent>-1</incrementPercent>
<minExtends>-1</minExtends>
<maxExtends>-2</maxExtends>
<minExtendsSize unit="KB">-1</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_SNIKEB_DATAFILE_0>">
<id>1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="SYSAUX">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">64</initSize>
<increment unit="KB">64</increment>
<incrementPercent>50</incrementPercent>
<minExtends>1</minExtends>
<maxExtends>4096</maxExtends>
<minExtendsSize unit="KB">64</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_SYSAUX_DATAFILE_0>">
<id>-1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="SYSTEM">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>3</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">64</initSize>
<increment unit="KB">64</increment>
<incrementPercent>50</incrementPercent>
<minExtends>1</minExtends>
<maxExtends>-1</maxExtends>
<minExtendsSize unit="KB">64</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_SYSTEM_DATAFILE_0>">
<id>-1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="TEMP">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>true</temporary>
<defaultTemp>true</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">64</initSize>
<increment unit="KB">64</increment>
<incrementPercent>0</incrementPercent>
<minExtends>1</minExtends>
<maxExtends>0</maxExtends>
<minExtendsSize unit="KB">64</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_TEMP_DATAFILE_0>">
<id>-1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="UNDOTBS1">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>true</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">512</initSize>
<increment unit="KB">512</increment>
<incrementPercent>50</incrementPercent>
<minExtends>8</minExtends>
<maxExtends>4096</maxExtends>
<minExtendsSize unit="KB">512</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_UNDOTBS1_DATAFILE_0>">
<id>-1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="USER_DATA">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">128</initSize>
<increment unit="KB">128</increment>
<incrementPercent>0</incrementPercent>
<minExtends>1</minExtends>
<maxExtends>4096</maxExtends>
<minExtendsSize unit="KB">128</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_USERS_DATAFILE_0>">
<id>-1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<RedoLogGroupAttributes id="1">
<reuse>false</reuse>
<fileSize unit="KB">10240</fileSize>
<Thread>1</Thread>
<member ordinal="0" memberName="OMF_1_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
</RedoLogGroupAttributes>
<RedoLogGroupAttributes id="2">
<reuse>false</reuse>
<fileSize unit="KB">10240</fileSize>
<Thread>1</Thread>
<member ordinal="0" memberName="OMF_2_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
</RedoLogGroupAttributes>
<RedoLogGroupAttributes id="3">
<reuse>false</reuse>
<fileSize unit="KB">10240</fileSize>
<Thread>1</Thread>
<member ordinal="0" memberName="OMF_3_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
</RedoLogGroupAttributes>
</StorageAttributes>
</DatabaseTemplate>
can anyone explain why I keep getting this error?
ThanksError: ORA-9314
Text: sltln: error translating logical name
Cause: Internal buffer may have overflowed
Action: See OSD error accompanying this message
Check alertlog and trace files.
Message was edited by:
FeNiCrC_Neil
Maybe you are looking for
-
My speaker stopped working right in the middle of a call, I have reset my phone and powered off and back on And it still will not work, I can hear sound trying to come Thru randomly and goes right back out!! :( what do I do to fix this??
-
Hi everyone, I have been trying to get this GUI built from the ground up and I have encountered a problem with the GridBag(exception error that the fields being added can not be done. Also, my method main seems to be off track, I have a working progr
-
IDVD v7.1.2 launch problem
I used the program successfully two days ago, making a DVD. Yesterday and today I go to launch and it takes forever eventually I get the message: Searching for movie data in file "Sequence 1-Fin-0000086". Earlier this week I updated to all the
-
I am having trouble installing Photoshop Elements 12. I get to the screen where I can input my serial number and it says it is invalid. in fact the number on the box and the receipt which also has the serial number on it match perfectly but they se
-
24" video will pixelate and eventually freeze and has to be powered down by holding power button
I have a 24" intel based imac 2006 model- Recently it has begun to show pixel blocks on the screen and will eventually lock up and has to be powered down by holding the power button.