ããã¯éçºç¨ãµã¼ãã¼ã®SQLServer2005ã§ãã¡ãã£ã¨åããå°ã£ã¦ãããã¨ã®ã話ã åé¡ï¼ãã£ã¹ã¯ã¯50GBãããªãã®ã«ãmsdbã33GBãããããã®ããã§ããã¹ãã¢ã¸ã¥ã¼ã«ãæä½éã¾ã§åã£ã¦ããã¹ãåããã¨ããã«æ®ã容é100MB以ä¸ã«ããã¼ããã§ããããããã ãªã®ã§ãã¡ãã£ã¨æ¬æ°ãåºãã¦ãmsdbã®å§ç¸®ã«ã¤ãã¦ã対å¦ãããã¨ã«ããã ã¾ãã¯åå ã¨ãªã£ã¦ããã ãããã¼ãã«ã®æ´ãåºãã SELECT isnull(sum( p.rows ),0) as RowCounts,s.name as TableName FROM sys.partitions p INNER JOIN sys.objects s ON s.object_id = p.object_id LEFT JOIN sys.allocation_units a ON p.partition_id = a.conta
{{#tags}}- {{label}}
{{/tags}}