Hi,
I have recently started to use Vertica 7 Community Edition on Amazon AWS using 3 nodes and I am having some issues. I used the Vertica 7 images to create the EC2 machines, performed the install in all 3 nodes, created a database and started it with no problems.
Then, I created some tables, loaded some data and made a few queries with no problem.
After a few minutes, I stopped the database through the AdminTools, which seemed to have stopped it with no problems. Rebooted all 3 nodes, and then started the database through the AdminTools, which started with out complains.
To my surprise, when I connected to the database, all previously created tables were gone.I tried to replicate the problem, and I managed: Started the database, created tables, loaded data to the tables, checked if data was ok, stoped the database and then started it. After this, all tables were gone.
I checked in the logs that when the database is starting, it deletes some files, which seems to be the files containing the data of those tables which are being lost.
Then I made a new test: Created the tales and loaded the data, but before I stop the database, I made a backup of if, using vbr.py. After restarting it, the problem remained. So I stopped it, restored the backup, started it again, and all data was there. Did a few restarts to see if the data was dropped, and it wasn't.
Is this a normal situation? It seems a bit odd, since there are no warnings about potential data loss while issuing the database shutdown.
As far as I can understand, it seems that I am stopping the database while all data is not persisted on disk. Is this what's happening?
If so, is there any way to force all data to be persisted, so it wouldn't be lost at database restart?
Why does that after a restore, the data stops to being dropped at database restart?
Hope someone has an idea on this one!
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.