Viewing 15 posts - 121 through 135 (of 231 total)
I tried adding the index on Entry_Sequence on the Patient_Info_Fields table but it didn't use it.
May 10, 2010 at 8:33 am
Sorry, that's the wrong view definition. That's one I was playing with that didn't work. Here's the live version.
May 10, 2010 at 8:32 am
Dave Ballantyne (5/10/2010)
Whats the Patient_info_field table ? Its table scanning , is there no indexes on that ?Can you post the view definition to ?
That's the table referenced in the...
May 10, 2010 at 8:20 am
Grant Fritchey (5/10/2010)
Robert Frasca (5/10/2010)
Grant Fritchey (5/10/2010)
GilaMonster (5/10/2010)
May 10, 2010 at 8:11 am
Grant Fritchey (5/10/2010)
GilaMonster (5/10/2010)
I'm probably not going to get a chance to look at this, got a lot of work this week. Maybe Grant feels like a challenge.
I don't have...
May 10, 2010 at 8:06 am
Sorry. No coffee yet.
This is one you looked at Friday. I've added the "good" query plan as well.
May 10, 2010 at 7:29 am
GilaMonster (5/7/2010)
Have you tried the divide and conquer? Insert...
May 7, 2010 at 2:34 pm
Thanks for the suggestion. That is the table with 23 rows in it and I tried re-working the view (to reference the primary key) that is doing the recursive...
May 7, 2010 at 2:02 pm
Okay, this problem has taken on a new dimension. Even when I rebuild the statistics the query still performs poorly on one database but works fine on the seven...
May 7, 2010 at 12:45 pm
Grant Fritchey (5/6/2010)
Robert Frasca (5/6/2010)
Grant Fritchey (5/5/2010)
Robert Frasca (5/5/2010)
May 6, 2010 at 8:00 am
Grant Fritchey (5/5/2010)
Robert Frasca (5/5/2010)
May 6, 2010 at 7:20 am
Thanks for the reply. I tried the recompile thing without luck. Even though we rebuild the indexes every night, the only thing that makes the problem go away...
May 5, 2010 at 8:59 am
Thanks for the tip, I will. I have the magazine but hadn't had a chance to look at it or the e-version yet.
May 5, 2010 at 8:45 am
My experience is that function references in the FROM clause, i.e. inner joins, usually dramatically outperform function references in the WHERE clause because the WHERE clause must execute the function...
May 5, 2010 at 8:15 am
Well, I just learned that it apparently WAS a statistics issue. The local dba ran an UPDATE STATISTICS TableA WITH FULLSCAN and the problem went away. He specifically...
April 13, 2010 at 12:37 pm
Viewing 15 posts - 121 through 135 (of 231 total)