| От | Richard Huxton |
|---|---|
| Тема | Re: Storing files in postgres db |
| Дата | |
| Msg-id | 4573FB9C.30204@archonet.com обсуждение исходный текст |
| Ответ на | Storing files in postgres db ("tam wei" <twxtam@gmail.com>) |
| Список | pgsql-general |
tam wei wrote: > Dear all, > > I am intending to store the files inside the postgres DB using the > type text (all the files will be pre-encode into base64. The reason > for not using the type bytea as I encountered some undesired > format(the original file alignment can't be preserved) while > extracting the content and display iit using php). Hmm - not sure what you mean here. You should just get back whatever you store. > Will it be a bad idea for storing the files in DB? the file size is > about 20 ~ 40 KB. 3K files need to be stored per day. Is there any > impact on the DB performance? This shouldn't be any different from storing a similar number of text records. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера