|
Ошибка при запросе
|
|||
---|---|---|---|
#18+
Добрый день! Я пишу скрипт на powershel который выбирает индексы. И потом в цикле смотрит их фрагментированость. И вот во втором моменте Я периодически ловлю ошибку http://prntscr.com/mgr0zw Как я понимаю он отваливается по таймату хотя set statement_timeout to 0; Как это выглядит примерно в powershel Делаю запрос SELECT schemaname, tablename, indexname, indexdef FROM pg_indexes WHERE schemaname = 'public' Потом в цикле смотрю запросом SELECT leaf_fragmentation FROM pgstatindex ('$indexname') where leaf_fragmentation > 30 ... |
|||
:
Нравится:
Не нравится:
|
|||
05.02.2019, 08:02 |
|
|
start [/forum/topic.php?fid=53&tid=1995367]: |
0ms |
get settings: |
10ms |
get forum list: |
12ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
51ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
29ms |
get tp. blocked users: |
2ms |
others: | 271ms |
total: | 398ms |
0 / 0 |