Archive for the ‘Core Database’ Category

Oracle: Checking Object Index Leaf Blocks

This note is supplied describing the Oracle Index, its number of rows, leaf blocks and status if it is invalid or valid. For the past couple of days I was thinking how will I know if the query is optimized or not until today I had time to experiment and used SQL Hint on my [...]

More »

Oracle: How to Get Temporary Tablespace Size using SQL

Here is the SQL statement on how to get the filesize of the Temporary Tablespace in an Oracle datase. select file_name, tablespace_name, bytes/1048576 MB from dba_temp_files; Computation: 1024 Bytes = 1KB

More »