Hi Prashanth,
Reply to your question on will you loos below data when you take backup of lisa.db folder?
1) All data inserted through Persistent Data Model
<If you have any data inserted manually through data model to derby database, that data will be erased>
2) All the Test Monitor data
< YES, data related to previous tests which you have executed in the past will be cleaned. So, you will not get reports of previous executions.> If you have scheduled any tests through CVS monitor, those test cases will not be deleted. Because, these data are stored on server at <Devtest_HOME>/CVSMonitor folder.>
3) All deployed VSEs.
<No, you will not loose any deployed VSE's. all devployed vse details are stored in <Devtest_home>/vseDeploy folder.
4) All Metrics and historical data like user deployments of VSEs, etc.
<Except the user deployed services, all metrics and historic data captured for vse reports will be lost>
Thanks,
Srikanth
Original Message:
Sent: 09-30-2019 09:09 PM
From: Prashanth Varadaraja
Subject: DevTest Database cleanup
Thank you @Srikanth Gajawada
For now we do not have much options to use an external DB and will have to stick with the default DB for some more time. Before I cleanup the entire folder, I would just like to understand the data that would be lost.
1) All data inserted through Persistent Data Model
2) All the Test Monitor data
3) All deployed VSEs.
4) All Metrics and historical data like user deployments of VSEs, etc.
Please correct me if anything above is wrong or if the above list is missing anything important.
Thanks and Regards,
Prashanth
Original Message:
Sent: 09-29-2019 09:42 PM
From: Srikanth Gajawada
Subject: DevTest Database cleanup
Hi Prashanth,
When you do load/performance test on test cases or writing more events to the database, size of the database will grow. Which will degrade performance of Devtest.
As you are using default database, lisa.db is reached to 30GB. If you do not require old data, you can take backup of lisa.db and recreate the database by restarting the registry. You can connect to derby using external tools (dbVisualizer) and clean up the data. But any manual changes to database is not supported. For better performance, configure registry to external database.
Thanks,
Srikanth
Original Message:
Sent: 09-29-2019 08:59 AM
From: Prashanth Varadaraja
Subject: DevTest Database cleanup
Friends,
The size of the database folder in DevTest home is currently about 30 GB. The folder seg0 at the location "\\CA\DevTest\database\lisa.db" is 29.5 GB alone. Is there any utility to cleanup the database? Would I be able to connect to the DB using a client and view it's contents?
Any inputs greatly appreciated, Thanks!
Regards,
Prashanth