[syslog-ng] abandon libdbi and write a new sql driver?

Balazs Scheidler bazsi at balabit.hu
Sat Feb 5 14:30:02 CET 2011


On Mon, 2011-01-24 at 09:10 -0800, Matthew Hall wrote:
> On Mon, Jan 24, 2011 at 12:12:37PM +0100, Balazs Scheidler wrote:
> > But I don't see anything against libdbi per-se, within syslog-ng a
> > similar API would be needed to cover all database APIs, so why reinvent
> > the wheel?
> 
> Not having prepared statements means every insert requires a parse.
> 
> That cuts the performance of transactional DBs a lot.
> 
> Particularly Oracle suffers from this because generating too many statements overflows its memory pools.

I see, good to know. Thanks for the information.

-- 
Bazsi




More information about the syslog-ng mailing list