[syslog-ng] abandon libdbi and write a new sql driver?
Matthew Hall
mhall at mhcomputing.net
Mon Jan 24 18:10:51 CET 2011
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.
> --
> Bazsi
Matthew.
More information about the syslog-ng
mailing list