SQL usage ideas

tnt at kalik.co.yu tnt at kalik.co.yu
Mon Jul 30 13:50:24 CEST 2007


No. Fastusers uses flat (users type) file. There is no "fastsql" module.

Again, if you think that database stored on disk is too slow for you feel
free to use heap (memory) tables.

Ivan Kalik
Kalik Informatika ISP


Dana 30/7/2007, "Roy Walker" <rwalker at sensorlogic.com> piše:

>Maybe I am misunderstanding you, but are you saying there is already a method to pull the data from the database and cache it using 'fastusers'?  I do not see anyway to do that...
> 
>There are a lot reasons to keep the data in a database, look at the NAS table (I realize it is read-on-start for DOS reasons) but someone must be of the same mind set as me or there would be no client support in the SQL module.
> 
>Roy
>
>________________________________
>
>From: freeradius-users-bounces+rwalker=sensorlogic.com at lists.freeradius.org on behalf of A.L.M.Buxey at lboro.ac.uk
>Sent: Sun 7/29/2007 3:42 PM
>To: FreeRadius users mailing list
>Subject: Re: SQL usage ideas
>
>
>
>Hi,
>> Well if you understand server/client systems, no client request is INIFINATELY faster than a server cached request.  So when you get to the point where you need to handle several hundred requests a second, you do the math.
>
>depends on how the SQL tables are indexed, how the server is configured
>etc etc - certainly I've got some very complex queries that upon benchmarking
>against a million entries can run in less than 0.00 (ie MySQL basic
>counter in seconds isnt good enough to measure ;-) )
>
>but if you want to take your data, then cache it in memory rather than
>query it.....well, that sounds much like having it in memory and not
>in a database at all - ie 'fastusers' and the such...rather than a
>database as we know it.
>
>alan
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>
>




More information about the Freeradius-Users mailing list