Skip to content

Latest commit

 

History

History
 
 

sql

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This document doesn't replace documentation relevant to the database software you are
using, ie. README.mysql, README.pgsql or README.sqlite3.

It is about the use of increased size byte/packet/flow counter fields with the aim of
easily accomodate larger counters. Why counters are not defined so large by default ?
Because they would require extra space - and maybe this is not a requirement.

MySQL.
There is nothing to do. Each MySQL schema already sports counters large enough. bytes,
packets and flows fields are already defined as either INT or BIGINT. Which translates
respectively in 10 and 20 bytes fields. 

PostgreSQL and SQLite.
There is very little to do. bytes field is already declared BIGINT, thus does not need
any change. packets and flows fields should be fixed and defined as BIGINT aswell.