Viewing 15 posts - 6,106 through 6,120 (of 7,481 total)
IMO the problem is that your primary key is CLUSTERING !
This also has an impact to _all_ NCI !
Drop and recreate your Primary key but make it non-clustering.
Create a clustering...
September 1, 2006 at 5:33 am
DECLARE @Date_Time_Requested DATETIME
DECLARE @Count_TimeOut_Records INT
DECLARE @MailMessage VARCHAR(8000)
DECLARE @NewLine CHAR(2)
DECLARE @Oldest_Date DATETIME
DECLARE @EmailAddress VARCHAR(50)
DECLARE @MailSubject VARCHAR(150)
---Initialisation
SELECT @Oldest_Date = getdate()
SELECT @Count_TimeOut_Records = 1
Set @EmailAddress = 'yourmailaddress@yourprovider.whatever'
SELECT @NewLine = char(13) + char(10)
SELECT @MailSubject = 'TEST ! (...
September 1, 2006 at 5:21 am
@query = 'select * from AIS.dbo.vwOrdersShippedNotInvoiced'
this may "sound" redicule, but that's how it always works overhere ![]()
September 1, 2006 at 5:14 am
I suppose each node hosts 2 active instances of sqlserver.
On each node the active instanceses will compete for the ram (6Gb < 2*4Gb) and cpu (4speed cpu < 2*4slow ? ) ....
August 31, 2006 at 7:51 am
btw "...The databases migrated from four standalone servers with quad processors and 4 to 6GB of memory...."
could it be that .... 4 * 4slow + 4*(4 to...
August 31, 2006 at 7:03 am
may I add ....
DBCC dbreindex all your tables and indexed views and indexes.
dbcc updateusage(yourdb) with count_rows
sp_updatestats all your db
and SP4 has changes regarding implicit datatypeconversion ! This may have a...
August 31, 2006 at 6:56 am
http://blogs.msdn.com/lcris/archive/2005/06/10/428178.aspx
explains a bunch of it !! ![]()
August 31, 2006 at 6:48 am
select
replace( cast ( serverproperty('ProductVersion')
August 31, 2006 at 4:34 am
This kind of poor queries will have you suffer long time ![]()
here are some more solutions.
I guess the CTE is a good example,...
August 30, 2006 at 12:08 am
SQL2005 :
declare
@DefaultBackupDirectory nvarchar(512)
exec
master.dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE',...
August 29, 2006 at 8:00 am
I guess you better launch a new thread with title "linked server losing connection when domain controller bounced" ![]()
Maybe that will encourage some people...
August 29, 2006 at 7:49 am
Check the access path :
Maybe it's trying to generate the same path like the one for this query :
SELECT
TOP 50 *
August 29, 2006 at 6:33 am
you also might have been better of starting with a [rebuild of your indexes] / maintenceplan , a dbcc updateusage(0) with count_rows and a sp_updatestats !
The depricated part is the...
August 29, 2006 at 6:19 am
connection.BeginTrans() switches your connection to "implicit transactions" !!
Everything you do on that connection will automatic start a new transaction, unless there is allready one. This means you'll have...
August 25, 2006 at 5:26 am
also for readability of (outer) joins, using the JOIN-syntax delivers more clear separation of join-predicate and filter-predicate.
The optimizer mostly optimises to a fairly equal plan ![]()
August 25, 2006 at 3:23 am
Viewing 15 posts - 6,106 through 6,120 (of 7,481 total)