I can serialize my data to harddisk. How can I know it is time to use a database to store my data?