<div dir="ltr"><div>You have to offload old historical data out of your DB, for sure.</div><div>Of particular importance is using innodb_file_per_table=1. If you arent using that, better configure it, and do a dump and restore of your DB. Alternatives for offloading in MySQL are SHARDING and PARTITIONING.</div>
<div><br></div><div>In the meantime, you can add the DELAYED keyword in INSERT queries. There is no point in waiting for INSERT queries and delaying the authentication.</div><div><br></div><div>Regards</div><div>--</div><div>
Rui Fernando Ferreira Ribeiro</div><div>senior sysadmin ISCTE-IUL</div><div><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Message: 5<br>
Date: Fri, 17 Jan 2014 09:18:47 +0100<br>
From: Antonio Fern?ndez P?rez <<a href="mailto:antoniofernandez@fabergames.com">antoniofernandez@fabergames.com</a>><br>
To: freeradius-users <<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br>
Subject: Radacct table is growing and growing<br>
Message-ID:<br>
<CANz54joeyD8rXnDwEgUY7+k-wLmN820tz=<a href="mailto:6F%2Bwx9wi1BS8-sxA@mail.gmail.com">6F+wx9wi1BS8-sxA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi everybody,<br>
<br>
I have a radacct table with more than 12300000 rows. I have increased RAM<br>
memory recently because the data base is working with InnoDB engine and was<br>
necessary to load data into the buffer. But, anybody knows some technique<br>
that allows freeradius makes authentications with radacct historical tables?<br>
<br>
I have thought in grouping rows using the UserName, keeping only one row<br>
for each user. Also I thought in make quarterly tables but this is a proble<br>
to authenticate users.<br>
<br>
Any ideas?<br>
<br>
Thanks in advance.<br>
<br>
Regards,<br>
<br>
Antonio.<br></blockquote></div></div></div>