MYSQL Accounting Table Size?

2004-10-04 Thread cris boisvert
My Mysql database is about 50 megs right now.. because of the accounting
table.
How large  does most people let it get before rolling it?

I Guess other people will just roll it on a Time/Date basis in cron..

But what if I want to keep it for a year so I can pull stats out of it?
Can it get to a couple of gig without problems?

What is everyone else doing?



Thanx
Cris 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.768 / Virus Database: 515 - Release Date: 9/22/2004
 


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: MYSQL Accounting Table Size?

2004-10-04 Thread Keith Yoder
cris boisvert escreveu:
My Mysql database is about 50 megs right now.. because of the accounting
table.
How large  does most people let it get before rolling it?
 

My radacct table is over 500 MB / 1.3 million records right now.  For 
now I'm just letting it grow.  Make sure you have plenty of RAM though.  
If not, the database will become slow to query / insert and radius will 
stop dropping packets.

Keith Yoder
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: MYSQL Accounting Table Size?

2004-10-04 Thread cris boisvert
I got 4 gigs of ram.. I hope its enough..


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Yoder
Sent: Monday, October 04, 2004 3:52 PM
To: [EMAIL PROTECTED]
Subject: Re: MYSQL Accounting Table Size?

cris boisvert escreveu:

My Mysql database is about 50 megs right now.. because of the accounting
table.
How large  does most people let it get before rolling it?

  

My radacct table is over 500 MB / 1.3 million records right now.  For 
now I'm just letting it grow.  Make sure you have plenty of RAM though.  
If not, the database will become slow to query / insert and radius will 
stop dropping packets.

Keith Yoder

- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.768 / Virus Database: 515 - Release Date: 9/22/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.768 / Virus Database: 515 - Release Date: 9/22/2004
 


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: MYSQL Accounting Table Size?

2004-10-04 Thread Keith Yoder
cris boisvert escreveu:
I got 4 gigs of ram.. I hope its enough..
 

I've only got 1 so you should be fine.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: MYSQL Accounting Table Size?

2004-10-04 Thread Kostas Kalevras
On Mon, 4 Oct 2004, cris boisvert wrote:

 My Mysql database is about 50 megs right now.. because of the accounting
 table.
 How large  does most people let it get before rolling it?

 I Guess other people will just roll it on a Time/Date basis in cron..

 But what if I want to keep it for a year so I can pull stats out of it?
 Can it get to a couple of gig without problems?

 What is everyone else doing?

I 've got a 2.4GB innodb file with no problems. Though i would strongly
recommend against maintaining full accounting for a year on your main radacct
table. You could move old accounting (a few months old) to a different radacct
table if you want, or you could just keep aggregated accounting on a different
table for statistical purposes. The reason is that the larger your table, the
more your indexes wont work correctly (a lot of rows for the same username,
sessionid etc).

--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED]   National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html