Viewing 15 posts - 46,666 through 46,680 (of 49,571 total)
Storage take blame for a poorly performing database? What universe are you in? 😉
That's my worst fear, and it's something I've had before. A datawarehouse load that was using the...
May 8, 2008 at 8:35 am
As a suggestion - first copy the back up files locally, then do the restore.
May 8, 2008 at 6:55 am
Database backups do not truncate the trasnaction log. They back up enough of the log to ensure that the backup is consistent when restored.
Only a transaction log backup truncated the...
May 8, 2008 at 6:41 am
Since you're using SQL 2005, you cna query the sys.databases view to see why the log is not been reused. There's a column with the log_reuse_wait_desc (I think)
How often are...
May 8, 2008 at 4:57 am
Then SQL will take just as much memory as it needs, up to the max as defined by the max server memory.
If there was a non-zero minimum, it would...
May 7, 2008 at 11:10 pm
The object_name and object_ID functions work only in the current database.
For what you're trying to do, try joining the sys.columns and sys.tables views together.
SELECT * from OtherDB.sys.tables t inner...
May 7, 2008 at 11:06 pm
A table is defined as an unordered set. While the physical implementation of the table does give the data an order stored on disk, there is no guarantee that the...
May 7, 2008 at 11:04 pm
Which performance counter?
What's the problem? That you believe it should be using 14 GB?
Is the /pae switch in the boot.ini file?
Is AWE enabled in SQL?
May 7, 2008 at 3:48 pm
Hmmm...
Statistics are up to date.
Proc has been dropped and recreated (which will remove plans from the cache)
Very strange...
Any blocking/waiting visible when the proc runs?
Indexes fragmented?
May 7, 2008 at 3:30 pm
It's not that hard, just requires a different mind set.
The problem I've seen is that developers (C#/Java/PHP) say that SQL's very easy to write and hence they don't need to...
May 7, 2008 at 3:22 pm
Also, what edition of SQL are you running (standard, enterprise, ...), 32 bit or 64 bit? What service pack?
What memory switches are present in boot.ini
What's you min memory setting? What's...
May 7, 2008 at 3:18 pm
There's no such thing as 'natural order'. If an order by is not specified, the order that the rows return in is not defined and may change.
How do the execution...
May 7, 2008 at 3:14 pm
Are the statistics accurate? You can check when they were last updated with the STATS_DATE function.
Has the base table changed much recently?
May 7, 2008 at 3:11 pm
Viewing 15 posts - 46,666 through 46,680 (of 49,571 total)