About 4,090,000 results
Open links in new tab
  1. sql server - Get size of all tables in database - Stack Overflow

    Jul 29, 2016 · Here is a way to get all tables' sizes quickly with the following steps: Write the given T-SQL commands to list all database tables: select 'exec sp_spaceused ' + TABLE_NAME …

  2. How to display Oracle schema size with SQL query?

    If you just want to calculate the schema size without tablespace free space and indexes : select sum(bytes)/1024/1024 as size_in_mega, segment_type from dba_segments where …

  3. How do I list all tables in a schema in Oracle SQL?

    Feb 12, 2010 · To see all tables in another schema, you need to have one or more of the following system privileges: or the big-hammer, the DBA role. With any of those, you can …

  4. How to Retrieve the Size of All Tables in a Database - Baeldung

    Aug 20, 2024 · In this tutorial, we’ll explore how to retrieve the size of all tables in three popular databases: PostgreSQL, MySQL, and SQL Server. We’ll provide multiple methods to achieve …

  5. SQL SERVER – List Tables with Size and Row Counts

    Feb 12, 2021 · Today we will see a very simple script that lists table names with the size of the table and along with that row counts. Let us learn it in today.

  6. T-SQL Example-Schema Sizes For a Database

    Mar 26, 2022 · Finding a query to return the size of all the tables that make up a schema within a SQL Server database takes more time than it should. Search results often include Oracle …

  7. sql server - List table sizes for all tables on all databases ...

    Dec 20, 2013 · Is there a simple way of listing the size of every table in every database on a MSSQL server? I have used a query on sys.tables to get results for a single database, but we …

  8. Query to get size of all tables in an Oracle database schema

    Apr 4, 2017 · As a DBA sometimes you need to know how what’s taking space in an Oracle database, or how large is the table you’re working on, here’s a script which answers these …

  9. List Table Size for all Tables in SQL Database

    Nov 13, 2014 · This article gives the T-SQL query to list table size for all the tables in SQL Database and sql server query to get database size using built in stored procedure …

  10. SQL Server : Get size of all tables in database - Microsoft Q&A

    Jul 11, 2021 · WHEN (i.index_id < 2) THEN (in_row_data_page_count + lob_used_page_count + row_overflow_used_page_count) ELSE lob_used_page_count + …

  11. Some results have been removed
Refresh