discourse/lib/tasks
Sam Saffron 4c6a0313f2 FEATURE: improve stats provided by rake db:stats
New stats include index size and sort by index + table size

Eg:

```
table_name                  | row_estimate | table_size | index_size | total_size
--------------------------------------------------------------------------
topic_views                 | 18260776     | 796 MB     | 2015 MB    | 2811 MB
post_timings                | 15813837     | 668 MB     | 1153 MB    | 1821 MB
posts                       | 386890       | 1532 MB    | 215 MB     | 1747 MB
post_search_data            | 317575       | 580 MB     | 162 MB     | 742 MB
incoming_emails             | 34412        | 734 MB     | 7160 kB    | 741 MB
incoming_links              | 5169302      | 306 MB     | 377 MB     | 683 MB
email_logs                  | 5            | 32 kB      | 418 MB     | 418 MB
topic_users                 | 2410166      | 217 MB     | 155 MB     | 372 MB
user_actions                | 1361253      | 101 MB     | 266 MB     | 366 MB
...

```
2019-08-02 17:25:42 +10:00
..
add_topic_to_quotes.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
admin.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
api.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
assets.rake FIX: stop re-downloading backup maxmind 2019-06-13 17:42:26 +10:00
auto_annotate_models.rake DEV: Automatically annotate plugin models alongside core models 2019-05-13 16:37:47 +01:00
autospec.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
avatars.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
backfill.thor DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
build_test_topic.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
build.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
categories.rake REFACTOR: Cleanup rake tasks based on feedback 2019-07-18 19:15:01 -06:00
cdn.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
db.rake FEATURE: improve stats provided by rake db:stats 2019-08-02 17:25:42 +10:00
destroy.rake REFACTOR: Cleanup rake tasks based on feedback 2019-07-18 19:15:01 -06:00
docker.rake DEV: run db:create and db:migrate on turbo specs 2019-07-08 14:27:51 -04:00
emails.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
emoji.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
export.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
groups.rake Make rubocop happy. 2019-05-13 09:55:44 +08:00
i18n.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
images.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
import.rake FIX: Periodically ensure consistency of categories. (#7663) 2019-06-06 11:30:52 +02:00
integration.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
javascript.rake FEATURE: Make Discourse work offline with WorkboxJS (#7870) 2019-07-15 13:05:55 -03:00
maxminddb.rake FIX: ensure we can download maxmind without redis or db config 2019-05-28 10:28:57 +10:00
plugin.rake DEV: Tweak plugin rake task console message 2019-07-30 09:53:56 -04:00
populate.thor DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
posts.rake DEV: Use File#file? in posts:missing_uploads rake task. 2019-08-01 10:59:34 +08:00
qunit.rake DEV: makes hidepassed default when running qunit (#7558) 2019-05-16 14:37:01 +02:00
redis.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
release_note.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
rspec.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
s3.rake Fixed typo in S3 rake task 2019-05-28 16:57:55 +08:00
scheduler.rake FIX: DistributedMutex (#7953) 2019-08-01 09:12:05 +01:00
search.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
site_settings.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
smoke_test.rake DEV: allows smoke test to run on macOS (#7735) 2019-06-07 18:20:48 +02:00
svg_icons.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tags.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
themes.rake FEATURE: Rake themes installer (#7848) 2019-07-04 14:33:05 -04:00
topics.rake FEATURE: Use configured quotation marks in fancy topic title 2019-07-12 21:10:10 +02:00
turbo.rake DEV: Add a verbose option to ./bin/turbo_rspec 2019-06-27 15:49:21 +01:00
typepad.thor DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
uploads.rake DEV: raise error only when 'STOP_ON_ERROR' env variable is available. 2019-08-01 23:54:06 +05:30
user_actions.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
users.rake DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00