| От | Raymond O'Donnell |
|---|---|
| Тема | Re: DDL question |
| Дата | |
| Msg-id | 4B59C658.4090708@iol.ie обсуждение исходный текст |
| Ответ на | DDL question (Volkan Varol <volkan.varol@gmail.com>) |
| Список | pgsql-general |
On 22/01/2010 15:31, Volkan Varol wrote: [snip] > my scenario this is unavoidable since I require it, but there may be a > trick to reduce its overall cost. > > The only alternative solution I've come up with so far is to save row > counts into the table itself using triggers. Is this reasonable or not? That approach has been suggested in the past, and seems a viable one. > I'm in search for a new method / syntax to combine these two queries and > I welcome your suggestions. Would common table expressions be any use to you? - http://www.postgresql.org/docs/8.4/static/queries-with.html Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера