| От | Chris |
|---|---|
| Тема | Re: postgresql vs mysql |
| Дата | |
| Msg-id | 45DCEE56.5000403@gmail.com обсуждение исходный текст |
| Ответ на | Re: postgresql vs mysql ("Adam Rich" <adam.r@sbcglobal.net>) |
| Список | pgsql-general |
Adam Rich wrote: >> It's got a query parser that's dumb as a brick. > > While we're on this topic... I have a question on these series > of queries: > > -- Query A > select count(*) from customers c > where not exists ( select 1 from orders o > where o.customer_id = c.customer_id ) > > -- Query B > select count(*) from customers c > where customer_id not in ( select customer_id from orders) I had a similar sort of query and got told that work_mem is the most important thing here. See http://archives.postgresql.org/pgsql-general/2007-02/msg00986.php -- Postgresql & php tutorials http://www.designmagick.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера