return [
'slow_query_threshold' => 100, // Queries taking more than 100ms
'frequent_query_threshold' => 5, // Number of times a query runs in short time to be flagged
'frequent_query_time_window' => 60, // Time window in seconds to track repeated queries
'auto_cache' => true, // Enable or disable automatic caching of frequent queries
];
sh
php artisan vendor:publish --tag=smartdb-config
sh
php artisan migrate
sh
php artisan smartdb:analyze
sh
php artisan smartdb:suggest-indexes
sh
php artisan smartdb:detect-frequent
sh
php artisan migrate
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.