Re: [Solved] SQL Server to PostgreSQL

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [Solved] SQL Server to PostgreSQL
Дата
Msg-id 200010150333.XAA22596@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [Solved] SQL Server to PostgreSQL  (Jan Wieck <janwieck@Yahoo.com>)
Список pgsql-general
> Tom Lane wrote:
> > Now that you mention it, though, doesn't TOAST break heapam's assumption
> > that char(n) is fixed length?  Seems like we'd better either remove that
> > assumption or mark char(n) nontoastable.  Any opinions which is better?
>
>     Is  the  saved overhead from assuming char(n) is fixed really
>     that big that it's worth NOT to gain  the  TOAST  advantages?
>     After  the  GB  benchmarks  we  know  that we have some spare
>     performance to waste for such things :-)

Oh, now I get it.  Some TOAST values may be out-of line.  Can we really
throw char() into TOAST?  I guess we can.  We have to record somewhere
that we have toasted that tuple and disable the offset cache for it.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [Solved] SQL Server to PostgreSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [Solved] SQL Server to PostgreSQL