Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle table size

SELECT e.OWNER, e.SEGMENT_NAME, e.TABLESPACE_NAME, sum(e.bytes) / 1048576 AS Megs
FROM dba_extents e
WHERE
  e.OWNER = 'SCHEME_NAME' AND
  e.TABLESPACE_NAME = 'TBS_NAME' AND
  e.SEGMENT_NAME IN ('TABLE_NAME')
GROUP BY e.OWNER, e.SEGMENT_NAME, e.TABLESPACE_NAME
ORDER BY e.TABLESPACE_NAME, e.SEGMENT_NAME;
Comment

PREVIOUS NEXT
Code Example
Sql :: reset mysql root password mac 
Sql :: mysql add boolean column 
Sql :: while loop sql 
Sql :: import sql file from laravel 
Sql :: show max_allowed_packet mysql 
Sql :: delete mysql from mac 
Sql :: sql_mode=only_full_group_by 
Sql :: sql add date hour 
Sql :: run postgres with docker 
Sql :: oracle search text in all packages 
Sql :: Find all tables containing column with specified name - MS SQL Server 
Sql :: convert varchar to int in sqlite 
Sql :: sqlite3 now 
Sql :: oracle sql log to console 
Sql :: how to run mysql in git bash 
Sql :: postgresql search all tables for column name 
Sql :: your password does not satisfy the current policy requirements 
Sql :: add super privilege mysql 
Sql :: mysql not supported auth mode 
Sql :: list all permissions on a table in postgres 
Sql :: sql datetime as date 
Sql :: oracle next run dates 
Sql :: oracle list invalid password logon denied 
Sql :: SQL select past number of days 
Sql :: add many column to sap iq table 
Sql :: postgresql define pk sequence next number 
Sql :: oracle scan source ddl 
Sql :: oracle nls instance 
Sql :: how to check mysql version in xampp 
Sql :: distincct sql 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =