2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

14
tpt/pga.sql Normal file
View File

@@ -0,0 +1,14 @@
-- Copyright 2019 Tanel Poder. All rights reserved. More info at https://blog.tanelpoder.com
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms and conditions.
PROMPT Show PGA manager stats from V$PGASTAT
SELECT
name
, CASE WHEN unit = 'bytes' THEN ROUND(value/1048576) ELSE value END value
, CASE WHEN unit = 'bytes' THEN 'megabytes' ELSE unit END unit
-- , value
-- , unit
FROM v$pgastat
/