| От | John R Pierce |
|---|---|
| Тема | Re: large string storage in Postgresql |
| Дата | |
| Msg-id | 4B52AF6A.4020905@hogranch.com обсуждение исходный текст |
| Ответ на | Re: large string storage in Postgresql (AI Rumman <rummandba@gmail.com>) |
| Список | pgsql-general |
AI Rumman wrote: > I have an individual text string of 2 GB. > I may use Postgresql 8.4 also. But what data type should I use to > store this column value of 2GB? GB data objects ni a database is going to make backups, maintenance, etc a real pain normal data in postgres can not be over 1GB, so you will need to use the Larg OBJect facility, where you store an object ID in your actual table, then store the data via a special Large Object api, http://www.postgresql.org/docs/current/static/lo-interfaces.html which can handle up to 2GB max. quite frankly, i'd as soon store stuff that large as files and and store their path in the database.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера