Viewing 15 posts - 24,076 through 24,090 (of 49,552 total)
That state comes from a file missing or inaccessible. Find all the messages in the SQL error log relating to this database and don't try anything to it just yet...
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
August 19, 2011 at 7:48 am
One way that I know works:
Create a publication (transactional)
Publish a single table
Delete the publication.
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
August 19, 2011 at 7:34 am
a_ud (8/19/2011)
I'll happily do all you ask for, but there's problems:-Don't know what an execution plan is.
Did you read the article?
-Too many tables, functions, a backend, a frontend,...
For one query?
If...
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
August 19, 2011 at 6:00 am
Stamey (8/19/2011)
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
August 19, 2011 at 5:38 am
http://www.sqlservercentral.com/articles/Transaction+Log/72488/
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
August 19, 2011 at 4:19 am
Jeff Moden (8/18/2011)
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
August 19, 2011 at 4:19 am
Drop, remove, what's the difference 😀
You shouldn't need the shrink with emptyfile for TempDB.
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
August 18, 2011 at 3:44 pm
Since it's tempDB it's a little different from user databases.
ALTER DATABASE TempDB DROP FILE ....
Then restart SQL. The change will only be effective after a restart, until then it's just...
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
August 18, 2011 at 2:49 pm
If you turn both off, SQL will lock at a table level every time. You may know that there will be no updates but, unless the database or filegroup is...
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
August 18, 2011 at 11:31 am
I mix up 'or' and 'of' frequently. It's a pain, as spell checkers won't catch it and frequently grammar checkers don't either as the resultant sentence is correct, just not...
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
August 18, 2011 at 11:22 am
If I'd been speaking out loud it would have been 'an'. I wrote quickly without speaking it, hence it went to 'a'
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
August 18, 2011 at 11:10 am
Try DBForums.com for MySQL questions. It wasn't too bad last time I checked
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
August 18, 2011 at 9:24 am
Please post table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
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
August 18, 2011 at 8:43 am
A 2 litre water bottle with 500ml of water in it is still a 2 litre water bottle, it just has a lot of free space in 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
August 18, 2011 at 8:26 am
Steve Jones - SSC Editor (8/18/2011)
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
August 18, 2011 at 8:12 am
Viewing 15 posts - 24,076 through 24,090 (of 49,552 total)