Viewing 15 posts - 5,911 through 5,925 (of 7,608 total)
mallikachowdhary 98955 (7/24/2014)
I have a issue regarding a query showing very late response on one server while it works perfectly on another.
I have a job defined in SQL server...
July 24, 2014 at 2:40 pm
>> and restricted the log size to 30mb <<
That seems a little low, given that you might have a situation where one transaction takes a while to complete. Would...
July 24, 2014 at 9:07 am
You simply must get some answers to accurately resolve this:
1) What is the recovery model for your database? Bulk-logged, Full or Simple?
2) If not simple, at what time(s) during...
July 23, 2014 at 2:27 pm
Igor Micev (7/23/2014)
ScottPletcher (7/23/2014)
July 23, 2014 at 1:16 pm
pdanes (7/23/2014)And to think, if I had answered that matchbook ad, I could be driving a truck for big wages...
And wishing you'd answered that matchbook ad for a technical school...
July 23, 2014 at 1:14 pm
N_Muller (7/23/2014)
July 23, 2014 at 12:37 pm
N_Muller (7/23/2014)
July 23, 2014 at 12:18 pm
If you're willing to push back against the myth that identity should be default clustering key, and base the clustering key(s) choice on data instead, you can change the bolded...
July 23, 2014 at 11:51 am
I suspect there's a better clustering key, rather than the "default" identity, that might clear up a lot of your performance issues. Getting the best clustering key(s) is the...
July 23, 2014 at 10:52 am
I'd definitely restore and use the backup before I deleted the original files.
But rather than detach and delete the files yourself, just do a DROP DATABASE, which would be a...
July 23, 2014 at 10:42 am
It seems you do indeed have the proper clustering key.
Next I'd look at the missing index stats from SQL. You may be able to cover a large % of...
July 23, 2014 at 10:37 am
Admingod (7/22/2014)
That means we are just altering the file size with following command.
ALTER DATABASE tempdb MODIFY...
July 23, 2014 at 8:23 am
You can adjust the tempdb file(s) size using the following commands. The changes will be in effect the next time SQL Server starts.
--EXEC tempdb.sys.sp_helpfile --to list the logical file...
July 22, 2014 at 2:07 pm
Btw, for date/datetime, don't use "<=" on the end date, use "<".
In this case, instead of:
[DATE] <= (DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,GETDATE()),0)))
do this:
[DATE] < (DATEADD(mm, DATEDIFF(m,0,GETDATE()),0))
July 22, 2014 at 11:08 am
I have also done some stuff to improve performance by creating appropriate indexes and by changing the way queries are written.
I think that's one of the most value-added and differentiated...
July 22, 2014 at 10:34 am
Viewing 15 posts - 5,911 through 5,925 (of 7,608 total)