Viewing 15 posts - 166 through 180 (of 245 total)
Can somebody explain me one more thing?
I have again problem, but on another query, after using this hint I got good results,, without it same like without optimize..
Without hint Ex.plan...
March 13, 2014 at 10:36 pm
MyDoggieJessie (3/13/2014)
Glad you got it figured out without resorting to using the hints 😉
Thank you, I am glad also 🙂
March 13, 2014 at 7:52 pm
here is my optimizing progress ,,original procedure it was very slow, I dont understand how the programmer can be satisfied with this..
BEFORE
With Parallelism
Table 'TB_RCV_ALCDATA'. Scan count 9, logical reads...
March 13, 2014 at 5:40 pm
OK I fixed so for declare @TEMP_ORDER_DATE use this
DECLARE @TEMP_ORDER_DATE char(8)=(
SELECT TOP 1 PROD_DATE FROM
(
SELECT PROD_DATE,
ROW_NUMBER() OVER (ORDER BY PROD_DATE asc ) AS Row1
FROM( SELECT distinct top 4...
March 13, 2014 at 5:24 pm
And now I found one thing, if it will be data like I sent, only from one day with one PROD_DATE, the query above for @TEMP_ORDER_DATE will be null or...
March 13, 2014 at 5:05 pm
I forgot script for tables and data, in attachment you can see. I hope that is it in right format, I didnt do long time .. but in our tables...
March 13, 2014 at 5:02 pm
this is query - I have procedure for this, problem is that TB_RCV_ALCDATA table is very sensitive, there is lot of data and this table use lot of programs and...
March 13, 2014 at 4:58 pm
thanks for answer
I have to remember index and statistics, I forgot for this almost every time during investigation ...
Maintenance plan is at saturday, so I rebuild all indexes and...
March 13, 2014 at 4:38 pm
John Mitchell-245523 (11/19/2013)
November 20, 2013 at 12:30 am
I wanted to delete before, but i dont know where and how.. sorrz for spam
November 14, 2013 at 5:19 am
Hello, I think that this one is better, I will see, but I tested on test server and it looks good -- sqlplan in attachment
What do you think about it...
November 1, 2013 at 12:19 am
GilaMonster (10/31/2013)
The logical reads you posted in the OP look quite low.What about this query made you look at it?
This procedure is in timer 1second and on 3positions, and...
October 31, 2013 at 12:09 pm
GilaMonster (10/31/2013)
tony28 (10/31/2013)
or do you think that is it problem...
October 31, 2013 at 10:28 am
GilaMonster (10/31/2013)
Logical reads are reads done from memory. Not necessarily scans.Slower queries isn't important to you? Really?
yes thx ,,..
slower queries are important but i think the CPU time =...
October 31, 2013 at 6:14 am
GilaMonster (10/31/2013)
tony28 (10/30/2013)
GilaMonster (10/30/2013)
October 31, 2013 at 4:08 am
Viewing 15 posts - 166 through 180 (of 245 total)