RE: Re: Query never returns ...
От | Mayers, Philip J |
---|---|
Тема | RE: Re: Query never returns ... |
Дата | |
Msg-id | A0F836836670D41183A800508BAF190B35E334@icex1.cc.ic.ac.uk обсуждение исходный текст |
Ответ на | Query never returns ... (Brice Ruth <brice@webprojkt.com>) |
Список | pgsql-general |
What does: EXPLAIN SELECT tblSIDEDrugLink.DrugID, tblSIDEDrugLink.MedCondID, tblMedCond.PatientName AS MedCondPatientName, tblMedCond.ProfessionalName AS MedCondProfessionalName, tblSIDEDrugLink.Frequency, tblSIDEDrugLink.SeverityLevel FROM tblSIDEDrugLink, tblMedCond WHERE (tblSIDEDrugLink.DrugID IN ('DG-18698')) AND (tblSIDEDrugLink.MedCondID = tblMedCond.MedCondID) ORDER BY tblSIDEDrugLink.DrugID, tblSIDEDrugLink.Frequency, tblSIDEDrugLink.SeverityLevel, tblSIDEDrugLink.MedCondID; Give out? (From the command line psql tool.) Regards, Phil +----------------------------------+ | Phil Mayers, Network Support | | Centre for Computing Services | | Imperial College | +----------------------------------+ -----Original Message----- From: Brice Ruth [mailto:brice@webprojkt.com] Sent: 08 February 2001 16:20 To: pgsql-general@postgresql.org.pgsql-sql@postgresql.org Subject: [GENERAL] Re: Query never returns ... FYI - I let the query run for 11.5 minutes before killing it off. It had consumed 11 minutes, 18 seconds of CPU time (reported by ps). The following messages are from the server log, I'm pasting in all messages directly following the query: 010208.10:04:29.473 [24041] ProcessQuery 010208.10:15:59.212 [24041] FATAL 1: The system is shutting down 010208.10:15:59.213 [24041] AbortCurrentTransaction FATAL: s_lock(4001600c) at spin.c:111, stuck spinlock. Aborting. FATAL: s_lock(4001600c) at spin.c:111, stuck spinlock. Aborting. Server process (pid 24041) exited with status 134 at Thu Feb 8 10:17:09 2001 Terminating any active server processes... Server processes were terminated at Thu Feb 8 10:17:09 2001
В списке pgsql-general по дате отправления: