Search
 
SCRIPT & CODE EXAMPLE
 

SQL

query to find table size in oracle 12c

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 :: remove accented characters from string sql 
Sql :: show list of users in mysql 
Sql :: mysql print variable 
Sql :: mysql update field from one table to another 
Sql :: sql server kill all connections 
Sql :: oracle apex version view 
Sql :: oracle list procedures 
Sql :: oracle rename table 
Sql :: dbms_output sql developer 
Sql :: oracle all_source package body 
Sql :: oracle sql drop index 
Sql :: show all sequence in postgresql 
Sql :: customer using hdfc bank sql query 
Sql :: no data found oracle 
Sql :: linux command line import mysql database 
Sql :: mysql history command 
Sql :: mysql your password does not satisfy the current policy requirements 
Sql :: postgres delete database 
Sql :: how to update an attribute in MySQL 
Sql :: get permissions postgre query 
Sql :: mysql select greater than yesterday 
Sql :: ORACLE RIGHT TWO DIGITS 
Sql :: oracle list invalid password ORA-01017 
Sql :: set statiscis on in ssms 
Sql :: oracle sql assign unique number to each grouping 
Sql :: vagrant mysql downgrade version 
Sql :: oracle source query 
Sql :: oracle get nls settings 
Sql :: check mysql version phpmyadmin 
Sql :: oracle list dates between 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =