Re: 500KB PDF files for postgresql8.3, which is the most efficient way?

Поиск
Список
Период
Сортировка
От Emi Lu
Тема Re: 500KB PDF files for postgresql8.3, which is the most efficient way?
Дата
Msg-id 4DDFCE04.2050402@encs.concordia.ca
обсуждение исходный текст
Ответ на copy record?  ("Gauthier, Dave" <dave.gauthier@intel.com>)
Ответы Re: [SQL] Re: 500KB PDF files for postgresql8.3, which is the most efficient way?
Список pgsql-general
Hello,

I'd like to have more comments about the following case:

> . 500KB per PDF file; 30 files per year
> . PSQL8.3
   . struts2.2.3 + mybatis for sql operation
   . tomcat6

Added more info

  Solution:
  ====================
  (1) Save pdfs to file system, only point file name in psql8.3

  (2) Save oids of pdfs into table

  (3) Save pdf files as bytea column in psql8.3


Pros and cons for (1), (2), (3), which is the most efficient way?

Thanks a lot!
Emi


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

Предыдущее
От: "Carlos Sotto Maior \(SIM\)"
Дата:
Сообщение: SELECT COUNT(*) execution time on large tables (v9.0.4-1)
Следующее
От: Emi Lu
Дата:
Сообщение: 500KB PDF files for postgresql8.3, which is the most efficient way?