database size
how to find the total databas size in single query.
I can use sm$ts_avail, sm$ts_used and sm$ts_ free. also I can use dba_segments , dba_free_space and dba_data_files. But I need a single query which gives
available size= all db files size+ temporary files size
used size = db files used size + temporary used size
free space= dbfile free space + temporary free space.
I would like to have this in single query as i want to create report of space utilization on 25 databases. I want to do minimal formatting work after executing the query.