lib/tasks/pghero.rake in pghero-1.7.0 vs lib/tasks/pghero.rake in pghero-2.0.0
- old
+ new
@@ -9,10 +9,10 @@
PgHero.capture_space_stats
end
desc "analyze tables"
task analyze: :environment do
- PgHero.analyze_all
+ PgHero.analyze_all(verbose: true, min_size: ENV["MIN_SIZE_GB"].to_f.gigabytes)
end
desc "autoindex"
task autoindex: :environment do
PgHero.autoindex_all(create: true)