문제

When adding a file to a filegroup, you can restrict the file growth by a certain size. Is there a way to either query the DB for it? Or get it through performance counter?

도움이 되었습니까?

해결책

--  Deprecated systable
Select  [Filename],
        Size,
        MaxSize,
        Growth
From    sys.sysfiles

--  Replacement system view
Select  physical_name,
        Size,
        max_size,
        growth
From    sys.database_files

MaxSize is the growth limit.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top