Determine Oracle Warehouse Builder version - oracle

Is there a way to check whether a server is running the 11g release 2 or 11g release 1 version of Oracle Warehouse Builder?
Also is it safe to assume that Release 11.1.0.7.0 in terms of the Oracle instance itself (as opposed to OWB) is an instance of 11g release 1?
select * from v$version;
returns
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for Solaris: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production

"Also is it safe to assume that Release 11.1.0.7.0 in terms of the Oracle instance itself (as opposed to OWB) is an instance of 11g release 1?"
Yes.
To get the version of OWB, try...
select release
from all_iv_installations;
(I can't test it as I haven't got OWB installed.)
Ref: http://download.oracle.com/docs/cd/E10926_01/doc/owb.101/b12146/d_pub.htm
Given that the OWB schema is installed with the database, it seems likely that that's the version of OWB you'll have, unless you think it's been upgraded seperately.
It seems it is possible to install OWB 11.2 into an 11.1 database:
"It is generally not necessary to download this standalone software unless you have any of the following needs:
- To install OWB 11.2 and host an OWB repository on Oracle Database 10 g Release 2 or Oracle Database 11 g Release 1. "
http://www.oracle.com/technetwork/developer-tools/warehouse/downloads/index.html

Log onto the owb server and the following query should help you:
select runtime_version from owbsys.wb_rt_service_nodes;
You either need to log in as owbsys or as someone who has the privileges to access this table.

Related

Web Console and SQL Plus not syncing in Oracle XE 10g

I have Oracle XE 10g installed in my Windows 10 OS. I am able to connect both Web Console and SQL Plus command line to the database. The issue is operations done in SQL Plus command line are not reflecting in Web UI. But whatever doing in Web UI is reflecting in SQL Plus command line. I am using the default SYSTEM user. Why this issue coming?
SQL Plus version - SQL*Plus: Release 10.2.0.1.0
Oracle version - Oracle Database 10g Express Edition Release 10.2.0.1.0
Thanks in Advance

Which Oracle 11g has DBCA?

I am having an issue with Oracle 11g. I need to download an Oracle 11g database that has the Database Configuration Assistant. I had already downloaded Oracle 11g Express Edition not realizing it apparently doesn't have DBCA.
So which Oracle 11g do I need to download so I can use DBCA?
I am on the Oracle website and see Oracle 11g Release 2. I have a Windows laptop with Windows 10.
That would be any other version (Standard or Enterprise).
11gXE has its limitations and creates a sample database during the installation process. As it allows only one instance, DBCA is useless in that version and is, therefore, not shipped with it.
Standard or Enterprise edition of Oracle 11g would do.
I have downloaded the version from Oracle and DBCA worked for me.

How can I find the edition of Oracle installed?

I have inherited an installation of Oracle 11G on CentOS. I know the version by running:
SELECT * FROM v$version;
Result: Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
However, I am trying to find the edition of Oracle installed for licensing purposes. Everyone keeps telling me it is a 'Lite' version...
The Oracle documentation tells me there are 5 editions:
From everything I have read when googling this, people say that if the results from select * from v$version does not say Enterprise, then it is Standard. I do not believe that I can go by that as there are 5 editions and two of them are separate types of Standard Edition. I need to know the exact edition installed.
Does anyone have any idea who I can determine what exact edition is installed?
Thanks!
Running this on 11g Enterprise
select * from v$version where banner like 'Oracle%';
shows
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
If it doesn't say Enterprise or XE then it is Standard
Mine tells me it's Enterprise
SQL> select * from v$version;
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Productio
NLSRTL Version 10.2.0.1.0 - Production

Which edition of oracle is installed

We are compiling a code which needs 32 bit oracle db to be installed. So i need to install a oracle 32 bit. We have another machine where 32 bit oracle 11g is installed and we are able to compile Succesfully.
I need to know which edition of oracle is installed there (Standard or Enterprise) so I can install the same in my machine.
Additional info:
Oracle 32 bit is just a plain db. it is not installed with configuration or Listner. So i cant find out through any queries.
You have to query the data dictionary view PRODUCT_COMPONENT_VERSION to identify the release of Oracle Database that is currently installed.
The below query will help you.
SELECT product, version, status
FROM PRODUCT_COMPONENT_VERSION
WHERE product LIKE 'Oracle Database%';
PRODUCT VERSION STATUS
====================================== ========== ================
Oracle Database 11g Enterprise Edition 11.2.0.3.0 64bit Production
If you need more information about database, you can query
select * from v$database;
for more information refre here http://docs.oracle.com/cd/B19306_01/server.102/b14237/dynviews_1073.htm#REFRN30047
If you connect to SQL PLUS it will say which version and edition you had installed

Oracle SqlError: Protocol Violation / OALL8 is in an inconsistant state

I'm getting Protocol Violation and OALL8 is an inconsistant state exceptions trying to execute SELECT queries, but only on SOME of my tables. I first noticed this in a test application that I wrote that did a SELECT * FROM SOMETABLE. It would get through several hundred records and then just lock up on me. I tried running the same query in Oracle' SQLDeveloper, and would get the Protocol Violation exception on some tables. Eventually it gets to a point where it indicates "OALL8 is in an inconsistant state" for any query.
Does anyone know why this is occurring and how to fix the problem? Where is my inconsistent state? Is Oracle's SqlDeveloper its own standalone client, or does it rely on ODAC or Instant Client (referenced in PATH envi var) to be present?
The only thing that changed recently was that I installed ODAC so that I could use odp.net to replace System.Data.OracleClient in .NET. IT was ODAC 11.2.0.3.0 with Oracle Developer Tools for Visual Studio, 32 bit. I since updated my PATH environmetn variable to point to my stand-alone instant client.
Instant Client - 11.2.0.2.0, running on Win XP SP3, 32-bit Oracle DB:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production, Running on Windows Server 2003, x64
ODAC: 11.2.0.3.0
SqlDeveloper was installed before I installed ODAC, but somehow SqlDeveloper seems to be going through ODAC as the client, despite ODAC not being referenced in the PATH environment variable.
Update: When I initially installed ODAC, all of my queries functioned normally. Then they stopped functioning after a day, and I can't explain why. I attempted to uninstall ODAC, which failed when looking for a .DLL to delete. I then manually deleted my ORACLE_HOME, and reinstalled ODAC, and it's working fine for now. I don't understand why this is the case.
SQL Developer uses the ORACLE_HOME and it's drivers when available. The issue you are seeing in this is that the ORACLE_HOME is not the same version as the JDBC Driver bundled in SQL Developer.
The 'fix' for this is to ensure the oracle client is up to date w/ the version of sqldev you have installed. The easiest way to find this is when connection run show jdbc
show jdbc
-- Database Info --
Database Product Name: Oracle
Database Product Version: Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production
Database Major Version: 12
Database Minor Version: 1
-- Driver Info --
Driver Name: Oracle JDBC driver
Driver Version: 12.2.0.1.0
Driver Major Version: 12
Driver Minor Version: 2

Resources