Viewing 15 posts - 35,611 through 35,625 (of 49,552 total)
MatthewA.Herold (11/27/2009)
select @tablename = (select Name from Sysobjects where Name like 'queue%' and type = 'U')
That select must return only one value. You're assigning the result to a single string...
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
November 27, 2009 at 1:18 pm
aureolin (11/27/2009)
You need to balance the storage space necessary for keeping all those backups with how far back you might need to go to find something.
Not just how far...
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
November 27, 2009 at 1:10 pm
Please post query, table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/ It's really hard to talk about performance in abstract.
Are the indexes fragmented?
First execution of a query 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
November 27, 2009 at 1:08 pm
John Paul-702936 (11/27/2009)
Please .......PleaseeeeeeReply Please ........................
Bitbucket did. What about his reply (which did answer your question on deleting records in related tables) was not sufficient?
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
November 27, 2009 at 1:05 pm
shivrudra_2008 (11/27/2009)
i need to encryt the database
Why? What's your goal, what are you trying to achieve?
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
November 27, 2009 at 8:33 am
Please run the following and post the FULL output. There's not enough information in what you've so far posted to make even an educated guess.
DBCC CHECKDB (<Database Name>) WITH NO_INFOMSGS,...
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
November 27, 2009 at 8:32 am
Not any update to a varchar, one that increases the size of the varchar, hence increasing the size of the row.
It's an option, just not a free one. Tradeoffs, 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
November 27, 2009 at 4:27 am
Would you like to expand on that? (details or example)
PAD_INDEX controls whether the fill factor applies to just the leaf levels or the entire index (leaf and non-leaf levels)
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
November 27, 2009 at 3:18 am
Johnc (11/27/2009)
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
November 27, 2009 at 3:02 am
cute_lhen05 (11/26/2009)
"you are not logged on as the databae owner or system...
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
November 26, 2009 at 2:15 pm
Not so much MSMQ, but Service Broker sure. Question is, are you willing to put up with the massive increase in complexity and increased administrative overhead (and it is high)...
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
November 26, 2009 at 2:10 pm
Jeff Moden (11/26/2009)
(sys.sysColumns I believe... not sure because this is 2k8).
Just sys.columns
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
November 26, 2009 at 12:55 pm
sqllearner-339367 (11/26/2009)
select count (*) from tentableselect * from tentable.
Those are far from the same query and will execute very differently
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
November 26, 2009 at 12:51 pm
Look up SET ROWCOUNT in SQL Books Online
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
November 26, 2009 at 9:07 am
Damien-987863 (11/26/2009)
Because we complain about slow processing of transactions so he give that to us to run it everytime the processing of system is slow.
That's insane. So every time things...
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
November 26, 2009 at 8:34 am
Viewing 15 posts - 35,611 through 35,625 (of 49,552 total)