17.00 - 17.05 - About Setting Data Block Sizes Using the DBS Control Utility - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Database Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
17.05
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
rgu1556127906220.ditamap
dita:ditavalPath
lze1555437562152.ditaval

You can set data block sizes globally using these DBSControl fields: PermDBAllocUnit, PermDBSize, and JournalDBSize. These fields determine the maximum size of permanent data blocks that hold multiple rows. (A row that exceeds the size of a multirow data block is put into a block of its own.)

Example of Changing PermDBSize

To change the PermDBSize, you need to use the modify and write commands of the DBS Control utility. The following example changes the data block size to 254 sectors:

  1. From the command-line prompt (or the Supervisor window of the Database Window):
    dbscontrol
  2. From the DBS Control window:
    display FILESYS
  3. Use the modify command to change flag 3 (PermDBSize):
    modify FILESYS 3 = 254
  4. Write the changes to the GDO:
    write