Viewing 15 posts - 1 through 15 (of 78 total)
We had to restart the SQL service.
December 27, 2017 at 5:17 am
Thanks Sue.
That link lead me to more troubleshooting tips.
Unfortunately, we still haven't found the culprit(s).
Here are some of the links we have come across.
December 14, 2017 at 5:33 am
Memory for thread stacks, memory heaps, non-SQL Server linked server providers and other non-SQL Server dlls are not part of the max server...
December 11, 2017 at 12:23 am
Leave enough memory over for OS and applications.
Configure "min server memory (MB)" & "max server memory (MB)". Min server memory (MB) should be around 1/3 Max server memory (MB)
EXEC...
December 8, 2017 at 6:06 am
Joie Andrew (6/29/2016)
June 30, 2016 at 12:16 am
We haven't had any performance problems for a while now, though we still use the UDFs.
Some of the UDFs were rewritten and perform much better than their previous versions.
Following up...
June 29, 2016 at 9:13 am
You could create a SQL account, give it the necessary permissions and use it in your connectionstring.
Alternatively, create a stored procedure with EXECUTE AS. Give execute permissions on the SP.
June 29, 2016 at 8:00 am
Create a point with your latitude and longitude, use STBuffer with the radius value.
June 29, 2016 at 7:33 am
What is your question exactly?
How long the query is supposed to take? It depends and I don't know 😛
June 29, 2016 at 7:28 am
Feels like homework......
IF OBJECT_ID('TempDB..#DBSizes') IS NOT NULL
DROP TABLE #DBSizes
CREATE TABLE #DBSizes
(
DBNameVarchar(128),
FileTypeVarchar(5),
CurrentSizeMBDec(9,1),
SpacedUsedMBDec(9,1),
FreeSpaceMBDec(9,1),
SpacedUsedGBDec(9,3),
FreeSpaceGBDec(9,3),
SamppleDTSmallDatetime
)
DECLARE @sqlVarchar(1000)
SET @sql = 'USE [?]
SELECTDBName= DB_NAME(),
FileType= DF.type_desc,
CurrentSizeMB= SUM(CAST(DF.size / 128.0 AS Dec(9,1))),
SpacedUsedMB= SUM(CAST(FILEPROPERTY(DF.name, ''SpaceUsed'') /...
June 29, 2016 at 7:24 am
@jacob Wilkins,
No unfortunately I don't, but in the attached plans are the same, but execution times differ greatly.
Our hardware has been checked and all is good....
June 10, 2016 at 3:40 am
Hugo Kornelis does a good write up of the overhead involved when calling an UDF and the bad decision taken by the query optimizer. A few big SQL names in...
June 9, 2016 at 9:51 am
Thanks for joining in GSquared.
The view is just one of many objects that use UDFs. You are right about static values being much better, but alas, that's not how everything...
June 9, 2016 at 9:14 am
We found more UDFs (No tables or objects involved in of them) that are also all of a sudden very slow.
I still have not found the reason why these UDFs...
June 9, 2016 at 7:51 am
Thanks for your insights guys!
I had tried OPTION (RECOMPILE) to no avail.
We removed the UDF altogether and replaced it with a simplified DATEADD. This also didn't help.
The problem with just...
June 7, 2016 at 4:57 am
Viewing 15 posts - 1 through 15 (of 78 total)