InterMapper Forums Forum Index InterMapper Forums
A place to talk about InterMapper and Network Monitoring
 
 Forum SubscriptionsForum Subscriptions   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Truncating the Flows database.

 
Post new topic   Reply to topic    InterMapper Forums Forum Index -> Knowledge Base - InterMapper Flows
View previous topic :: View next topic  
Author Message
jlosgar



Joined: 18 Jul 2007
Posts: 651

PostPosted: Tue Apr 21, 2009 2:40 pm    Post subject: Truncating the Flows database. Reply with quote

Q. Is there a way to truncate the Flows database? I noticed there are .dat files in the /ns2flows/SESSIONDB folder, with varying date stamps. Is it as simple as stopping the ns2flows service/daemon and deleting the relevant .dat files from the SESSIONDB folder?

A. There is no relationship between the date stamp of the .dat files and the database store. The .dat files are all created at once and used as a rotating store.

For instance, if you had 12 database .dat files, and all of them were full, then deleting one would delete 1/12th of your database, at some undetermined timepoint.

The only way to truncate the database is to stop the service/daemon and delete all the .dat files in the database directory. They will all be recreated. When the .metadb file is deleted, then all the existing .dat files will be ignored from then on, and new ones will be created.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    InterMapper Forums Forum Index -> Knowledge Base - InterMapper Flows All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group