Viewing 15 posts - 20,881 through 20,895 (of 49,552 total)
SQL Kiwi (1/20/2012)
GilaMonster (1/20/2012)
Yes, they will. GetDate, like Rand, gets one value for a statement (if called once)
Not necessarily true for RAND, if it is seeded with a non-deterministic function...
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
January 20, 2012 at 3:49 am
hewitg (1/20/2012)
used it and it doesnt do anything!!!!!
Try shrinking in small chunks, couple GB at a time. Also check while Shrink's running if it's waiting for anything (like a latch...
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
January 20, 2012 at 2:44 am
Robert Murphy UK1 (1/20/2012)
DBCC SHRINKFILE (N'YourDbName' , 5000)GO
DBCC SHRINKFILE (N'YourDbName' , 0, TRUNCATEONLY)
Why would you run shrinkFile with truncateony (release unused...
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
January 20, 2012 at 2:42 am
Ok, so DBCC ShrinkFile (<file name of data file>,<target size>)
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
January 20, 2012 at 2:16 am
TimeToShine (1/19/2012)
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
January 20, 2012 at 2:03 am
How much free space is there in the database?
How long did you leave things after the drop? Drop table is not an instantaneous removal of data.
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
January 20, 2012 at 1:58 am
Yes, they will. GetDate, like Rand (without a seed), gets one value for a statement (if called once)
That said, if milliseconds are significant, datetime is a poor data type to...
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
January 20, 2012 at 1:52 am
Have you rebuild the clustered index? If not, that space is likely to be spread through the table, not free pages that can be released.
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
January 20, 2012 at 1:51 am
Just one correction:
Non-leaf level entries contain only index key columns and the pointer to a lower level page. Included columns only exist in the leaf level entries; they are...
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
January 20, 2012 at 1:49 am
sudhirnune (1/19/2012)
But for improving the Query Performance i need to Index the Table based on...
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
January 20, 2012 at 1:39 am
Well, firstly you don't use sp_attach_db as it it deprecated. Use CREATE DATABASE <new database name> .... FOR ATTACH
What do you mean 'attach as'?
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
January 20, 2012 at 1:26 am
Grant Fritchey (1/19/2012)
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
January 19, 2012 at 1:06 pm
Please don't cross post. It just wastes peoples time and fragments replies.
No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic1238996-8-1.aspx
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
January 19, 2012 at 1:04 pm
Close...
_UB (1/19/2012)
Transaction Isolation Level is different from Database Isolation Level setting.
There is no such thing as a database isolation level.
There are two database settings.
1) Allow snapshot isolation level. All 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
January 19, 2012 at 1:02 pm
In that case I would very strongly advise against using mis-matched versions. In a disaster you could fail over and find your apps don't work on the newer version, and...
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
January 19, 2012 at 12:53 pm
Viewing 15 posts - 20,881 through 20,895 (of 49,552 total)