Just bear in mind that UUIDs may not always be 128bit.<div><br></div><div>Although frankly that&#39;s unlikely to the be case unless inbound-use-callid-as-uuid is used so if this is for your own application then that should be fine.<div>

<br></div><div>-Steve</div><div><br></div><div><br><br><div class="gmail_quote">On 17 February 2013 20:55, Cal Leeming [Simplicity Media Ltd] <span dir="ltr">&lt;<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div><div><br></div><div>Just spent a little while comparing the performance of heavy INSERT/SELECT performance against UUID fields in a MySQL database.</div>

</div><div><br></div><div>Full performance breakdown and write up can be found here;</div>
<div><a href="http://blog.simplicitymedialtd.co.uk/?p=437" target="_blank">http://blog.simplicitymedialtd.co.uk/?p=437</a></div><div><br></div><div>So far, the best option seems to be storing the UUID as a BINARY(16) - anyone have any thoughts on this?</div>


<div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div><br>Cal</div>
</font></span><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>