Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb61d161

Browse files
author
Amit Kapila
committed
Introduce vacuum errcontext to display additional information.
The additional information displayed will be block number for erroroccurring while processing heap and index name for error occurringwhile processing the index.This will help us in diagnosing the problems that occur during a vacuum.For ex. due to corruption (either caused by bad hardware or by some bug)if we get some error while vacuuming, it can help us identify the blockin heap and or additional index information.It sets up an error context callback to display additional informationwith the error. During different phases of vacuum (heap scan, heapvacuum, index vacuum, index clean up, heap truncate), we update the errorcontext callback to display appropriate information. We can extend it toa bit more granular level like adding the phases for FSM operations or forprefetching the blocks while truncating. However, I felt that it requiresadding many more error callback function calls and can make the code a bitcomplex, so left those for now.Author: Justin Pryzby, with few changes by Amit KapilaReviewed-by: Alvaro Herrera, Amit Kapila, Andres Freund, Michael Paquierand Sawada MasahikoDiscussion:https://www.postgresql.org/message-id/20191120210600.GC30362@telsasoft.com
1 parent2743d9a commitb61d161

File tree

2 files changed

+216
-25
lines changed

2 files changed

+216
-25
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp