Re: Postgresql-fdw

Поиск
Список
Период
Сортировка
От Rader, David
Тема Re: Postgresql-fdw
Дата
Msg-id CAABt7R7K-EAzZVzT5rQM0n0ajWXRBxPFqZiSxcfotcd1CKByDA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgresql-fdw  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
On Mon, May 23, 2016 at 1:52 AM, aluka raju <alukaraju2894@gmail.com> wrote:
I have data storage in flat files (structured and unstructured) . I want to run sql queries on that , so i am looking in to postgresql how to use fdw on the data that i have. 


You could use the file_fdw to "attach" the files as foreign tables. At least for the structured ones (CSV, delimited). As noted by other replies, this won't be efficient, but if you are doing analytics against all the data in the file or just scanning the data 1 time this works well:

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

Предыдущее
От: Guyren Howe
Дата:
Сообщение: FIRST_VALUE: need to group by argument?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: FIRST_VALUE: need to group by argument?