Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

database.sqlite file has consumed 45GB, Do we have any auto cleanup for this? #138

Open
SushanthN opened this issue Jan 30, 2024 · 5 comments

Comments

@SushanthN
Copy link

@sudharsan-selvaraj Currently I can see the database.sqlite file has occupied a large storage of 45GB on my machine.
Can you help me to understand what this file does. Will there be any consequences on deleting it.
Do we have any auto clean up or how do i manage it ?

@sudharsan-selvaraj
Copy link
Owner

You can delete all the session data from the UI by clicking the delete all sessions. This will clear all data and brings back the dashboard to original state.

Otherwise,you can also delete the sqlite database and remove the entire folder that contains images and videos of the session and then reinstall the plugin to bring back the original state.

@SushanthN
Copy link
Author

@sudharsan-selvaraj In my case I dont want to delete all because i need the latest run for my reference. I need to delete only the old videos based on timestamp for which i have added a cron.

Now how do i handle this file database.sqlite

@SushanthN
Copy link
Author

@sudharsan-selvaraj Any suggestions here

@sudharsan-selvaraj
Copy link
Owner

One think i can think of is you can clear data related to adb logs, profiling and http logs. To do so, install sqlite db and truncate the below tables from the database

  1. profiling
  2. http_logs
  3. logs

@SushanthN
Copy link
Author

@sudharsan-selvaraj Thanks. let me try and get back to you in case of any issues

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants