I need help with a database

So I’m coding a discord bot and it’s properly hosted and everything, but whenever I try to save data to a database(using nedb) it takes a long time for the data to show up inside my database.db file, anyone know why it would take so long to insert data?

Changes made by the bot, e.g. via commands, would require you to refresh the glitch editor to see changes to the database files.