Re: Query

Поиск
Список
Период
Сортировка
От nagsid
Тема Re: Query
Дата
Msg-id 9954956.post@talk.nabble.com
обсуждение исходный текст
Ответ на Query  ("Shaunak Godbole" <shaunak.godbole@gmail.com>)
Список pgsql-hackers


Hi,

As a part of my university project, I am trying to modify the postgres code
to support parallel system.

As the first step I have partitioned the data on different processors. And
have kept a master node to process all the query requests. Whenever my
master node is queried I need to push my query onto the backend processors.
For this I need a way of connect to different backends via my master node's
backend.

I have tried different functions like:
do_connect
SendQuery
PQconnectdb
etc.

But all of them give the same compilation error of not being able to find
the reference to the functions. Now if I include command.o and
common.opresent in src/bin/psql, I get the error of not referencing
other functions.

I there a way of accessing other backends through the master backend.

Thanks & Regards,
Shaunak Godbole

dblink is written specially for remote database access and is efficiently
written for postgresql and is also having async query capabilities, u may
check dblink_connect, dblink_fetch, dblink_exec, dblink_send_query, etc
..... more than that it is also having replication mechanism which u can
achieve using dblink_build_sql_insert, dblink_build_sql_delete,
dblink_build_sql_update which i think would be of utmost help if there is
some replication requirement in ur parallel database system

regards
nags
IIT Bombay
-- 
View this message in context: http://www.nabble.com/Query-tf3547482.html#a9954956
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



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

Предыдущее
От: Maxime Henrion
Дата:
Сообщение: Re: Anyone interested in improving postgresql scaling?
Следующее
От: "Jacky Leng"
Дата:
Сообщение: Re: Why need XLogReadBuffer have the paramter "init"?