2022年3月28日星期一

oracle size of database

select

    a.tablespace_name
    , total
    , free
    , total - free as used
    , substr(free / total * 100, 1, 5) as "FREE%"
    , substr((total - free) / total * 100, 1, 5) as "USED%" 
from
    ( 
        select
            tablespace_name
            , sum(bytes) / 1024 / 1024 as total 
        from
            dba_data_files 
        group by
            tablespace_name
    ) a
    , ( 
        select
            tablespace_name
            , sum(bytes) / 1024 / 1024 as free 
        from
            dba_free_space 
        group by
            tablespace_name
    ) b 
where
    a.tablespace_name = b.tablespace_name 
order by
    a.tablespace_name;

2022年3月11日星期五

ASCII - URLEncode

 

ASCII - URLEncode


文字CD説明文字CD説明文字CD説明文字CD説明文字CD説明
SPACE%200%30@%40P%50`%60
!%211%31A%41Q%51a%61
"%222%32B%42R%52b%62
#%23要\3%33C%43S%53c%63
$%244%34D%44T%54d%64
%%255%35E%45U%55e%65
&%266%36F%46V%56f%66
'%277%37G%47W%57g%67
(%288%38H%48X%58h%68
)%299%39I%49Y%59i%69
*%2A要\:%3AJ%4AZ%5A
+%2B要\;%3BK%4B[%5Bz%7A
,%2C<%3CL%4C\%5C{%7B
-%2D要\=%3DM%4D]%5D|%7C要\
.%2E>%3E要\N%4E^%5E}%7D
/%2F?%3F要\O%4F_%5F~%7E