SCANDISKステータスの検査 - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - データベース ユーティリティ

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
2021年7月
Language
日本語
Last Update
2021-09-23
dita:mapPath
ja-JP/xha1591998860283.ditamap
dita:ditavalPath
ja-JP/wrg1590696035526.ditaval
dita:id
B035-1102
Product Category
Software
Teradata Vantage

SCANDISKの実行には長い時間がかかるため、スキャン開始後に状態検査を行なうことができます。それにはINQUIREコマンドを使用します。

[.] { INQUIRE | INQ }

INQUIREは、関連するAMPの中でもスキャンされた最小のtidrowidを表示し、SCANDISKの進行状況を完了までの合計時間のパーセンテージ割合の形で報告します。また、最後のINQUIREコマンド以降に発生したエラーのリストも表示します。

この.INQUIREコマンドはSCANDISKのINQUIREスタートアップ オプションに似ていますが、呼び出し時に一度だけ実行されます。INQUIREスタートアップ オプションとは異なり、指定間隔で自動的に繰り返されるように設定することはできません。

INQUIRE出力のSCANFREEセクションは、空き状態のCIのスキャンのステータスを表示します。

INQUIRE出力のサンプルを以下に示します。

Ferret  ==>
scandisk
Wed Apr 11, 2007  16:46:24 : Scandisk will be started
                           On All AMP vprocs 
    Do you wish to continue based upon this scope?? (Y/N)
y
Wed Apr 11, 2007  16:46:26 : Scandisk has been started
Type 'ABORT' to stop the command before completion
Type 'INQUIRE' to check on progress of command
inq

Inquire request has been sent

Wed Apr 11, 2007  16:46:30
SCANDISK STATUS : 
Slowest vproc      0  is   2% done
Fastest vproc      0  is   2% done
The scandisk is about    2% done

Scanning Table: 0 1434 1024

Scanning Row: 0 1972 32488 0 1 

Nobody has reached the SCANFREE stage


Wed Apr 11, 2007  16:46:30
2 of 2 vprocs responded with no messages or errors.
Type 'ABORT' to stop the command before completion
Type 'INQUIRE' to check on progress of command
inq

Inquire request has been sent

Wed Apr 11, 2007  16:46:36
SCANDISK STATUS : 
Slowest vproc      1  is   4% done
Fastest vproc      0  is   5% done
The scandisk is about    4% done

Scanning Table: 0 1434 1024

Scanning Row: 0 28847 58771 0 95 

Nobody has reached the SCANFREE stage

vproc  1 (0001)  response

Wed Apr 11, 2007  16:46:33 : CI @ Cylinder 0 100 (0000 000064)
Wed Apr 11, 2007  16:46:33 : CID's First TID doesn't Match CI's First TID
    0  1434  1024 (0000 059A 0400)  ( test.trans )
    0  1435  1024 (0000 059B 0400)  ( TEST.data1 )
/nWed Apr 11, 2007  16:46:33 : CID's Last TID doesn't Match CI's Last TID
    0  1434  1024 (0000 059A 0400)  ( test.trans )
    0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:33 : Table Header is missing. May be in the process of being dropped
    0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 3418 (0D5A) length 126 (007E)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 3629 (0E2D) length 70 (0046)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 3699 (0E73) length 70 (0046)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 48 (0030) length 65 (0041)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )
Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 432 (01B0) length 65 (0041)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 113 (0071) length 66 (0042)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 179 (00B3) length 66 (0042)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 2646 (0A56) length 122 (007A)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 1953 (07A1) length 66 (0042)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 2346 (092A) length 66 (0042)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 2932 (0B74) length 72 (0048)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 3004 (0BBC) length 72 (0048)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 684 (02AC) length 72 (0048)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 756 (02F4) length 72 (0048)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 1191 (04A7) length 109 (006D)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 1606 (0646) length 74 (004A)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 2768 (0AD0) length 74 (004A)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 3150 (0C4E) length 119 (0077)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 1056 (0420) length 69 (0045)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : DB @ Cylinder 0 100 (0000 000064) Sector 3544 (0DD8) length 69 (0045)
                           : TID :     0  1435  1024 (0000 059B 0400)  ( TEST.data1 )

Wed Apr 11, 2007  16:46:34 : SRD TID.uniq doesn't match DB tid.uniq
    0  1435 (0000 059B)
    0  1434 (0000 059A)

Wed Apr 11, 2007  16:46:34 : CI @ Cylinder 0 266 (0000 00010A)

Wed Apr 11, 2007  16:46:34 : Table Ids are out of order 
    0  1435  1024 (0000 059B 0400)  ( TEST.data1 )
    0  1434  1024 (0000 059A 0400)  ( test.trans )





Wed Apr 11, 2007  16:46:36
1 of 2 vprocs responded with no messages or errors.
Wed Apr 11, 2007  16:46:36
1 of 2 vprocs responded with messages or errors as specified above
Type 'ABORT' to stop the command before completion
Type 'INQUIRE' to check on progress of command