Re: [Maria-developers] comments on parallel applying

2014-07-04 Thread Robert Hodges
Hi Jonas and Kristian, The idea of a hybrid approach seems very good. My experience implementing parallel apply on Tungsten leads me to believe that masters can supply useful metadata for replication but cannot supply a definitive plan. There are a number of reasons for this. 1. Slaves do not al

Re: [Maria-developers] comments on parallel applying

2014-07-04 Thread Kristian Nielsen
Jonas Oreland writes: > or perhaps a hybrid approach. > master does "interesting" annotations > slave takes decision based on annotations *and* own analysis Agree. There should be interesting possibilities to investigate. One conplication for slave's own analysis is that for large transactions

Re: [Maria-developers] comments on parallel applying

2014-07-04 Thread Jonas Oreland
On Fri, Jul 4, 2014 at 10:26 AM, Kristian Nielsen wrote: > Jonas Oreland writes: > > > > > for row-based replication this seems quite "easy". > > > > for statement-based replication i image that you would have to add hooks > > into the "real" code > > after parsing has been performed, but befor

Re: [Maria-developers] comments on parallel applying

2014-07-04 Thread Kristian Nielsen
Jonas Oreland writes: > > for row-based replication this seems quite "easy". > > for statement-based replication i image that you would have to add hooks > into the "real" code > after parsing has been performed, but before the actual execution is > started (and yes, i know that there is sometim