Checking SCANDISK Status - Advanced SQL Engine - Teradata Database

Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
xha1591998860283.ditamap
dita:ditavalPath
xha1591998860283.ditaval
dita:id
B035-1102
lifecycle
previous
Product Category
Teradata Vantageā„¢

Because SCANDISK can take a long time to run, you might want to do a status check after starting a scan. You can do this using the INQUIRE command:

[.] { INQUIRE | INQ }

INQUIRE displays the lowest tid and rowid being scanned among the AMPS involved, and reports SCANDISK progress as a percentage of total time to completion. It also displays a list of errors that occurred since the last INQUIRE command.

This .INQUIRE command is similar to the INQUIRE startup option for SCANDISK, but this command runs only once when you invoke it. Unlike the INQUIRE startup option, the INQUIRE command cannot be set to automatically repeat at specified intervals.

The SCANFREE section of INQUIRE output shows the status of scanning free CIs.

Sample INQUIRE output is shown below.

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