Viewing 15 posts - 30,541 through 30,555 (of 49,552 total)
The table scan (rather than index seek) is probably because the index is not covering and the query returns too large a percentage of the table for the combination of...
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
September 19, 2010 at 11:48 pm
phil.layzell (9/19/2010)
Is this a bug in 2005, or am I programming by coincidence?
No. Yes. (in that order)
SQL is under absolutely no obligations regarding the order that it evaluates predicates...
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
September 19, 2010 at 11:32 pm
No replies to this thread please. Direct replies to:http://www.sqlservercentral.com/Forums/Topic989110-392-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
September 19, 2010 at 11:28 pm
Is spid 420 a valid sessionID? If you query sys.processes, is it there?
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
September 19, 2010 at 11:24 pm
SkyBox (9/19/2010)
The log_reuse_wait_desc is "LOG_BACKUP" when selecting on the appropriate database_id.
Ok.... Is it still the same after doing a log backup? If so, what's the script you're using to do...
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
September 19, 2010 at 11:19 pm
Jeff Moden (9/19/2010)
GilaMonster (9/19/2010)
Is my irritation with this guy justifiable, or a product of a mostly wasted day? (well, until his last post that is)http://www.sqlservercentral.com/Forums/Topic988907-391-1.aspx
Maybe it's just me but I...
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
September 19, 2010 at 2:50 pm
Is my irritation with this guy justifiable, or a product of a mostly wasted day? (well, until his last post that is)
http://www.sqlservercentral.com/Forums/Topic988907-391-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
September 19, 2010 at 12:09 pm
The sys.databases view is a server-wide view that contains one row for each database on the server. It returns the same no matter what database context you are in.
That list...
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
September 19, 2010 at 12:06 pm
SkyBox (9/19/2010)
Those results were from the same db. Here is the statement:use databaseName (same as LogInfo)
select log_reuse_wait_desc from sys.databases
sys.databases returns 1 row for each database on 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
September 19, 2010 at 12:00 pm
SkyBox (9/19/2010)
So for optimal performance, do you recommend hourly log backups?
Log backup frequency has nothing to do with performance. It has to do with data loss policies 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
September 19, 2010 at 11:59 am
SkyBox (9/19/2010)
GilaMonster (9/19/2010)
Looks like something's keeping the log active.What's the value of log_reuse_wait_desc in sys.databases for this database?
log_reuse_wait_desc
DATABASE_SNAPSHOT_CREATION
NOTHING
LOG_BACKUP
DATABASE_SNAPSHOT_CREATION
NOTHING
LOG_BACKUP
LOG_BACKUP
What's the value for this database? (The one that you did the LogInfo...
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
September 19, 2010 at 11:53 am
kumar.sachu08 (9/19/2010)
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
September 19, 2010 at 11:47 am
SkyBox (9/19/2010)
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
September 19, 2010 at 11:42 am
Jeff Moden (9/19/2010)
GilaMonster (9/19/2010)
Steve Jones - Editor (9/19/2010)
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
September 19, 2010 at 11:40 am
Looks like something's keeping the log active.
What's the value of log_reuse_wait_desc in sys.databases for this database?
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
September 19, 2010 at 11:39 am
Viewing 15 posts - 30,541 through 30,555 (of 49,552 total)