Re: AS OF queries

Поиск
Список
Период
Сортировка
От legrand legrand
Тема Re: AS OF queries
Дата
Msg-id 1515589341141-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: AS OF queries  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Ответы Re: AS OF queries
Список pgsql-hackers
> But performing this query on each access to the table seems to be bad
> idea: in case of nested loop join it can cause significant degrade of
> performance.

this could be a pre-plan / pre-exec check, no more.

> But I am not sure that this check is actually needed.
> If table is changed in some incompatible way, then we will get error in
> any case.

It seems that with path v3, a query with asof_timestamp 
set before a truncate or alter table doesn't throw any error, 
just gives an empty result (even if there was data).

> If table change is not critical for this query (for example some column
> was added or removed which is not used in this query),
> then should we really throw error in this case? 

no error is needed if result is correct.

Regards
PAscal



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pgsql: Improve scripting language in pgbench
Следующее
От: Ildar Musin
Дата:
Сообщение: Re: General purpose hashing func in pgbench