Hi All,
I have a issue, My operations manager database is of 40GB and out of which 19 GB was always free.
From the past 1 - 2 weeks my database is occupying lot of space and currently i have only 9GB free.
When i ran a SQL query to pull what data of what is consuming lot of space below is the report.
SQL Query what i used:
SELECT so.name,
8 * Sum(CASE WHEN si.indid IN (0, 1) THEN si.reserved END) AS data_kb,
Coalesce(8 * Sum(CASE WHEN si.indid NOT IN (0, 1, 255) THEN si.reserved END), 0) AS index_kb,
Coalesce(8 * Sum(CASE WHEN si.indid IN (255) THEN si.reserved END), 0) AS blob_kb
FROM dbo.sysobjects AS so JOIN dbo.sysindexes AS si ON (si.id = so.id)
WHERE 'U' = so.type GROUP BY so.name ORDER BY data_kb DESC
Output:
Last 5 days back the report (When the space came to 12GB)
name | data_kb | index_kb |
StateChangeEvent | 7347832 | 753376 |
PerformanceSource | 4001200 | 1783192 |
PerformanceData_40 | 2310000 | 671704 |
PerformanceData_38 | 2240256 | 648800 |
PerformanceData_42 | 2063936 | 596704 |
AlertHistory | 1412752 | 177984 |
PerformanceData_36 | 1390320 | 406616 |
Alert | 1369984 | 162984 |
PerformanceData_44 | 764976 | 224600 |
RecursiveMembership | 482152 | 176856 |
Event_40 | 420400 | 5912 |
Event_42 | 313984 | 4320 |
Event_36 | 290688 | 4000 |
Event_38 | 289600 | 3808 |
Event_34 | 252976 | 3352 |
In last 3 days the new report (Currently when the space came to 9GB)
name | data_kb | index_kb | blob_kb |
StateChangeEvent | 7417272 | 764896 | 0 |
PerformanceSource | 4009712 | 1786904 | 0 |
PerformanceData_46 | 3626432 | 1042144 | 0 |
PerformanceData_40 | 2310000 | 671704 | 0 |
PerformanceData_38 | 2240256 | 648800 | 0 |
PerformanceData_42 | 2063936 | 596704 | 0 |
PerformanceData_44 | 1873840 | 548888 | 0 |
AlertHistory | 1468880 | 182208 | 0 |
Alert | 1399576 | 152832 | 0 |
Event_46 | 526832 | 6936 | 0 |
RecursiveMembership | 482728 | 177240 | 0 |
Event_40 | 420400 | 5912 | 0 |
Event_42 | 313984 | 4320 | 0 |
Event_44 | 306608 | 4184 | 0 |
Event_36 | 290688 | 4000 | 0 |
My Current grooming settings for Operationsmanager DB are as below.
Can any one help me in how do i reduce this space occupation please ?
Gautam.75801