Basic query - check oracle server install type
How do I check if the Oracle 10g is configured as GENERAL_PURPOSE or TRANSACTION_PROCESSING or DATAWAREHOUSE?
I searched the forums but did not find anything specific for this info. This is an existing installation, I cant find the the installation log which will have this type of information. I am wondering if there are any parameters which can be looked at to determine the type or Oracle Configuration. Any tips - thanks.
rman_guru wrote:
How do I check if the Oracle 10g is configured as GENERAL_PURPOSE or TRANSACTION_PROCESSING or DATAWAREHOUSE?
I searched the forums but did not find anything specific for this info. This is an existing installation, I cant find the the installation log which will have this type of information. I am wondering if there are any parameters which can be looked at to determine the type or Oracle Configuration. Any tips - thanks.There really is no specific setting of the database that makes it any of the above. Choosing one of those templates will select certain SGA parameters to have different values that are 'best guess' optimized for particular database usage. But even those are just starting points and -- like I said -- best guesses.
What business problem are you trying to solve. Assuming your question had the kind of answer you anticipated when posting this, what decision is riding on the outcome?
Similar Messages
-
How to check oracle properly installed or not?
Hello Friends,
How to check oracle properly installed or not. cause during installation time the person who installed faced many problems. we have RISK base IBM p5 Series server and Oracle 10g RAC.
i want to check installation made properly or not.
Thanks,
Nikunj PatelInstallation for RAC environments means you are not only talking about one single installation, but several installations, and the number of installations and checking processes depend on factors such as the clusterware you are using, if you are using the Oracle clusterware or the proprietary clusterware, if you are using a separate oracle home to install the ASM or if you are using the same oracle home for both, the ASM and the RDBMS.
First you must ensure you have installed all prerequisites according to your platform, i.e. patches, packages, kernel parameters, etc. which are listed at the install guide corresponding to your platform. Then you should use the cluvfy (cluster verifier tool) to check if the different install phases are properly installed
The most critical and most of the times, problematic installation phase is the clusterware. So you should specify if you installed the Oracle clusterware or the proprietary clusterware. In a RAC environment if your clusterware is not properly installed, most probably you won't have a running RAC, so if your environment is functional there you may have high probabilities that it is OK, but to make sure, launch the cluvfy tool.
The cluvfy tool verifies the process since the beginning and it ensures your environment meets the required minimum requirements to be at an operational level, it checks the pre/post install phases for the clusterware, pre/post install of the rdbms, and it is launched from the OS. It can be obtained as a standalone product or you can use the one found at the clusterware Oracle Home. For further references on this tool I suggest you to read this
Oracle® Database Oracle Clusterware and Oracle Real Application Clusters Installation Guide
10g Release 2 (10.2) for AIX
Part Number B14201-04
~ Madrid -
I'm trying to learn Oracle Spatial working with 11g R2 and with 3D georeferenced data (specifically data describing buildings in a city).
But I'm having trouble getting a basic query to work on my dataset (it works for the book example), and I'm trying to do it exactly the way it's done in the Spatial Developer's Guide for 11g.
To learn how spatial queries work, I set up the cola_markets tables used in the book, made the appropriate manual entry in the user_sdo_geom_metadata view and created the index. Having done that, I can run the following simple query (as well as the others in the manual) on the book tables:
SELECT SDO_GEOM.SDO_DISTANCE(c_b.shape, c_d.shape, 0.005)
FROM cola_markets c_b, cola_markets c_d
WHERE c_b.name = 'cola_b' AND c_d.name = 'cola_d';
but when I try to do the same thing on my own tables (created from citygml data), I get an error. There is the difference that the data is 3D, and the index was created without any PARAMETERS ( ... ), hence is just 2D. But still I don't get why the following query doesn't work:
SELECT SDO_GEOM.SDO_DISTANCE(c_w.envelope, c_b.envelope, 0.0005)
FROM cityobject c_w,
cityobject c_b
WHERE c_w.id = 50025
AND c_b.id = 50018;
The id's for the buildings are valid, and I used the same tolerance used by the software that set up the database.
Here's the error I get in SQL developer:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.Exception: 54535
ORA-06512: at "MDSYS.SDO_3GL", line 637
ORA-06512: at "MDSYS.SDO_GEOM", line 1973
ORA-06512: at "MDSYS.SDO_GEOM", line 1990
29532. 00000 - "Java call terminated by uncaught Java exception: %s"
*Cause: A Java exception or error was signaled and could not be
resolved by the Java code.
*Action: Modify Java code, if this behavior is not intended.
So, thinking it might have something to do with the fact that it's a Java interface, I also tried running it from SQL/PL command line and get essentially the same thing:
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.Exception: 54535
ORA-06512: at "MDSYS.SDO_3GL", line 637
ORA-06512: at "MDSYS.SDO_GEOM", line 1973
ORA-06512: at "MDSYS.SDO_GEOM", line 1990
Any ideas why this isn't working?
(P.S.: I couldn't find a specific board for Oracle Spatial, hence put this question here--if there's a better place for this question, then, admins, of course, feel free to move the thread to the appropriate spot)Hi,
The SPATIAL forum is here : {forum:id=76} -
How to know oracle client or oracle server installed in m/c ?
Hi all,
Could any one tell me how to know whether oracle 10.1 s/w installed in my machine is client version or server . Is there any easy method..??
Thanks in advance.Hi,
Check the database / dbs folder exist in the $ORACLE_HOME if yes then SERVER else CLIENT.
PS: Above is not a standard method, i am telling based on DIRECTORY.
Regards,
Taj -
Access oracle server installed on linux from client on winxp
Hi
I am new to this forum and oracle on linux too. I am trying to install Oracle 10gr2 on fedora 8. If I installed oracle on fedora 8, can I log onto oracle from windows xp so that i can practice sql, if so how can I do that
please help me.Hi,
Please download the Oracle Database 10g Client for Windows at http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html
Then please install the client and configure it, after that, you can use sqlplus to connect the DB on Linux. See http://download.oracle.com/docs/cd/B19306_01/install.102/b15662/toc.htm for details.
Also, you can use ssh or telnet to connect to the linux from windows, and run the sqlplus command on the linux server directly.
Bing. -
How to check whether a Oracle server is installed or not ?
Hi,
How cani check whether a Machine has oracle server installed or not ?
I have a machine where i have the client tools installed but not server. In that case how can i check whether this machine has oracle server is installed or not?
Thanks in Advance..user11000236 wrote:
Hi,
How cani check whether a Machine has oracle server installed or not ?
I have a machine where i have the client tools installed but not server. In that case how can i check whether this machine has oracle server is installed or not?
Thanks in Advance..http://tinyurl.com/ngunhv
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
Basic question - Problems with basic query - Mask = INSIDE
Greetings,
I'm doing a basic query on Oracle 10g Spatial, is to determine the intersection between two layers (one point called "Calidad1") and other polygons, called "Parishes")
For issuing the following query based on the documentation of oracle:
"select C1.ID, C1.SECUENCIA,
P. COD_ENTIDAD, P. STATE
Cod_county P., P. TOWNSHIP,
P. COD_PARROQUIA, P. PARISH
from CALIDAD1 c1,
PARISHES p
where sdo_relate (c1.geoloc, p.geoloc, 'mask = INSIDE querytype = WINDOW') = 'TRUE'
order by C1.ID;
When I run the query, no errors but extends too long (more than 10 minutes) and no end, I have to cancel.
Canceling shows me the following error:
"ORA-13268: error obtaining dimension from USER_SDO_GEOM_METADATA
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 8
ORA-06512: at "MDSYS.SDO_3GL", line 89 "
This query is very basic and the data volume is small, a conclusion: I must be skipping a step or activity.
Can you guide a little to resolve this situation and get the query that I need?
Thanks to allFirst, try this query with the ordered hint and also note the change in the FROM clause.
select /*+ ordered */ C1.ID, C1.SECUENCIA,
P. COD_ENTIDAD, P. STATE
Cod_county P., P. TOWNSHIP,
P. COD_PARROQUIA, P. PARISH
from PARISHES p,
CALIDAD1 c1,
where sdo_relate (c1.geoloc, p.geoloc, 'mask = INSIDE querytype = WINDOW') = 'TRUE'
order by C1.ID;
See if this is using the index as expected. If not try this:
select /*+ ordered index(p name_of_the_spatial_index_on_the_PARISH_Table) */
C1.ID, C1.SECUENCIA,
P. COD_ENTIDAD, P. STATE
Cod_county P., P. TOWNSHIP,
P. COD_PARROQUIA, P. PARISH
from PARISHES p,
CALIDAD1 c1,
where sdo_relate (c1.geoloc, p.geoloc, 'mask = INSIDE querytype = WINDOW') = 'TRUE'
order by C1.ID;
siva -
PlusEqual Oracle syntax with Oracle Server
Hello,
I want to know which setting I must change so my SQL statement are PLUSEQUAL syntax instead of the OJSyntax with Crystal Report 2008 when using Oracle Server connection type.
I have tried to change the value of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Crystal Reports\Database\QueryBuilder\JoinBuilder\OracleJoinBuilder with the value OraOCIEI11 or crdb_oracle but it did not work has it used to be with an ODBC connection.
What value should I change to have PLUSEQUAL syntax?
Thank you.
CharlesHello,
Anybody can help me on that? Crystal Report SAP people?
If my first post was not clear enough. Here what I want my SQL statement to look like:
SELECT "OBJ_T"."MODL_CD",
"MODL_T"."NAME1",
"MODL_T"."NAME2",
FROM "OWNER"."OBJ_T" "OBJ_T",
"OWNER"."MODL_T" "MODL_T"
WHERE ("OBJ_T"."MODL_CD" = "MODL_T"."MODL_CD")
Instead of having the Syntax with "INNER JOIN X ON Y" like that:
SELECT "OBJ_T"."MODL_CD",
"MODL_T"."NAME1",
"MODL_T"."NAME2",
FROM "OWNER"."OBJ_T" "OBJ_T"
INNER JOIN "OWNER"."MODL_T" "MODL_T"
ON "OBJ_T"."MODL_CD" = "MODL_T"."MODL_CD"
I was able to achieve this with an ODBC connection by editing the registry key OracleJoinBuilder but I have not been able to find the correct setting for an Oracle Server connection.
Thank you.
Charles. -
Oracle plugin install breaks "Generic JDBC_1.x server type"
Using Eclipse Europa w/Oracle plugin 1.0.0.464. After installing the Oracle plugin, my Generic JDBC 1.x connection profiles are now erroneously associated with server type "Oracle_10.x" instead of "Generic JDBC_1.x".
Let me know if you need add'l details.
- RonBut no, we need to update your info, a version of oracle for mac intel exists,
on my macbook I have oracle 10gR2 installed, it works well,
the error I got when I tried to install oracle on MacOsX 10.5.7 Server
look here
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10204macsoft_x86-64.html
http://blog.rayapps.com/2009/04/12/how-to-install-oracle-database-10g-on-mac-os-x-intel/ -
How to find out if Oracle is Installed in server
I apologize for the simple question but no one in here seems to know if our server has Oracle installed or not. I have no experience in Oracle and have root access to the server but dont know the command to check wether Oracle is installed or not! anyone?
I thank you in advance for any help
EduardoThis is one of those questions that can be a bit difficult to answer, given all the possibilities in the world. Since you said the magic word "root" I will assume you are on unix or at least a posix system.
http://tahiti.oracle.com has installation guides, find the one for your platform and check that. It should give a good foundation of what you want to look for. But some people get creative and some things are decisions by the DBA.
Since oracle may be installed and not running, looking for oracle processes may not tell you if oracle is installed. But a ps|grep ora can often give clues. It is even possible to delete files while oracle is running... (I've seen oracle uninstalled - it keeps running but new users can't log in. This is because rm a file doesn't actually remove a file until everyone is done with it.) Also, check ipcs - shared memory being used by oracle is a clue oracle is installed and/or running, but even that can be misleading with some configurations - sometimes a bungled startup will leave a mess.
Many unix systems have clues in /etc or /var/opt. Look for files with names like oratab and oraenv. Look at your passwd and group files, see if there are users with names like 'oracle' and groups like 'dba'. Look at user .profile, .cshrc, .bashrc, .kshrc files and see if there are references to oracle environment setting. $ORACLE_BASE, $ORACLE_HOME, $ORACLE_SID are often good clues, as well as references to oraenv or similar names. Look at the system startup files and see if there are references to oracle: there could be things like /sbin/rc*/*ora*, /etc/rc.d/*/*ora*, and so forth. Often the rc directories have a link to an init directory, such as a file like /sbin/init.d/oracle. There may be an inventory around somewhere called oraInventory, perhaps under $ORACLE_BASE, and installation log files, check your install guide for names. Also, if you have found $ORACLE_HOME and $ORACLE_SID in an oratab, you might check $ORACLE_BASE/admin/$ORACLE_SID/bdump/alert*log. Be aware that $ORACLE_HOME and the "oracle home directory" probably are not the same.
Older systems that have been clumsily dealt with may have all these things, and yet still not have "oracle installed." Good luck.
For these reasons and more, usually you would want to specify exact platform and oracle versions.
Edit: fixed alert log location -
Query handled OK on Oracle server but XSQL Servlet raises OracleXMLSQLException
After dropping and recreating certain object types, and then using ALTER TYPE on an object dependent on those object types, XSQL Servlet raises exception for a query that is handled fine in the Oracle Server itself (ie, in SQL*Plus) as in the following test case:
create or replace type o_object_inner as object( char1 char(1) )
create or replace type n_nested_table as table of o_object_inner
create or replace type o_object_outer as object (nNestedTab n_nested_table)
For above, the following query encounters no problems on Oracle Server or in XSQL servlet:
Select o_object_outer(NULL) as "theOuterObj" from dual
But then if object types are modified as follows:
drop type o_object_inner force
create or replace type o_object_inner as object( char1 char(1) ) --same as above
drop type n_nested_table force
create or replace type n_nested_table as table of o_object_inner --same as above
alter type o_object_outer compile
The above query now encounters no problems in SQL*Plus but generates exception in XSQL servlet as follows:
oracle.xml.sql.OracleXMLSQLException: Internal Error: Unable to resolve name
More complex cases generated the above exception and/or the following exception:
oracle.xml.sql.OracleXMLSQLException: Internal Error: Invalid ADT attribute
Any insight or help would be greatly appreciated!
Other info:
Oracle Server 8.1.7.3 on HP-UX
XDK 9.2.0.1 (Production) for Java on NT
JDBC/OCI8 drivers for NT (latest for 8.1.7)Yes,
I changed most of the cursor functions to cast(multiset()). Sometimes i divided a big query into two or three queries (when there was cursor nested in a cursor). It was one day work for me. Don't forget to change the tags with ROW to ITEM in your xsl-stylesheets.
Uwe -
Oracle 10g install on Windows server 2008 R2 ( 6.1 )
Hi All,
I am trying to install Oracle 10g over windows server 2008 R2 (6.1) but it gives error that OS is not supported. I tried to install below version.
Oracle Database 10g Release 2 (10.2.0.4.0)
Enterprise/Standard Edition for Microsoft Windows Vista x64, Windows Server 2008 x64,
Microsoft Windows Server 2008 R2 x64, Windows 7 x64
But it fails with error that OS version 6.1 is not supported. On download page it is written to get 10.2.0.5 patch from My Oracle support for windows server 2008 R2, I got patch p8202632_10205_MSWIN-x86-64 but it requires a pre-installed oracle home.
So how should I install Oracle 10g as 10.2.0.4 does not get installed and the patch asks for a previous install?
The reason I am installing Oracle 10g is that our Java application is running in production over JDK 1.4 and Oracle 11g does not provide JDBC driver for JDK 1.4, is there any JDBC driver for Oracle 11g that can work with JDK 1.4?
Thanks in advance for help.
Best Regards!
IrfanPlease find below last lines of logs:
*** Product-Specific Prerequisite Checks Page***
INFO: Entry point:oracle.server_EE
INFO: Starting Prerequisite checks : Sun Mar 11 09:16:16 PDT 2012
INFO: Checking CertifiedVersions
This is a prerequisite condition to test whether the Oracle software is certified on the current O/S.
INFO: Expected result: One of 5.0,5.1,5.2,6.0
Actual Result: 6.1
Check complete. The overall result of this check is: Failed <<<<
INFO: --------------------------------------------------------------------------------
INFO: Checking ServicePackChecks
This is a prerequisite condition to test whether the Service Pack level recommended for installing the product is available on the system.
INFO: Check complete. The overall result of this check is: Not executed <<<<
INFO: --------------------------------------------------------------------------------
INFO: Checking TotalMemory
This is a prerequisite condition to test whether the system has sufficient physical memory.
INFO: Expected result: 256MB
Actual Result: 4094MB
Check complete. The overall result of this check is: Passed
INFO: --------------------------------------------------------------------------------
INFO: Checking DetectIfDHCPAssignedIP
This is a prerequisite condition to test whether the primary IP address of the system is DHCP-assiged or static.
INFO: Detecting the IP.....:10.1.87.20
INFO: Checking the network interface display name.... :Intel(R) PRO/1000 MT Dual Port Network Connection
INFO: Checking the network reference name..... :eth4
INFO: Checking the platform .......233
INFO: Check complete. The overall result of this check is: Passed
INFO: --------------------------------------------------------------------------------
INFO: Checking CheckPathEnvVariableLength
This is a prerequisite condition to test whether the PATH environment variable is within the allowable character limits. On Windows XP and Windows 2003, the maximum character allowed is 8191. On Windows 2000, NT and 98, the limit is 1023 characters.
INFO: Checking Oracle home from the env... :C:\oracle\product\10.2.0\db_1
INFO: Checking Path from the env... :C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
INFO: Max path length for OS:Windows Vista is... :8191
INFO: *****************************
INFO: Check complete. The overall result of this check is: Passed
INFO: --------------------------------------------------------------------------------
INFO: Checking OracleBase
This is a prerequisite condition to test whether the environment variable 'ORACLE_BASE' is set as a subdirectory of the Oracle home
INFO: Check complete. The overall result of this check is: Passed
INFO: --------------------------------------------------------------------------------
INFO: Checking OracleHomeSpace
This is a prerequisite condition to check whether the specified Oracle Home contains any spaces in the path.
INFO: Check complete. The overall result of this check is: Passed
INFO: --------------------------------------------------------------------------------
INFO: Checking InstallOnRoot
This is a prerequisite condition to test whether installation is done at the root of a drive.
INFO: Checking the ORACLE HOME.... :C:\oracle\product\10.2.0\db_1
INFO: Check complete. The overall result of this check is: Passed
INFO: --------------------------------------------------------------------------------
INFO: Checking DetectAnyInvalidASMHome
This is a prerequisite condition to test whether the system has been cleaned properly.
INFO: Checking the platform .......233
INFO: Check complete. The overall result of this check is: Passed
INFO: --------------------------------------------------------------------------------
INFO: Checking CompatibilityChecks
This is a prerequisite condition to check whether the Oracle Home specified by the user already contains an installed product which is incompatible with the product being installed.
INFO: Actual Result: NEW_HOME
Check complete. The overall result of this check is: Passed
INFO: --------------------------------------------------------------------------------
INFO: Prerequisite checks completed : Sun Mar 11 09:16:17 PDT 2012
SEVERE: Some required prerequisite checks have failed. Please make sure the system meets all the requirements before install can proceed.
INFO: User Selected: Yes/OK
WARNING: Do you really want to exit?
INFO: User Selected: Yes/OK
INFO: recdelete: C:\oracle -
Query in sql server from Oracle 9.2
Hi
How can I to connect and execute query from Oracle without to use others products ( DG4MSQL ....etc) ?
using 9.2.08mkirtley wrote:
Hi,
I say it is 'free' because Dg4ODBC is included in your RDBMS license and you just need to supply a third party ODBC driver.
See this note -
Gateway and Generic Connectivity Licensing Considerations (Doc ID 232482.1)
You need to install and configure it in an ORACLE_HOME on a machine somewhere then you can use database links from to connect to it and select from non-Oracle databases.
Have a look at these notes depending on the platfrom you plan to use -
How to Setup DG4ODBC on Linux x86 32bit (Doc ID 466228.1)
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)
How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit (Doc ID 466225.1)
How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems (Doc ID 1266572.1)
As I said in my earlier update if SQL*Server is your non-Oracle database then an standalone install on Windows is the best option to be able to use the Microsoft ODBC driver, although there is now a MS ODBC available on Linux x86-64 bit.
Please read through the notes I have referred to because they should have the information you need.
Regards,
MikeThank you for informations, I search, because My client is 9.2.08, but I am a DBA and do not have access to UNIX server where is Database -
Help with translating SQL query from SQL Server syntax to Oracle syntax
Hi,
is it someone that can help me translate following SQL query from SQL Server syntax to Oracle syntax.
SELECT ID,
[LMT(MTR)] = MAX(case when TYPE = 'LMT' then VALUE end),
[AAD(KGM)] = MAX(case when TYPE = 'AAD' then VALUE end),
[VOL(MTQ)] = MAX(case when TYPE = 'VOL' then VALUE end)
FROM yourtable
GROUP BY ID
Your help is highly appreciated, thanks in advance.Like this,
SELECT ID,
MAX(case when TYPE = 'LMT' then VALUE end) LMT_MTR,
MAX(case when TYPE = 'AAD' then VALUE end) AAD_KGM ,
MAX(case when TYPE = 'VOL' then VALUE end) VOL_MTQ
FROM yourtable
GROUP BY ID-Arun -
How to find XI server has oracle driver installed or not ?
Dear all,
Please provide me steps to find if XI server is having oracle driver installed or not for JDBC activities.
Thanks
GauarvHI Gaurav,
Follow the steps:
Go to Visual admin:
1) chose table cluster->server->libraries->com.sap.aii.af.jmsproviderlib
2) Check in window jar container,if JMS/JDBC libraries are uploaded correctly
3) Look ar jars contained
3) look at \usr\sap\<sysID>\JCOO\j2ee\cluster\server-\bin
Also check the deployment in Visual Admin
1) choose tab cluster->server->service->classloader viewer
2_ Look tab in runtime component-> libraries-> com.sap.aii.af.jmsproviderlib for JDBC/JMS lib.
Thnx
Chirag Gohil
Maybe you are looking for
-
Number Search using Oracle Text
Hi, I'm new to Oracle Text. I want to implement search for the unique ids. Like google search when the user start typing 123 it need to brings anything starting with 123 and has show like entries how google will shows. When I add number 4 to like 123
-
[Solved] Quickcam Messenger and Skype
So I have installed skype from multilib multilib/skype 2.1.0.81-4 [18.28 MB] [installed] P2P software for high-quality voice communication and also the qc-usb-messenger package community/qc-usb-messenger 1.8-12 [0.05 MB] [installed] QuickCam Messenge
-
Ibook Indigo 466SE Touchpad unresponsive when power adapter plugged in.
I've had this power adapter for about a year now (after the OEM adapter was damaged). I mostly use this as a backup to our desktop or when traveling (which is rare due to the economy). About two weeks ago I started to notice that the touchpad was sti
-
Funny reactions to bugs in tpsvrdone (strange Tuxedo behaviour)
*** SAMPLE *** Try the following funny experiment: 1) Write the tuxedo server which in tpsvrdone crashes somehow. Something like extern "C" void tpsvrdone() char *c = 0; // Let's dump core... *c = 'a'; 2) Boot this server (and specify in tuxconfig RE
-
I toke sceernshote of that and this is d diagnosis help pls thanq in advance >