| От | Bill Moseley |
|---|---|
| Тема | Re: Performance issues of one vs. two split tables. |
| Дата | |
| Msg-id | 20070515052254.GA24323@hank.org обсуждение |
| Ответ на | Performance issues of one vs. two split tables. ("Dawid Kuroczko" <qnex42@gmail.com>) |
| Ответы |
Re: Performance issues of one vs. two split tables.
|
| Список | pgsql-general |
On Tue, May 15, 2007 at 06:33:26AM +0200, Dawid Kuroczko wrote:
> Well, views are not going to help with memory consumption here.
> It is the table contents that gets cached in buffer cache, not the
> views contents. So if you have a view which returns only one
> column from 15-column table, you will be caching that 15-column
> data nonetheless. View, as the name states, is converted into
> a select on a real table.
Are you saying that in Postgresql:
select first_name, last_name from user_table;
uses the same memory as this?
select first_name, last_name,
passowrd, email,
[10 other columns]
from user_table;
--
Bill Moseley
moseley@hank.org
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера