Viewing 15 posts - 31 through 45 (of 220 total)
It just run fine on my machione I have 2008R2 as well.
Try to search all the '.' and check if there is any issue specially while copying and pasting.It is...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 6, 2012 at 10:43 am
do not use sp_ as prefix for your procedures. SQL server considers these as special procedures
and search for these in all databases and then executes it.That is why it is...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 6, 2012 at 5:19 am
Did you use the set options properly while creating the table,as well as indexed view and whiel querying the data?
Read in the end of the below whitepaper.
http://msdn.microsoft.com/en-us/library/cc917715.aspx
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 6, 2012 at 4:51 am
May be the login default database is the same in which the proc is defined.
Is the name start with sp_ something like ssytem procs?
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 6, 2012 at 4:03 am
Just awesome.. The cost of the query is 1.8 billion and the estimated rows at one point are 417 trillion.
How do you expect this query to run fast?
You...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 10:08 pm
I copied the script and paste in my ssms and it worked fine. I am putting it back here..It should not cause any issues. I took out the comments and...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 9:37 pm
drop table tbl_intrate
go
create table tbl_intrate(schm_id int,instno int,roi float)
go
insert into tbl_intrate
values
(1, 1, 20),
(1, 4, 22),
(1, 8, 25),
(1, 10, 26),
(1, 12, 28 )
go
select * from tbl_intrate
go
drop proc myproc
go
create proc myproc
(
@instno...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 12:01 pm
Please post the ddl, and the data insertion script.
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 11:48 am
I think before dropping the indexes it is better to diable index first. It is equivalent to drop index in the terms that index is not maintained ,it is not...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 10:58 am
As you mentioned already distinct will sort your output(in case it doesnt use the hash distinct) and then will remove duplicates.To sort the data you need memory and how costly...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 7:34 am
--Try something like this.
declare @dt datetime
set @dt = '20120705'
declare @dt datetime
set @dt = '20120705'
select dateadd(wk,-52,case when @@datefirst = 7 then
...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 5:19 am
Gullimeel (7/5/2012)
--------------------------------------------------------------------------------
-- ntext does not support CHARINDEX
But it could very well use the patindex
The third parameter of CHARINDEX makes it very useful for trivial string splitting. How would you...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 3:38 am
-- ntext does not support CHARINDEX
But it could very well use the patindex 🙂
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 3:21 am
There is no hard and fast rule of 30% cost of the sort. It can be anything. It is relative to the overall batch and thus doesnt signify anything apart...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 3:14 am
It is a kind of bug as reported here. Even if you have created the index and index is not selected then it will show missing index stats.
Now the issue...
GulliMeel
Finding top n Worst Performing queries[/url]
Improve the performance of Merge Join(special case)
How to Post Performance Problem -Gail Shaw[/url]
July 5, 2012 at 3:03 am
Viewing 15 posts - 31 through 45 (of 220 total)