Re: view query is slow

2012-08-23 Thread James W. McNeely
n non autorisée ou la copie >> de ceci est interdite. Ce message sert à l'information seulement et n'aura >> pas n'importe quel effet légalement obligatoire. Étant donné que les email >> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter &

Re: view query is slow

2012-08-23 Thread James W. McNeely
t; est interdite. Ce message sert à l'information seulement et n'aura pas > n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. &g

Re: view query is slow

2012-08-23 Thread James W. McNeely
Thanks for the responses to everyone! Here is the result for the explains. view query= explain select * from admin_exam_view where dateexam = '2012-08-13'; ++-+---+--+-++-+++

Re: view query is slow

2012-08-23 Thread Sergei Petrunia
On Thu, Aug 23, 2012 at 11:30:17AM -0700, James W. McNeely wrote: > I am working on a view based on this query: > > === > SELECT > -- Patient Info > p.IdPatient, > p.IdLastword MRN, > p.NameLast, > p.NameFirst, > p.Addr1, > p.Addr2, > p.AddrCity, > p.AddrS

RE: view query is slow

2012-08-23 Thread Rick James
nd without VIEW) We might have more comments/suggestions. > -Original Message- > From: James W. McNeely [mailto:j...@newcenturydata.com] > Sent: Thursday, August 23, 2012 11:30 AM > To: mysql@lists.mysql.com > Subject: view query is slow > > I am workin

Re: view query is slow

2012-08-23 Thread Shawn Green
On 8/23/2012 2:30 PM, James W. McNeely wrote: I am working on a view based on this query: === SELECT -- Patient Info p.IdPatient, p.IdLastword MRN, p.NameLast, p.NameFirst, p.Addr1, p.Addr2, p.AddrCity, p.AddrState, p.AddrZip, p.Gender, p.DateOfBirth, -- Provi

RE: view query is slow

2012-08-23 Thread Martin Gainty
à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: j...@newcenturydata.com > Subject: view query is slow > Date: Thu, 23 Aug 2012 11:30:17 -0700 > To: mysql@lists.mysql.com > > I am working on a view based on this query: > > ==

view query is slow

2012-08-23 Thread James W. McNeely
I am working on a view based on this query: === SELECT -- Patient Info p.IdPatient, p.IdLastword MRN, p.NameLast, p.NameFirst, p.Addr1, p.Addr2, p.AddrCity, p.AddrState, p.AddrZip, p.Gender, p.DateOfBirth, -- Provider Info af.IdAffil, af.PractName, af.O