2026-03-12 21:01:38

This commit is contained in:
2026-03-12 22:01:38 +01:00
parent 3bd1db26cc
commit 26296b6d6a
336 changed files with 27507 additions and 0 deletions

12
tiddlywiki/temp_usage.sql.txt Executable file
View File

@@ -0,0 +1,12 @@
SELECT a.tablespace_name TABLESPACE,
d.TEMP_TOTAL_MB,
SUM (a.used_blocks * d.block_size) / 1024 / 1024 TEMP_USED_MB,
d.TEMP_TOTAL_MB - SUM (a.used_blocks * d.block_size) / 1024 / 1024 TEMP_FREE_MB
FROM v$sort_segment a, (
SELECT b.name,
c.block_size,
SUM (c.bytes) / 1024 / 1024 TEMP_TOTAL_MB
FROM v$tablespace b,
v$tempfile c
WHERE b.ts#= c.ts# group by b.name, c.block_size ) d
where a.tablespace_name = d.name group by a.tablespace_name, d.TEMP_TOTAL_MB;