Carlo Sirna
Member²
The PL/SQL Developer Sessions view does not support RAC environments: it queries the v$XXXX views which show only the sessions running on the RAC node you have been connected to. I
To support RAC (and show all sessions running in the cluster) you simply have to switch from the v$session view to the gv$session and, in the detail views, add to the master/detail fields also the INSTANCE_ID of the selected session.
It is very easy to fix the queries by myself, (and I have been doing for years, since this fix has never been applied), but I have no way of fixing the "alter system kill session" command that is used to implement the "Kill Session" context menu (it uses just 'sid,serial' as argument, while it should use 'sid,serial,@instance_number').
So I am asking:
The idea is to ad a third tab to the configuration dialog where I can define context men
To support RAC (and show all sessions running in the cluster) you simply have to switch from the v$session view to the gv$session and, in the detail views, add to the master/detail fields also the INSTANCE_ID of the selected session.
It is very easy to fix the queries by myself, (and I have been doing for years, since this fix has never been applied), but I have no way of fixing the "alter system kill session" command that is used to implement the "Kill Session" context menu (it uses just 'sid,serial' as argument, while it should use 'sid,serial,@instance_number').
So I am asking:
- Since the gv$views are available also in NON RAC environments, why doesn't PL/SQL Developer use them by default?. or at least: why aren't added by default to the list of the queries currently available?
- I can already define my custom session queries and custom detail queries... It would be nice to be able to define anche my custom context menu actions, So I could write my own "RAC-aware" Kill Session menu item.
The idea is to ad a third tab to the configuration dialog where I can define context men