mardi 28 juin 2016

Vacuum Database with laravel

I try to send a vacuum command with laravel in this way:

DB::raw('end transaction');
DB::raw('vacuum');

I read the log file, but there are no errors. When I Checking the database , it still weighs 95MB. So the vacuum command it was not accepted. Where am I wrong?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/29aVmL1
via IFTTT

Aucun commentaire:

Enregistrer un commentaire