README.md in rails-pg-extras-1.2.0 vs README.md in rails-pg-extras-1.2.1
- old
+ new
@@ -246,11 +246,11 @@
This command displays the size of each table and materialized view in the database, in MB. It is calculated by using the system administration function `pg_table_size()`, which includes the size of the main data fork, free space map, visibility map and TOAST data.
### `table_indexes_size`
```
-$ rake pg_extras:table-indexes-size
+$ rake pg_extras:table_indexes_size
table | indexes_size
---------------------------------------------------------------+--------------
learning_coaches | 153 MB
states | 125 MB
@@ -258,11 +258,11 @@
charities | 16 MB
grade_levels | 11 MB
(truncated results for brevity)
```
-This command displays the total size of indexes for each table, in MB. It is calcualtes by using the system administration function `pg_indexes_size()`.
+This command displays the total size of indexes for each table and materialized view, in MB. It is calcualtes by using the system administration function `pg_indexes_size()`.
### `total_table_size`
```
$ rake pg_extras:total_table_size
@@ -275,10 +275,10 @@
grade_levels | 122 MB
charities | 82 MB
(truncated results for brevity)
```
-This command displays the total size of each table in the database, in MB. It is calculated by using the system administration function `pg_total_relation_size()`, which includes table size, total index size and TOAST data.
+This command displays the total size of each table and materialized view in the database, in MB. It is calculated by using the system administration function `pg_total_relation_size()`, which includes table size, total index size and TOAST data.
### `unused_indexes`
```
$ rake pg_extras:unused_indexes