seeking advise on char vs text or varchar in search table
В списке pgsql-performance по дате отправления:
| От | chrisj |
|---|---|
| Тема | seeking advise on char vs text or varchar in search table |
| Дата | |
| Msg-id | 10103002.post@talk.nabble.com обсуждение исходный текст |
| Ответы |
Re: seeking advise on char vs text or varchar in search table
|
| Список | pgsql-performance |
I have a table that contains a column for keywords that I expect to become quite large and will be used for web searches. I will either index the column or come up with a simple hashing algorithm add the hash key to the table and index that column. I am thinking the max length in the keyword column I need to support is 30, but the average would be less than10 Any suggestions on whether to use char(30), varchar(30) or text, would be appreciated. I am looking for the best performance option, not necessarily the most economical on disk. Or any other suggestions would be greatly appreciated. -- View this message in context: http://www.nabble.com/seeking-advise-on-char-vs-text-or-varchar-in-search-table-tf3618204.html#a10103002 Sent from the PostgreSQL - performance mailing list archive at Nabble.com.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера