Viewing 15 posts - 10,606 through 10,620 (of 49,552 total)
How it got so big: You aren't running regular log backups. In full recovery model only log backups mark the log as reusable, so you need to schedule them. Full...
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
December 19, 2013 at 10:25 am
No point. In fact, unless losing 24 hours work off dev is unacceptable, there probably doesn't need to be diffs and logs, or maybe weekly fulls and daily diffs.
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
December 19, 2013 at 8:04 am
JimS-Indy (12/19/2013)
My backup package does a full backup (including logs), then a db integrity check, then truncates the logs. I will read your link. Thank you.
A full backup does 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
December 19, 2013 at 7:40 am
Full backups do not truncate the log.
If the database is in full recovery, you need to be running log backups. If you don't need point in time recovery, switch 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
December 19, 2013 at 7:36 am
prabhu.st (12/19/2013)
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
December 19, 2013 at 6:40 am
Don't convert dates to strings for comparisons, just going to make a mess. Compare dates with dates, it's efficient and you're not going to run into problems with formats
Are you...
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
December 19, 2013 at 5:29 am
prabhu.st (12/19/2013)
so I request you guys to give me a best way were I can find a Moderate(Optimized) for all Queries on the table,
Don't. While it is possible to create...
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
December 19, 2013 at 4:45 am
jhaddow (12/19/2013)
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
December 19, 2013 at 12:42 am
SQL Server is not a file-based database. Moving the files isn't enough. Someone (preferably someone with a mediocre of SQL knowledge) needs to log into the SQL instance 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
December 18, 2013 at 11:53 pm
burtsev (12/18/2013)
Table has no indices,
There's your problem right there. Identify most common queries, index to support them, have a good clustered index.
http://www.sqlservercentral.com/articles/Indexing/68439/
http://www.sqlservercentral.com/articles/Indexing/68563/
http://www.sqlservercentral.com/articles/Indexing/68636/
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
December 18, 2013 at 10:13 pm
That's the less problematic part of it.
From books Online:
Missing and Double Reads Caused by Row Updates
Missing one or more rows that were not the target of update
When you are using...
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
December 18, 2013 at 6:42 am
vignesh.ms (12/18/2013)
Im a newbie .. I dont know the downsides and side effects of nolock..
So why do you use it if you don't know what it does?
Could you...
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
December 18, 2013 at 6:23 am
Could you post the execution plans please, not pictures of the plans?
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
December 18, 2013 at 6:04 am
Right click database -> tasks -> generate scripts.
Don't script the data, use import/export once you've created the database on SQL 2008.
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
December 18, 2013 at 6:02 am
Can't be done.
A SQL 2008 R2 database can only attach to SQL 2008 R2 or SQL 2012. SQL Server does not allow downgrading of database versions
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
December 18, 2013 at 4:14 am
Viewing 15 posts - 10,606 through 10,620 (of 49,552 total)