How do to find the size of table in oracle?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

I am online Quran teacher 7 years

DBA_SEGMENTS
Comments

I am a tutor since last 1 year

To find the size of a table in Oracle, you can use the user_segments view with the following SQL query, replacing "YOUR_TABLE_NAME" with the actual table name: SELECT SUM(bytes)/1024/1024 AS "Table Size (MB)" FROM user_segments WHERE segment_name='YOUR_TABLE_NAME'.
Comments

SELECT segment_name AS table_name, segment_type, ROUND(SUM(bytes)/1024/1024, 2) AS size_mbFROM dba_segmentsWHERE segment_type = 'TABLE' AND segment_name = UPPER('your_table_name')GROUP BY segment_name, segment_type;
Comments

View 1 more Answers

Related Questions

Hi, I would like to be a tutor. Please suggest how to proceed?
What is your educational qualification and what subject you are proficient, this depends on what you want to teach. If you have BEd degree, along wih your regular degree, then you can apply in schools also.
Profile Photo
Geeta
How oracle database is different from other databases like SQL Server, MySQL etc?
1. Oracle and SQL Server are considered tools that favor users with large enterprise systems, while MySQL is considered a tool that appeals most often to individuals interested in managing databases associated...
Profile Photo
Nirod
0 0
View Comments6
Is Oracle Forms is a front end tool? How much it is useful for back end (Database) professional?
Oracle Forms is UI and it can be linked to back end database to get or insert data.
Profile Photo
Subhrakant
0 0
View Comments8
Oracle is best in market as teradata ?
It depends in your Interest.
Profile Photo
Ganesh
0 0
View Comments8

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Understanding Of GST (Goods And Services Tax)
What is GST? Goods & Services Tax is a comprehensive, multi-stage, destination-based tax that will be levied on every value addition. To understand this, we need to understand the concepts under...
Profile Photo

How to use joins in SQL
What are Joins in SQL? Joins in SQL are used to combine rows between two or more tables. Joins are used in SQL when user need to extract data between two or more tables based on a related column. Joins...
Profile Photo

Interview questions based on "level", a pseudocolumn
1. Write a query to get the below output, 1 11 21 31 .. .. 91 2 12 22 32 .. .. 92 3 13 23 33 .. .. 93 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 10 20 30 40 ...
Profile Photo

Introduction to Performance tuning
What is Performance in general terms? Throughput per Input. For Eg: we keep saying, this bike has so and so much of mileage and all that. That is one of the parameters in measuring the performance of...
Profile Photo

Oracle Architecture - Introduction
As a Oracle developer or a DBA, you should know the in & out of it’s Architecture. Let’s keep it simple first and explore later. Oracle is a software or a program, so like any other program,...
Profile Photo

Recommended Articles

Database Administration is the process building, organizing and maintaining custom databases for meeting the specific data requirements of an organization. A Database Administrator (DBA) is the person in charge of all the procedures involved in database development, organization, retrieval and security. A DBA has to understand...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Looking for Oracle Training ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you