Print Thread
Page 1 of 2 1 2
Using button "SESSIONS" and violation of "option pack" license for Diagnostic and Tuning
#56447 05/12/17 02:03 PM
Joined: Apr 2012
Posts: 29
P
Peter93 Offline OP
Member
OP Offline
Member
P
Joined: Apr 2012
Posts: 29
Hello,
in blog of Burleson Consulting
http://www.dba-oracle.com/t_dba_features_used_statistics.htm

I found
SELECT on V$ACTIVE_SESSION_HISTORY could cause Licence violation, if you have not Licences some packages.

[quote]As an example, if you SELECT from any of the Oracle Diagnostic Pack and Tuning Pack views like V$ACTIVE_SESSION_HISTORY, the database will record your usage of it in this DBA view. [/quote]

Could this be also caused by use of PL-SQL developer when showing Sessions?

Last edited by Peter93; 05/12/17 07:15 PM.
Re: Using button "SESSIONS" and option pack licence for Diagnostic and Tuning
Peter93 #56448 05/12/17 02:35 PM
Joined: Apr 2012
Posts: 29
P
Peter93 Offline OP
Member
OP Offline
Member
P
Joined: Apr 2012
Posts: 29
I have seen PLSQL-Developer is using following query:

[quote]select m.sql_text, dbms_sqltune.report_sql_monitor(sql_id => m.sql_id, type => 'HTML', report_level => 'ALL') AS report
from v$sql_monitor m
where m.sid = :sid and m.session_serial# = :serial#
order by 1[/quote]

Is this a violation of license, because "dbms_sqltune" Tuning package was used?

Last edited by Peter93; 05/12/17 02:36 PM.
Re: Using button "SESSIONS" and option pack licence for Diagnostic and Tuning
Peter93 #56449 05/12/17 10:46 PM
Joined: Jun 2003
Posts: 71
Russia
A
Member
Offline
Member
A
Joined: Jun 2003
Posts: 71
Russia
Hello,
First of all v$session<>V$active_session_history
As for the rest you can delete all queries that could cause license violation through editing of session quries (menu item "define session queries")


There are 10 types of people: those who know binary and those who don't
Re: Using button "SESSIONS" and option pack licence for Diagnostic and Tuning
Albert #56453 05/15/17 09:36 AM
Joined: Aug 2011
Posts: 339
T
Member
Offline
Member
T
Joined: Aug 2011
Posts: 339
It's a very bad practice of Oracle that it tricks you into using features you haven't licensed and you have to go out of you way to find out what exactly you must NOT use. PSD should stay on the safe side and by default, only enable the features that are legit with the most restrictive licenses of Oracle. Yeah, it becomes even more tricky when it's not PSD per se, but the user who uses these features in SQL. Especially when different connections have different licenses.

Re: Using button "SESSIONS" and option pack licence for Diagnostic and Tuning
T-Gergely #56454 05/15/17 12:25 PM
Joined: Apr 2012
Posts: 29
P
Peter93 Offline OP
Member
OP Offline
Member
P
Joined: Apr 2012
Posts: 29
There may be a misunderstanding:

The queries are part of PL/SQL-Developer!!
When you are using button "SESSIONS" within PL/SQL-Dev, then this querie is done by PL/SQL-Developer and automatically triggers a license violation, when package is not licensed.

@Marco Kalter
I would like to get an answer from Allround Automation!

Re: Using button "SESSIONS" and option pack licence for Diagnostic and Tuning
Peter93 #56456 05/15/17 01:54 PM
Joined: Jun 2003
Posts: 71
Russia
A
Member
Offline
Member
A
Joined: Jun 2003
Posts: 71
Russia
Peter, you are not right. These queries are customizable. See the documentation about a session window

Last edited by Albert; 05/15/17 02:45 PM.

There are 10 types of people: those who know binary and those who don't
Re: Using button "SESSIONS" and option pack licence for Diagnostic and Tuning
Albert #56459 05/15/17 06:57 PM
Joined: Apr 2012
Posts: 29
P
Peter93 Offline OP
Member
OP Offline
Member
P
Joined: Apr 2012
Posts: 29
@albert: You are right, they are customizable.
But per Default installation of PLSQL-Dev we violate the License agreement with oracle. :-(

Re: Using button "SESSIONS" and option pack licence for Diagnostic and Tuning
Peter93 #56462 05/16/17 11:00 AM
Joined: Apr 2013
Posts: 34
E
Member
Offline
Member
E
Joined: Apr 2013
Posts: 34
[quote=Peter93]But per Default installation of PLSQL-Dev we violate the License agreement with oracle. :-( [/quote]
Could you please specify which Filter / Details using it in Sessions.
thanks

Re: Using button "SESSIONS" and option pack licence for Diagnostic and Tuning
eetele #56467 05/16/17 04:33 PM
Joined: Apr 2012
Posts: 29
P
Peter93 Offline OP
Member
OP Offline
Member
P
Joined: Apr 2012
Posts: 29
Press Button " Define Session Queries" ->
Define Session Queries-> TAB-Details -> SQL Monitor

Then look for "Query":

select m.sql_text, dbms_sqltune.report_sql_monitor(sql_id => m.sql_id, type => 'HTML', report_level => 'ALL') AS report
from v$sql_monitor m
where m.sid = :sid and m.session_serial# = :serial#

Re: Using button "SESSIONS" and option pack licence for Diagnostic and Tuning
Peter93 #56472 05/18/17 07:37 AM
Joined: Apr 2013
Posts: 34
E
Member
Offline
Member
E
Joined: Apr 2013
Posts: 34
Confirming it, its there. Not in my installation, cause using heavily modified and not the default.
We being the lucky ones - its licenced, but it would be nice to confirm it from Marco and in case remove it from the default installation.

Page 1 of 2 1 2

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.109s Queries: 15 (0.044s) Memory: 2.5637 MB (Peak: 3.0430 MB) Data Comp: Off Server Time: 2024-05-18 20:30:24 UTC
Valid HTML 5 and Valid CSS