I have looking around for information about empty unnecessary database tables to optimize the database.
Some people say that it is safe to empty the table ps_guest, and some people say that it probably should be left untouched.
Since I don't know every function, feature and process that grabs data from the ps_guest-table, I'm hoping for some inputs here.
Will there be any loss of functions if I run the query below?
$query = 'DELETE FROM ps_guest WHERE id_customer = 0 AND id_guest NOT IN (SELECT id_guest FROM ps_cart) AND id_customer NOT IN (SELECT id_customer FROM ps_customer)';