My query is SIMPLE SELECT: select 1 from people_consent LIMIT 1;
VIEWS:
CREATE OR REPLACE VIEW temp_consent AS
SELECT p.id, max(en.enrolled_at) AS daterecorded, a.answer
FROM people p, enrollments en, encounters ec, encounters_questions_answers eqa, questions_answers qa, answers a...
Hello all,
I am NEW to Postgresql and I have a VIEW that is performing HORRIBLY...I have vacuumed the database and rebuild indexes...when I try to run EXPLAIN ANALYZE the results never come back...I did run an EXPLAIN and received results...this view I am told use to take 1 minute now it's...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.