Viewing 15 posts - 10,081 through 10,095 (of 49,552 total)
ALTER DATABASE <database name>
MODIFY FILE (Name = <file name>, OFFLINE);
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 1:04 pm
No, no, no, no, don't do that.
What's the exact state_desc of the file? (sys.database_files)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 12:02 pm
L' Eomot Inversé (2/7/2014)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 11:56 am
And if you try to drop the filegroup? An error that it's not empty?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 11:53 am
ricardo_chicas (2/7/2014)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 11:15 am
Can you not just drop the filegroup? It should work, though may need a couple other steps first.
What's the corruption-related errors? Might be an option that doesn't involve recreating the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 10:55 am
JudithK (2/7/2014)
Just in case the obvious has been missed... The max server memory setting won't take effect until you restart the sql server instance. 🙂
The Max server memory setting takes...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 10:38 am
jasona.work (2/7/2014)
ChrisM@Work (2/7/2014)
Anybody else seeing a kinky image of Koen, Gail and Grant wondering around without their tshirts?/Using my best George Takei imitation
Ooh My...
😉
At least he's not imagining us wandering...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 7:58 am
jasona.work (2/7/2014)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 7:55 am
Koen Verbeeck (2/7/2014)
GilaMonster (2/7/2014)
Koen Verbeeck (2/7/2014)
Ed Wagner (2/7/2014)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 7:19 am
Koen Verbeeck (2/7/2014)
Ed Wagner (2/7/2014)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 7:12 am
SQL will use as much memory as it is allowed to. By setting max server memory to 8GB, you've told it that it may use 8GB and hence it will...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 6:24 am
Target and total memory are measured in KB. 8GB = 8*1024 MB = 8*1024*1024 KB = 8 388 608KB. So SQL is using exactly the amount of memory you told it that...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 7, 2014 at 5:35 am
sanku.raghuram (2/6/2014)
so when my job runs first it...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 6, 2014 at 7:52 am
ben.brugman (2/6/2014)
To see how efficient code is working I want to count how many times a function is accessed.
Depends on the execution plan. The rule that functions cannot have side...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 6, 2014 at 7:46 am
Viewing 15 posts - 10,081 through 10,095 (of 49,552 total)