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?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire