Tag Info

Hot answers tagged

2

You mentioned AWR, so you are licensed to use ASH also. You can find the session(s) executing the specific SQL in DBA_HIST_ACTIVE_SESS_HISTORY view based on the sql_id. The PLSQL_ENTRY_OBJECT_ID and PLSQL_ENTRY_SUBPROGRAM_ID columns contain information about the PL/SQL call stack. This however may not be complete if you have several levels of PL/SQL ...


2

SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production PL/SQL Release 11.2.0.4.0 - Production CORE 11.2.0.4.0 Production TNS for Linux: Version 11.2.0.4.0 - Production NLSRTL Version 11.2.0.4.0 - Production ...


1

There is sys_context function that works for Oracle 12c select SYS_CONTEXT ('USERENV','ORACLE_HOME') from dual; This does not work for lower versions of Oracle. For 11g and lower versions, I don't know a simple method. PS: I read @Balasz' answer and now I know a simple answer for version 11g.


1

According to https://community.oracle.com/thread/959980 and https://community.oracle.com/thread/838380 the only way to do this is to use the SQLFILE parameter to impdp to create a script. Then replace CREATE PACKAGE with CREATE OR REPLACE PACKAGE and then execute the script.


1

What the SIDs on all the nodes? Is this really the same DATABASE. For example you can have 3 node cluster having a single ASM on all the nodes, but database A is clustered on node1/node2. But database B runs only on the node 3. The database B then is still started and stopped by the Clusterware, but is not clustered. You can also check output from: ps -ef ...


1

My best and most speculative guesses are: A lookup table. Used as a control/pick list for an application or report A dimension. Used in a data warehouse. A log table. Used for logging. Left over junk fron an adhoc query, data migration, report filter etc. Aaron was right... But I couldn't resist ; ) To me, the names imply that it's to distinguish ...


1

The listener is an independent entity, can run from a different Oracle Home or even another machine. All the database knows about it is its address.



Only top voted, non community-wiki answers of a minimum length are eligible