Skip to main content

Questions tagged [database-size]

Filter by
Sorted by
Tagged with
1 vote
0 answers
34 views

On MSSQL (our DB size is 520g), there is one filestore table that holds tons of files. 65-70% of this 520g is sitting in there. So essentially, it's a 200g database with 320g worth of files in this ...
James Johnson's user avatar
3 votes
1 answer
226 views

I have an uncompressed clustered primary key. It consumes 63.6 GB in the main part of the clustered index with 17.9 GB LOB. The table's only non-clustered index is 57.3 GB also with 17.9 GB LOB. I ...
J. Mini's user avatar
  • 1,322
0 votes
2 answers
309 views

Here is my query and its output in psql, run as an admin on that database. There is a massive discrepancy between the 'total size of the database' at 50GB, and the sum of the tables, ~7MB. This is ...
Datguy's user avatar
  • 11
1 vote
1 answer
416 views

Normally when the database is online I use the following query and get how much space is free inside each file: SELECT CONVERT (decimal(12,2) , (CONVERT(...
Marcello Miorelli's user avatar
2 votes
1 answer
117 views

I have a table called data_table. Below are schema, indexes, and their sizes. Table "public.data_table" Column | Type | ...
Ezhar's user avatar
  • 21
1 vote
1 answer
1k views

I know how to find relation and database size using pg_total_relation_size(), and pg_database_size(). But I want to find whole cluster size. Is there a way other than calculating disk space of data ...
Jaikaran saini's user avatar
0 votes
1 answer
597 views

How difficult of a process is it to export a database to a flat-file? Should it take seconds, minutes, hours, or days to complete an export? I have no knowledge of the database structure, beyond the ...
pubb's user avatar
  • 11
0 votes
0 answers
1k views

I am looking for a way to list PostgreSQL Database Data and Log sizes. Using the following command we can check the total database size based on the documentation https://pgpedia.info/p/...
Stavros Koureas's user avatar
0 votes
1 answer
332 views

I have two MySQL servers. One is running on 5.7.24 and other one is running on 8.0.29 version. In 5.7.24 I have table with 71M (millions) records and its size is about 6GB. The same table on 8.0.29 ...
Heril Muratovic's user avatar
0 votes
1 answer
394 views

We are doing POC for DB selection. Based on our use case we got three recommendation Postgres Cassandra Azure SQL We are not going with Cassandra since we are not matching minimum requirements and ...
Tirth Patel's user avatar
0 votes
2 answers
3k views

Context We have a Backup DB, where we normally store BackUps of tables from production DB before doing any updates/deletes. If anything goes wrong, we can restore the data from that table created in ...
Bishal's user avatar
  • 1
0 votes
0 answers
364 views

I have an application database (not of my design) with a table for storing files in a varbinary(max) column. These databases show to take up 2X the actually required space (i.e. shrink shows give/take ...
Randal Matthew's user avatar
0 votes
1 answer
2k views

According to official Oracle documentation available at https://www.oracle.com/database/technologies/appdev/xe/faq.html it has limitations: What are the resource limits for Oracle Database XE Oracle ...
Tiedt Tech's user avatar
1 vote
1 answer
803 views

I wonder why my database is so large. I type: SELECT pg_size_pretty(pg_database_size('defaultdb')); and it says defaultdb is 259 GB. That is huge. So I list my tables in psql with: \dt For each ...
Steve Scott's user avatar
3 votes
2 answers
2k views

Using Microsoft SQL Server 2016 (RTM) - 13.0.1601.5 (X64) Express Edition (64-bit) I have a database that reaches the maximum space (10Gb) every month. In order to free up some space I do a bacpac, ...
Pedro Adão's user avatar
2 votes
0 answers
113 views

Some solutions to poor query performance suggest creating extended statistics objects to help the query planner better understand the shape of the data. Because these statistics objects are not ...
Shepmaster's user avatar
6 votes
2 answers
2k views

I have a large SQL Azure database (P6 nearing 1TB in size). I want to do a cleanup/removal of any unused indexes. For the past 30 days, we've captured the 2 following sets of information. See: https://...
Eoin Campbell's user avatar
0 votes
2 answers
760 views

We quickly have very big diff files. Although the database is a highly transactional database, there is also a lot of data at rest. 1 or 2 days after a full backup was taken, the diff backup is bigger ...
MichaelD's user avatar
  • 573
2 votes
0 answers
754 views

I have reached the Sql Server Express edition limit of 10 Go of space per database and for every new INSERT I have this error : 2020-08-10 14:21:58.75 spid67 Could not allocate space for object [Table]...
tomahim's user avatar
  • 121
2 votes
2 answers
3k views

I'm very new to Postgres so my math could be off here ... This is my table: CREATE TABLE audit ( id BIGSERIAL PRIMARY KEY, content_id VARCHAR (50) NULL, type VARCHAR (100) NOT NULL, ...
90abyss's user avatar
  • 123
1 vote
2 answers
897 views

We have an old application that has problems with performance. I narrow it down to few spots in the system that definitely require attention. I found one table referenced in this app with 1,332,730,...
user1706426's user avatar
2 votes
1 answer
1k views

I have a postgres 11 database in Amazon RDS with a little over 2 TB data in it whose tables have incrementing integer ids that are nearing exhaustion. I've been vetting using logical replication to ...
LanceW's user avatar
  • 23
1 vote
1 answer
35 views

We are currently attempting get around a file size limitation issue with our database. The database file size hovers around the 4GB mark (the database size limit is 4GB in SQL Express 2005). We always ...
magneticprawn's user avatar
4 votes
2 answers
3k views

I have been trying to figure out why our production database has grown so much recently and have found the cause to be an audit table. We are going to archive the table to fix the problem but I just ...
Hoody's user avatar
  • 175
2 votes
2 answers
1k views

I have a relatively simple database that is over 300MB on disk. When I look at the table data it adds up to just over 5MB. Please see the screenshot below: This screenshot can also be seen here. If ...
Daemach's user avatar
  • 129