<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Thu, 27 Sep 2012 10:23:35 +0200<br>From: lenz.loway@gmail.com<br>To: asterisk-users@lists.digium.com<br>Subject: Re: [asterisk-users] MySQL InnoDB or MyISAM for CDR<br><br><div>I'd go for MyISAM and would set up a remote replica if data integrity is important.<br></div><div><br></div><div>If you have like 1000 calls of (say) 30 seconds avg length, and you create 10 events per call, you would expect an event every three seconds. This is about 300 inserts per second. Say 600 at peaks. This should be feasible with server-grade hardware without much difficulty. Also as you always INSERT it behaves as a log file (no seeking, no locking) if the table is optimized.</div>
<div>l.</div><div><br></div><br><br>We decided to go with MyISAM since it supports concurrent
        inserts (as you suggested). Data integrity (a slight loss of call records) is something we can live by. Right now we use DRBD for replication, but I guess with MyISAM it doesn't make much sense if the db crashes. We are looking into other options as well.<br><br>Thanks.<br></div>                                               </div></body>
</html>