1. 수동으로 ghost cleanup task 수행
DBCC ForceGhostCleanup
---> 업무부하가 덜한 시간에 수행 필요
2. 현재 Ghost Row (ghost record) 확인 방법
http://www.sqlserver-dba.com/2013/03/how-to-check-for-sql-ghost-records.html
SELECT
db_name(database_id),
object_name(object_id),
ghost_record_count,
version_ghost_record_count
FROM
sys.dm_db_index_physical_stats(DB_ID(N
'db_name'
), OBJECT_ID(N
'table_name'
),
NULL
,
NULL
,
'DETAILED'
);
'Database > MS-SQL' 카테고리의 다른 글
[스크랩] Don't Shrink your LDF file!! (0) | 2017.11.10 |
---|---|
[스크랩] 로그 잘림을 지연시킬 수 있는 요소 (0) | 2017.11.05 |
[스크랩] MSSQl 2012 달라진 메모리 구조 (multipage 없어진 것 관련) (0) | 2017.07.20 |
[스크랩] OLTP / DW / DM / OLAP 비교 (0) | 2017.07.20 |
[스크랩] tempdb 임시테이블에 대하여 (0) | 2017.06.28 |