What are the best practice for writing Call Detail Records (CDRs) to a database?

 

We are using custom code to write CDR-like data to log files and then later loading logs into a database.  We have very low usage right now, so I suspect that we could just write directly to the database.  But as we scale, is it a better idea to not write directly to the database?

 

Note I am not sure if we need custom CDRs or if FS' CDR module might be leveraged.  I have to look into that.

 

 

Robert