|
|
|
Ошибка при запросе
|
|||
|---|---|---|---|
|
#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&fpage=45&tid=1995367]: |
0ms |
get settings: |
8ms |
get forum list: |
18ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
54ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
23ms |
get tp. blocked users: |
1ms |
| others: | 209ms |
| total: | 332ms |

| 0 / 0 |
