[OpenSIPS-Devel] SF.net SVN: opensips:[8030] trunk

Vlad Paiu vladpaiu at opensips.org
Tue Jun 21 17:31:40 CEST 2011


Revision: 8030
          http://opensips.svn.sourceforge.net/opensips/?rev=8030&view=rev
Author:   vladut-paiu
Date:     2011-06-21 15:31:40 +0000 (Tue, 21 Jun 2011)

Log Message:
-----------
Insert buffering introduced to OpenSIPS DB core
Instead of flushing inserts row by row to DB, wait for query_buffer_size rows to pile up, and only then flush to DB
Also, a timer will run every query_flush_time seconds, ensuring that no rows will remain in memory for a long time

Integrated this feature with acc, siptrace and avpops, and also with the usrloc and dialog timer that do write-back synchronization with the DB

Modified Paths:
--------------
    trunk/cfg.lex
    trunk/cfg.y
    trunk/db/db.c
    trunk/db/db.h
    trunk/db/db_con.h
    trunk/db/db_query.c
    trunk/main.c
    trunk/modules/acc/acc.c
    trunk/modules/avpops/avpops_db.c
    trunk/modules/db_mysql/dbase.c
    trunk/modules/db_postgres/dbase.c
    trunk/modules/dialog/dlg_db_handler.c
    trunk/modules/siptrace/siptrace.c
    trunk/modules/usrloc/ucontact.c
    trunk/modules/usrloc/ucontact.h
    trunk/modules/usrloc/udomain.c
    trunk/modules/usrloc/urecord.c
    trunk/modules/usrloc/urecord.h

Added Paths:
-----------
    trunk/db/db_insertq.c
    trunk/db/db_insertq.h


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list