Unix Technical Forum

Code for PostgreSQL?

This is a discussion on Code for PostgreSQL? within the pgsql Hackers forums, part of the PostgreSQL category; --> Dear all, I completed my Computer Science MSc thesis in Athens University of Economics and Business, A.U.E.B (under the ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 05:12 AM
ntinos@aueb.gr
 
Posts: n/a
Default Code for PostgreSQL?

Dear all,

I completed my Computer Science MSc thesis in Athens University of Economics
and Business, A.U.E.B (under the supervision of Ass.Prof. V.Vassalos). Its
subject was "DAIMON: Data Integration for a Mobile Network", i.e. mobile
peers integrating data from other peers. We used PostgreSQL v7.4.2 as our
base and wrote several lines of backend code that basically do the
following:

All peers share the same schema but actually hold data for different tables
(Local As View paradigm). The code parses a submitted query (Query
structure), locates all references to remotely stored data (currently
distinct tables) and produces a Query* for each remote peer (or more to
avoid Cartesian products) which is then sent to it (in string
format,nodeToString) using an SRF and dblink. Returned tuples are stored
into local tables (later used as cache) and a residual query (created during
initial parsing) is executed on these tables.

We thought that some parts of our code may be useful for others and if so we
would like to contribute to the source code tree. More specifically we are
thinking of isolating and contributing the following pieces of code:

1) A complete SRF example. Though a lot of information is available for
this, I could not find (at the time of programming) any complete example (as
some others too, I think) and had to write my own. The code is largely based
on dblink related code.

2) The extended dblink mechanism. Our base for communicating with other
peers was dblink but we also used libevent to enforce certain policies
regarding the availability of mobile nodes. I've read the following posts on
libevent but I would like to ask anyway.

http://archives.postgresql.org/pgsql...7/msg00481.php
http://archives.postgresql.org/pgsql...3/msg00393.php

3) Any part of the above described mechanism that seems interesting to you.

We know this is an academic project and may not straightforwardly apply to
common PostgreSQL's applications but we thing you should get informed. We
would be pleased to provide any additional information.

Best regards,
Ntinos Katsaros



---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com