Solved

MessageHandler Database in SQL way too large

Posted on 2016-09-21
4
48 Views
Last Modified: 2016-09-21
I have a database in SQL Server 2008 that is reporting it is 1.5GB when the actual size is a fraction of that.

EXEC sp_spaceused reports that the database is 1533.07MB

EXEC sp_msforeachtable 'EXEC sp_spaceused [?];' reports the following sizes;
MessageBacklog 400KB
activejobs - 4832KB
queuelog - 1496KB

Does anyone know why the size of the file is 1.5GB? Is there a way to reduce this?

EDIT: I attached an image of the size results.

Thanks
sql.png
0
Comment
Question by:filtrationproducts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 49

Expert Comment

by:Vitor Montalvão
ID: 41808985
The size of a database is all objects plus transaction log.
The size of the tables is data plus indexes.
With that said, isn't linear sum as you did.
0
 
LVL 1

Author Comment

by:filtrationproducts
ID: 41809008
Is there a way to identify the object or transaction log that is taking up the space and if possible how would I reduce the size?
0
 
LVL 49

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 41809027
Is there a way to identify the object or transaction log that is taking up the space and if possible how would I reduce the size?
Transaction log stores all transactions that were performed on the database. If it's big then I guess your database is in Full Recovery Model and not performing any Transaction Log backup. After a TLog backup the logs will be truncated but the file will keep the same size. To reduce the file size you'll need to shrink it.
0
 
LVL 1

Author Comment

by:filtrationproducts
ID: 41809117
I checked, and the database is using the Simple Recovery model.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question