sqlserver日志文件過大 在SQL server中,在創(chuàng)建數(shù)據(jù)庫文件的時候,如何讓來定義數(shù)據(jù)文件的的初始大小,以及限制大小,謝謝?
在SQL server中,在創(chuàng)建數(shù)據(jù)庫文件的時候,如何讓來定義數(shù)據(jù)文件的的初始大小,以及限制大小,謝謝?--下面的示例是創(chuàng)建數(shù)據(jù)庫ltsdatabase創(chuàng)建數(shù)據(jù)庫ltsdatabase在(name=l
在SQL server中,在創(chuàng)建數(shù)據(jù)庫文件的時候,如何讓來定義數(shù)據(jù)文件的的初始大小,以及限制大小,謝謝?
--下面的示例是創(chuàng)建數(shù)據(jù)庫ltsdatabase
創(chuàng)建數(shù)據(jù)庫ltsdatabase
在(
name=ltsdatabaseudata,-主數(shù)據(jù)文件
file name=“D:templtsdatabaseu數(shù)據(jù).mdf“,
大小=6,-初始大小
最大大小=12,-最大限制
filegrowth=10%--增長率
]登錄
(
name=ltsdatabaseulog,
filename=“d:templtsdatabaseu日志.ldf“,
大小=1,
最大大小=8,
文件增長=10%
)