+ fix UNDO
In the case of a RAC, the correct undo is displayed on the node
This commit is contained in:
parent
7c109b7f9c
commit
bac790621e
|
@ -113,6 +113,9 @@ sub run {
|
||||||
a.tablespace_name = c.tablespace_name (+)
|
a.tablespace_name = c.tablespace_name (+)
|
||||||
AND a.tablespace_name = b.tablespace_name
|
AND a.tablespace_name = b.tablespace_name
|
||||||
AND a.tablespace_name = d.tablespace_name (+)
|
AND a.tablespace_name = d.tablespace_name (+)
|
||||||
|
AND (b.contents = 'PERMANENT'
|
||||||
|
OR (b.contents <> 'PERMANENT'
|
||||||
|
AND a.tablespace_name=(select value from v$parameter where name='undo_tablespace')))
|
||||||
UNION ALL
|
UNION ALL
|
||||||
SELECT
|
SELECT
|
||||||
d.tablespace_name "Tablespace",
|
d.tablespace_name "Tablespace",
|
||||||
|
@ -180,6 +183,9 @@ sub run {
|
||||||
WHERE
|
WHERE
|
||||||
a.tablespace_name = c.tablespace_name (+)
|
a.tablespace_name = c.tablespace_name (+)
|
||||||
AND a.tablespace_name = b.tablespace_name
|
AND a.tablespace_name = b.tablespace_name
|
||||||
|
AND (b.contents = 'PERMANENT'
|
||||||
|
OR (b.contents <> 'PERMANENT'
|
||||||
|
AND a.tablespace_name=(select value from v$parameter where name='undo_tablespace')))
|
||||||
UNION ALL
|
UNION ALL
|
||||||
SELECT
|
SELECT
|
||||||
a.tablespace_name "Tablespace",
|
a.tablespace_name "Tablespace",
|
||||||
|
|
Loading…
Reference in New Issue