[asterisk-dev] cdr_mysql - do we really need "DESC cdr" every time?

Chris Maciejewski chris at wima.co.uk
Tue Aug 26 14:28:40 CDT 2008


Hello,

I have just noticed cdr_mysql (addons 1.6) before inserting a CDR
record into MySQL table, runs "DECS(ribe) cdr" _EVERY_ time.

Would it not be better to load table structure (fields mappings) from
cdr_mysql.conf and run ONLY "INSERT ...." statement?

It seems to me we are causing unnecessary load on MySQL server and
slowing things down.

Regards,
Chris



More information about the asterisk-dev mailing list