Re: standard interfaces for replication providers
От | alfranio correia junior |
---|---|
Тема | Re: standard interfaces for replication providers |
Дата | |
Msg-id | 44D8D9DE.50000@lsd.di.uminho.pt обсуждение исходный текст |
Ответ на | Re: standard interfaces for replication providers (Markus Schiltknecht <markus@bluegap.ch>) |
Ответы |
Re: standard interfaces for replication providers
|
Список | pgsql-hackers |
Markus Schiltknecht wrote: > > I'm questioning if a replication system can be written by only using > triggers as hooks. AFAIK Slony-I uses triggers, so you can probably > better comment on problems or limitations using triggers. For me a > shared library with some hooks as C function calls seems a more > plausible approach. Of course not... It is impossible to build a replication system entirely by only using triggers... But definitely, there is a set of common requirements among a variety of replication systems. Moreover, such requirements are also useful to other systems as well. Roughly, the GAPI reflects any event inside a database system and allows any application to intercept and modify them. For instance, an event might be: 1 - database shutdown, startup 2 - connection shutdown, startup 3 - statement reception 4 - parsing 5 - execution plan generation 6 - tuples written Our current prototype covers some of them and some of them partially (2,6). Besides, we also need the priority mechanism. Best regards, Alfranio Junior.
В списке pgsql-hackers по дате отправления: