Viewing 15 posts - 16 through 30 (of 390 total)
I have done some digging around on the forums but can't find an example that would work.
Could you give me an idea on how to do this?
Thanks
May 13, 2014 at 1:23 pm
Apologies, my mistake on the SSIS part.
Data is loaded via a SQL Import wizard each day, but will ultimately be done via multiple daily XML imports.
The count data will only...
May 12, 2014 at 11:57 am
http://www.sqlservercentral.com/Forums/Topic1568938-3412-1.aspx
This above thread explains why i am going down the trigger route.
"I had a same problem as you and I solved the problem in SSIS using 'Data access...
May 12, 2014 at 10:27 am
Jeff,
Many thanks for your time, i really appreciate your knowledgeable advice!
Ian
May 12, 2014 at 4:49 am
Jeff Moden (5/10/2014)
May 11, 2014 at 1:08 pm
It seems the jury is still out on the best way to do this.
http://stackoverflow.com/questions/3498646/select-count-vs-keep-a-counter
May 11, 2014 at 12:19 pm
Thanks Jeff.
Regarding the Ebay or Amazon concept, they may have lots or servers but don't have a one to one relationship between server and user.
At the moment i do, and...
May 11, 2014 at 11:35 am
Thanks again Eirikur!
I think i found part of my problem.
"On average, this query takes 600.4 milliseconds on my system. We can speed it up using a nonclustered index:
CREATE NONCLUSTERED...
May 10, 2014 at 1:13 pm
Eirikur,
I ran your sample query on my data and it took 284 ms vs my 0 ms using a SQL Indexed View.
I will research the book for some windowing function...
May 10, 2014 at 12:02 pm
I have attached the plan, it seems like the clustered indexes would be faster if they were sql indexed views ?
May 10, 2014 at 11:05 am
My bad, the total count is 600k, records returned is only 10.
May 10, 2014 at 10:50 am
Eirikur,
Thanks for your suggestion and code sample.
Heavy duty stuff, my brain hurts just looking at it 🙂
Is that the same method used by Ebay and Amazon?
BTW I did...
May 10, 2014 at 8:49 am
Thanks for the code sample.
I will try to get some data, and table samples tomorrow.
May 8, 2014 at 3:50 pm
Sadly it takes 'CPU time = 811 ms, elapsed time = 817 ms' for ONE query with nine items.
It is also a pain to type in the items names...
May 8, 2014 at 10:46 am
Thanks
May 8, 2014 at 10:24 am
Viewing 15 posts - 16 through 30 (of 390 total)