Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Поясните разницу между Vacuum и Vacuum analyze
|
|||
|---|---|---|---|
|
#18+
Сталкнулся с PG совсем недавно. Доки читал усилено. Но так и не понял разницы между Vacuum и Vacuum analyze. Vacuum analyze - включает ли в себя Vacuum или надо выполнять сначала Vacuum, а потом Vacuum analyze? Или как вариант Vacuum, а потом Vacuum analyze, потом Vacuum Full для таблицы? Поясните разницу, те кто знают... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 07.06.2007, 14:41 |
|
||
|
Поясните разницу между Vacuum и Vacuum analyze
|
|||
|---|---|---|---|
|
#18+
VACUUMName VACUUM — garbage-collect and optionally analyze a database ... VACUUM ANALYZE performs a VACUUM and then an ANALYZE for each selected table. This is a handy combination form for routine maintenance scripts. See ANALYZE* for more details about its processing. Plain VACUUM (without FULL) simply reclaims space and makes it available for re-use. This form of the command can operate in parallel with normal reading and writing of the table, as an exclusive lock is not obtained. VACUUM FULL does more extensive processing, including moving of tuples across blocks to try to compact the table to the minimum number of disk blocks. This form is much slower and requires an exclusive lock on each table while it is being processed. .... Plain VACUUM (without FULL) simply reclaims space and makes it available for re-use. This form of the command can operate in parallel with normal reading and writing of the table, as an exclusive lock is not obtained. VACUUM FULL does more extensive processing, including moving of tuples across blocks to try to compact the table to the minimum number of disk blocks. This form is much slower and requires an exclusive lock on each table while it is being processed. *ANALYZE Name ANALYZE — collect statistics about a database Synopsis ANALYZE [ VERBOSE ] [ table [ (column [, ...] ) ] ] ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 07.06.2007, 15:07 |
|
||
|
|

start [/forum/topic.php?fid=53&msg=34581290&tid=2005377]: |
0ms |
get settings: |
9ms |
get forum list: |
19ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
71ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
50ms |
get tp. blocked users: |
2ms |
| others: | 255ms |
| total: | 426ms |

| 0 / 0 |
