IBM 000-8697 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Databázový software IBM 000-8697. IBM 000-8697 User's Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 702
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
IBM Informix OnLine
Database Server
Administrator’s Guide
Version 5.x
December 2001
Part No. 000-8697
Zobrazit stránku 0
1 2 3 4 5 6 ... 701 702

Shrnutí obsahu

Strany 1 - Database Server

IBM Informix OnLineDatabase ServerAdministrator’s GuideVersion 5.xDecember 2001Part No. 000-8697

Strany 2

x IBM Informix OnLine Database Server Administrator’s GuideMonitor and Archive Physical Log Pages ... 4-38Write a Trailer Page ... 4

Strany 3 - Table of Contents

2-6 IBM Informix OnLine Database Server Administrator’s Guide

Strany 4

System Architecture 2-7In This ChapterIn this guide, system architecture is interpreted broadly to include OnLinedatabase server processes as well as

Strany 5 - Chapter 2 System Architecture

2-8 IBM Informix OnLine Database Server Administrator’s GuideInitialization CommandsShared-memory initialization establishes the contents of shared me

Strany 6

System Architecture 2-9Initialization CommandsAs tbinit executes, it reads the configuration file named by the environmentvariable TBCONFIG. Refer to pa

Strany 7 - Chapter 3 Operating OnLine

2-10 IBM Informix OnLine Database Server Administrator’s GuideWhat Happens During Shared-Memory InitializationDisk Space CommandsYou can direct OnLine

Strany 8

System Architecture 2-11What Happens During Shared-Memory InitializationShared-Memory Initialization Procedure1. The tbinit process calculates configur

Strany 9

2-12 IBM Informix OnLine Database Server Administrator’s GuideWhat Happens During Shared-Memory InitializationThetbinitprocessusestheconfigurationvalue

Strany 10

System Architecture 2-13What Happens During Shared-Memory InitializationDuringshared-memoryinitialization,diskstructuresanddisklayoutarenotaffected. E

Strany 11

2-14 IBM Informix OnLine Database Server Administrator’s GuideWhat Happens During Disk-Space InitializationStep 9: Document Configuration ChangesThe tb

Strany 12 - Chapter 7 Utilities

System Architecture 2-15What Happens During Disk-Space InitializationImportant: Do notinitialize disk space without careful consideration. Aspart ofth

Strany 13

Table of Contents xiChapter 5 How to Improve PerformanceIn This Chapter ... 5-3Disk Layout ... 5-4Optimize Blobspace Bl

Strany 14 - Appendix A Notices

2-16 IBM Informix OnLine Database Server Administrator’s GuideWhat Happens During Disk-Space InitializationAfter tbinit finishes computing the configura

Strany 15 - Introduction

System Architecture 2-17What Happens During Disk-Space InitializationNext, tbinit reserves space in the initial chunk of the root dbspace for thephysi

Strany 16

2-18 IBM Informix OnLine Database Server Administrator’s GuideUNIX Kernel and Semaphore-Allocation ParametersStep 8: Change to Quiescent ModeAfterthec

Strany 17 - About This Manual

System Architecture 2-19UNIX Kernel and Semaphore-Allocation Parameters The shared-memory lower-boundary address The maximum number of attached shar

Strany 18 - Organization of This Manual

2-20 IBM Informix OnLine Database Server Administrator’s GuideUNIX Kernel and Semaphore-Allocation ParametersIf this relationship does not hold, eithe

Strany 19 - Demonstration Database

System Architecture 2-21UNIX Kernel and Semaphore-Allocation ParametersFigure 2-1Shared memorymust be attached toa user process sothat it looks likeco

Strany 20

2-22 IBM Informix OnLine Database Server Administrator’s GuideOnLine User ProcessesOnLine User ProcessesAn OnLine user process is any process that eve

Strany 21

System Architecture 2-23OnLine User ProcessesFigure 2-2illustratesthevirtualaddressspaceof a user processafterthe userprocess has attached to shared m

Strany 22 - Documentation Conventions

2-24 IBM Informix OnLine Database Server Administrator’s GuideHow User Processes Attach to Shared MemoryHow User Processes Attach to Shared MemoryOnLi

Strany 23 - Command-Line Conventions

System Architecture 2-25How User Processes Attach to Shared MemoryStep 2: Calculate Shared-Memory Key ValueWhenauserprocessisreadytoattachtosharedmemo

Strany 24

xii IBM Informix OnLine Database Server Administrator’s GuideChapter 6 DB-Monitor ScreensIn This Chapter ... 6-3Main Menu...

Strany 25

2-26 IBM Informix OnLine Database Server Administrator’s GuideHow User Processes Attach to Shared MemoryThe first shared-memory segment is attached to

Strany 26 - Sample Code Conventions

System Architecture 2-27How User Processes Attach to Shared MemoryThe user process lays out the first shared-memory segment, which includesthe shared-m

Strany 27

2-28 IBM Informix OnLine Database Server Administrator’s GuideUser Processes and Critical SectionsUser Processes and Critical SectionsA critical secti

Strany 28 - Additional Documentation

System Architecture 2-29OnLine User Process Status and StatesOnLine User Process Status and StatesThe tbstat -u command prints a profile of user proces

Strany 29 - Error Message Files

2-30 IBM Informix OnLine Database Server Administrator’s GuideOnLine Database Server ProcessThe user process type flags occupy the fourth position of e

Strany 30

System Architecture 2-31Orphaned Database Server ProcessesThe application development tool process and the database server processcommunicate with eac

Strany 31

2-32 IBM Informix OnLine Database Server Administrator’s GuideOrphaned Database Server ProcessesNever kill anOnLine database serverprocesswith theUNIX

Strany 32

System Architecture 2-33OnLine Daemon ProcessesOnLine Daemon ProcessesDaemon processes are OnLine user processes that perform system-widetasks. Unlike

Strany 33 - Related Reading

2-34 IBM Informix OnLine Database Server Administrator’s Guidetbundo Daemontbundo DaemonThe tbundo daemon is called by the tbinit daemon to perform cl

Strany 34 - IBM Welcomes Your Comments

System Architecture 2-35tbpgcl DaemonWhen OnLine is initialized, allpage-cleaner daemonsarestarted andplacedin idle mode. As master daemon, tbinit dir

Strany 35 - Configuration

Table of Contents xiiitbload: Create a Database or Table ... 7-47Syntax ... 7-48Specify Tape Parameters... 7-49Cr

Strany 36

2-36 IBM Informix OnLine Database Server Administrator’s GuideShared Memory and Process CommunicationShared Memory and Process CommunicationShared mem

Strany 37

System Architecture 2-37Shared Memory and Process CommunicationFigure 2-4Multiple userprocesses cancommunicate byway of sharedmemory.Unallocated space

Strany 38

2-38 IBM Informix OnLine Database Server Administrator’s GuideShared Memory and Buffer LocksShared Memory and Buffer LocksA primary benefit of shared m

Strany 39

System Architecture 2-39Managing Shared-Memory ResourcesBuffer Exclusive LockA buffer is in exclusive mode, or has an exclusive lock, if a user proces

Strany 40 - Define Your Starting Point

2-40 IBM Informix OnLine Database Server Administrator’s GuideManaging Shared-Memory ResourcesConsiderwhathappenswhentwo OnLineserverprocessesattemptt

Strany 41

System Architecture 2-41Managing Shared-Memory ResourcesBuffer locks ensure process isolation while user processes contend for thesame shared-memory r

Strany 42 - Initialize Shared Memory

2-42 IBM Informix OnLine Database Server Administrator’s GuideManaging Shared-Memory ResourcesIf an OnLine user process requires a specific latch, how

Strany 43 - Create a New Level-0 Archive

System Architecture 2-43Managing Shared-Memory ResourcesSemaphoresWhen an OnLine user process attempts to acquire a latch and finds that thelatchisunav

Strany 44

2-44 IBM Informix OnLine Database Server Administrator’s GuideManaging Shared-Memory ResourcesOnLine resolves thedilemma by forcing anabort. When OnLi

Strany 45 - OnLine Configuration Files

System Architecture 2-45Managing Shared-Memory ResourcesThe blobtimestamp onthe disk page changes each time theblob dataon thepage is overwritten. The

Strany 46

xiv IBM Informix OnLine Database Server Administrator’s Guidetbunload: Transfer Binary Data in Page Units ...7-107Syntax ...7-10

Strany 47 - Contents of tbconfig.std

2-46 IBM Informix OnLine Database Server Administrator’s GuideManaging Shared-Memory ResourcesIf a program is using Committed Read isolation, the prob

Strany 48

System Architecture 2-47Shared-Memory HeaderOnLine compares the item key with the key value it is searching for. If thevalues match, the item is locat

Strany 49

2-48 IBM Informix OnLine Database Server Administrator’s GuideShared-Memory Internal TablesThe header also contains the OnLine “magic number,” which i

Strany 50

System Architecture 2-49Shared-Memory Internal Tables User processes waiting for the bufferEach buffer header maintains a list of the user processes

Strany 51

2-50 IBM Informix OnLine Database Server Administrator’s GuideShared-Memory Internal Tables The number of chunk entries (pathnames) that can fit on an

Strany 52

System Architecture 2-51Shared-Memory Internal TablesThe minimum value of DBSPACES is 1, representing the root dbspace.OnLine Latch TableThelatch tabl

Strany 53

2-52 IBM Informix OnLine Database Server Administrator’s GuideShared-Memory Internal TablesA byte lock is only generated if you are using VARCHAR data

Strany 54 - # System Page Size

System Architecture 2-53Shared-Memory Internal TablesEachtblspacetableentryincludesheaderinformationabout the tblspace,thetblspace name, and pointers

Strany 55 - ROOTNAME

2-54 IBM Informix OnLine Database Server Administrator’s GuideShared-Memory Internal TablesOnLine Transaction TableThe transaction table tracks all tr

Strany 56 - ROOTOFFSET

System Architecture 2-55Shared-Memory Buffer PoolThe last available entry slot in the user table is always reserved for atbmonitor process,regardless

Strany 57 - ROOTSIZE

IntroductionIntroductionIn This Introduction ... 3About This Manual... 3Organization of This Manual ... 4Dem

Strany 58 - MIRRORPATH

2-56 IBM Informix OnLine Database Server Administrator’s GuideShared-Memory Buffer PoolRegular BuffersThe regular buffers store dbspace pages read fro

Strany 59 - PHYSFILE

System Architecture 2-57OnLine LRU QueuesOnLine LRU QueuesEach regular buffer is tracked through several linked lists of pointers to thebufferheaderta

Strany 60 - PHYSDBS is 1,000 KB

2-58 IBM Informix OnLine Database Server Administrator’s GuideLRU Queues and Buffer Pool ManagementLRU Queues and Buffer Pool ManagementBefore process

Strany 61 - LOGFILES

System Architecture 2-59LRU Queues and Buffer Pool ManagementLRU_MAX_DIRTYPeriodically, the modified buffers in the MLRU queue are written (flushed)todi

Strany 62 - Message File Guidelines

2-60 IBM Informix OnLine Database Server Administrator’s GuideHow a User Process Acquires a BufferThe following example shows how the value of LRU_MIN

Strany 63 - TAPESIZE

System Architecture 2-61How a User Process Acquires a BufferStep 1: Identify the DataOnLine user processes request a specific data row by rowid. (Refer

Strany 64 - LTAPEBLK

2-62 IBM Informix OnLine Database Server Administrator’s GuideHow a User Process Acquires a BufferStep 4: Read the Page in from DiskIf the requested p

Strany 65 - LTAPESIZE

System Architecture 2-63Physical Log BufferIf the user process intends to modify the buffer, it acquires a latch on thebuffer and changes the buffer l

Strany 66 - RESIDENT

2-64 IBM Informix OnLine Database Server Administrator’s GuidePhysical Log BufferRefer to page 2-151 for further information about the physical log.Do

Strany 67 - TRANSACTIONS

System Architecture 2-65Physical Log BufferThe contents ofthephysical log buffermust alwaysbeflushed to diskbeforeanydatabuffers.Thisruleisrequiredforf

Strany 68 - TBLSPACES

2 IBM Informix OnLine Database Server Administrator’s Guide

Strany 69 - PHYSBUFF

2-66 IBM Informix OnLine Database Server Administrator’s GuideLogical Log BufferFirst, the pageiswritten tothecurrentphysical log buffer, filling it.Ne

Strany 70 - CLEANERS

System Architecture 2-67Logical Log BufferFigure 2-9The logical logbuffer and itsrelation to thelogical log files ondiskCurrent logical logbuffer (now

Strany 71 - CKPTINTVL

2-68 IBM Informix OnLine Database Server Administrator’s GuideLogical Log BufferBuffer ContentsLogical log recordsare written continuouslyduring OnLin

Strany 72

System Architecture 2-69Logical Log BufferNote,however, that thiscostofunbufferedloggingisminor comparedto thebenefits of ensured data consistency. (Re

Strany 73 - TXTIMEOUT

2-70 IBM Informix OnLine Database Server Administrator’s GuideOnLine CheckpointsOnLine CheckpointsThe term checkpoint refers to the point in OnLine op

Strany 74 - OnLine Disk Space Allocation

System Architecture 2-71OnLine CheckpointsOnereasonanadministrator might wanttoinitiate a checkpointwould be toforcea newcheckpoint recordin thelogica

Strany 75

2-72 IBM Informix OnLine Database Server Administrator’s GuideWhat Happens During a CheckpointWhat Happens During a CheckpointThe checkpoint procedure

Strany 76

System Architecture 2-73When the Daemons Flush the Buffer PoolWhen the Daemons Flush the Buffer PoolBuffer flushing is managed by the tbinit master dae

Strany 77

2-74 IBM Informix OnLine Database Server Administrator’s GuideHow OnLine Synchronizes Buffer FlushingHow OnLine Synchronizes Buffer FlushingBufferflush

Strany 78

System Architecture 2-75Write Types Describe Flushing ActivityIfthetimestamponthepageinthebufferpoolisequaltoormorerecentthanthe timestamp for the phy

Strany 79

Introduction 3In This IntroductionThis introduction provides an overview of the information in this manualand describes the conventions it uses.About

Strany 80

2-76 IBM Informix OnLine Database Server Administrator’s GuideWrite Types Describe Flushing ActivityData is always written to the primary chunk first.

Strany 81 - How to Allocate Disk Space

System Architecture 2-77Write Types Describe Flushing ActivityIf OnLineis configured for more thanone page-cleaner daemon process,theLRU queues are div

Strany 82

2-78 IBM Informix OnLine Database Server Administrator’s GuideWriting Data to a BlobspaceIn addition, since database server processes must wait for th

Strany 83

System Architecture 2-79Writing Data to a BlobspaceAt the time that the blob data is being transferred, the row itself maynot yetexist. During an inse

Strany 84 - Configuration Checklist

2-80 IBM Informix OnLine Database Server Administrator’s GuideWriting Data to a BlobspaceThe blobspace buffers remain until the OnLine server process

Strany 85 - Set configuration parameters

System Architecture 2-81Disk Data StructuresDisk Data StructuresOnLine achieves its high performance by managing its own I/O. Storage,search, and retr

Strany 86 - ESC to record the

2-82 IBM Informix OnLine Database Server Administrator’s GuideOnLine Disk Space Terms and DefinitionsOnLine maintains three additional disk space struc

Strany 87

System Architecture 2-83OnLine Disk Space Terms and DefinitionsFigure 2-11The logical units of OnLine disk space can be envisioned as overlaying the ph

Strany 88 - Initialize OnLine

2-84 IBM Informix OnLine Database Server Administrator’s GuideOnLine Disk Space Terms and DefinitionsBlobpageA blobpage is the unit of disk space alloc

Strany 89 - TBCONFIG

System Architecture 2-85OnLine Disk Space Terms and DefinitionsDatabaseA database resides in the dbspace named in the SQL statement CREATEDATABASE. If

Strany 90

4 IBM Informix OnLine Database Server Administrator’s GuideOrganization of This ManualOrganization of This ManualThis manual includes the following ch

Strany 91

2-86 IBM Informix OnLine Database Server Administrator’s GuideOnLine Disk Space Terms and DefinitionsExtents for a single table can be located within d

Strany 92 - Shutdown

System Architecture 2-87Structure of the Root DbspaceStructure of the Root DbspaceThe OnLine configurationfilecontains the locationofthe initialchunkof

Strany 93 - Errors During Initialization

2-88 IBM Informix OnLine Database Server Administrator’s GuideStructure of the Root DbspaceFigure 2-12Structures withinthe initial chunk ofthe root db

Strany 94 - UNIX Error Message Format

System Architecture 2-89Structure of a Regular DbspaceStructure of a Regular DbspaceAfter disk space initialization, you can add new dbspaces. When yo

Strany 95 - System Architecture

2-90 IBM Informix OnLine Database Server Administrator’s GuideStructure of an Additional Dbspace ChunkStructure of an Additional Dbspace ChunkYou can

Strany 96

System Architecture 2-91Structure of a BlobspaceStructure of a BlobspaceAfter disk initialization, you can create blobspaces.When you create a blobspa

Strany 97 - System Architecture 2-3

2-92 IBM Informix OnLine Database Server Administrator’s GuideStructure of a Blobspace or Dbspace Mirror ChunkFigure 2-15 illustrates the blobspace ch

Strany 98

System Architecture 2-93OnLine Limits for ChunksIf the primary chunk goes down and the mirror chunk becomes the primarychunk, disk space allocation re

Strany 99 - System Architecture 2-5

2-94 IBM Informix OnLine Database Server Administrator’s GuideOnLine Limits for ChunksThe size of each chunk entry on the chunk-tracking page is the l

Strany 100

System Architecture 2-95Reserved PagesReserved PagesThe first 12 pagesof theinitial chunkof therootdbspace are reserved pages.Copies of the first two re

Strany 101 - Initialization

Introduction 5Demonstration DatabaseA Notices appendix contains information about IBM products, services, andfeatures. An index directs you to areas o

Strany 102 - Initialization Commands

2-96 IBM Informix OnLine Database Server Administrator’s GuideReserved PagesThe reserved page checkpoint information is stored in a two-page pair,PAGE

Strany 103 - Shared Memory Commands

System Architecture 2-97Reserved PagesPAGE_PZEROThe first reserved page in the root dbspace is PAGE_PZERO. Below are listedthe PAGE_PZERO fields and defi

Strany 104 - Disk Space Commands

2-98 IBM Informix OnLine Database Server Administrator’s GuideReserved PagesBelow are listedthe checkpoint andlogical log filetracking fields anddefini-t

Strany 105

System Architecture 2-99Reserved PagesPAGE_DBSPThefifthreservedpageintherootdbspaceisPAGE_1DBSP.Thesixthreservedpage, PAGE_2DBSP, is the second page in

Strany 106 - Step 2: Create Shared Memory

2-100 IBM Informix OnLine Database Server Administrator’s GuideReserved PagesPAGE_PCHUNKTheseventhreservedpageintherootdbspaceisPAGE_1PCHUNK.Theeighth

Strany 107 - Step 5: Wake Parent Process

System Architecture 2-101Reserved PagesPAGE_MCHUNKThe ninth reserved page in the root dbspace is PAGE_1MCHUNK. The tenthreserved page, PAGE_2MCHUNK, i

Strany 108 - ■ tbinit -i -s

2-102 IBM Informix OnLine Database Server Administrator’s GuideReserved PagesPAGE_ARCHThe eleventhreserved page in theroot dbspace is PAGE_1ARCH. The

Strany 109

System Architecture 2-103Chunk Free-List PageChunk Free-List PageIneverychunk,thepagethatfollowsthelastPreservedpageisthefirstofoneor more chunk free-l

Strany 110 - Step 5: Initialize Disk Space

2-104 IBM Informix OnLine Database Server Administrator’s Guidetblspace TblspaceIfnewly freedspace is contiguouswithexistingfreespace,onlythe length o

Strany 111 - System Architecture 2-17

System Architecture 2-105tblspace Tblspacetblspace Tblspace EntriesEachdata page inthetblspacetblspacedescribes one tblspaceinthedbspaceand is conside

Strany 112 - Step 9: Set Forced Residency

ii IBM Informix OnLine Database Server Administrator’s GuideThis document contains proprietary information of IBM. It is provided under a license agre

Strany 113

6 IBM Informix OnLine Database Server Administrator’s GuideDemonstration DatabaseYou can run the dbaccessdemo5 script again whenever you want a freshd

Strany 114 - UNIX system might set a

2-106 IBM Informix OnLine Database Server Administrator’s Guidetblspace TblspaceThe hexadecimal representation of partnum is actually a composite of t

Strany 115

System Architecture 2-107Database Tblspacetblspace Tblspace Bit-Map PageThe first page of the tblspace tblspace, like the first page of any initial exte

Strany 116 - OnLine User Processes

2-108 IBM Informix OnLine Database Server Administrator’s GuideCreate a Database: What Happens on DiskEach database tblspace entry includes four compo

Strany 117

System Architecture 2-109Create a Database: What Happens on DiskAllocate Disc SpaceOnLine searches the linked list of chunk free-list maps in the dbsp

Strany 118 - Step 1: Obtain SERVERNUM

2-110 IBM Informix OnLine Database Server Administrator’s GuideOnLine Limits for DatabasesOnLine Limits for DatabasesThe size limits that apply to dat

Strany 119 - (SERVERNUM * 65536) + shmkey

System Architecture 2-111Create a Table: What Happens on DiskThe paragraphs that follow describe the major events that occur whenOnLine creates a tabl

Strany 120

2-112 IBM Informix OnLine Database Server Administrator’s GuideCreate a Table: What Happens on DiskFigure 2-22 illustrates the pointers within the dis

Strany 121

System Architecture 2-113Create a Temporary Table: What Happens on DiskCreate a Temporary Table: What Happens on DiskAfter the root dbspace exists, us

Strany 122

2-114 IBM Informix OnLine Database Server Administrator’s GuideStructure of an ExtentCleanupExplicit temporary tables are dropped when the OnLine user

Strany 123

System Architecture 2-115Structure of an ExtentPage TypesWithin the extent, individual pages contain different types of data. Extentpages can be separ

Strany 124

Introduction 7IBM Informix OnLineIBM Informix OnLineProduct OverviewThe IBM Informix OnLine database server combines high-availability, onlinetransact

Strany 125

2-116 IBM Informix OnLine Database Server Administrator’s GuideStructure of an ExtentFigure 2-23The initial extentsize for this table is8 pages; the n

Strany 126

System Architecture 2-117Next Extent AllocationNext Extent AllocationWhen an extent fills, OnLine attempts to allocate another extent ofcontiguous disk

Strany 127 - OnLine Daemon Processes

2-118 IBM Informix OnLine Database Server Administrator’s GuideNext Extent AllocationIfthediskspaceallocatedforanextextentisphysicallycontiguouswithdi

Strany 128

System Architecture 2-119Next Extent AllocationFigure 2-24When one extentfills, another isautomaticallyallocated. BecauseOnLine considersseveral factor

Strany 129 - LRU queue

2-120 IBM Informix OnLine Database Server Administrator’s GuideStructure of a Dbspace PageStructure of a Dbspace PageThe basic unit of OnLine I/O is a

Strany 130

System Architecture 2-121Structure of a Dbspace PagePage HeaderThe page header includes six components: Page identification number (address of the pag

Strany 131

2-122 IBM Informix OnLine Database Server Administrator’s GuideStructure of a Dbspace PageFor example, in a data page, the slot table entry would desc

Strany 132 - Buffer Update Lock

System Architecture 2-123Data Row Format and RowidData Row Format and RowidOnLine canstore rows thatare longer than apage. OnLine also supports theVAR

Strany 133 - Buffer Exclusive Lock

2-124 IBM Informix OnLine Database Server Administrator’s GuideData Row Format and RowidThe rowid structure permits the length of the row and its loca

Strany 134 - ■ Hash tables

System Architecture 2-125Data Pages and Data Row StorageEventually, a row may outgrow its original storage location. If this occurs, aforward pointer

Strany 135 - Shared-Memory Latches

8 IBM Informix OnLine Database Server Administrator’s GuideDocumentation ConventionsDocumentation ConventionsThis section describes the conventions th

Strany 136 - Spin and Test Again

2-126 IBM Informix OnLine Database Server Administrator’s GuideData Pages and Data Row StorageSingle-Page StorageTo minimize retrieval time, rows are

Strany 137 - Forced Abort

System Architecture 2-127Data Pages and Data Row StorageMultipage StorageWhen OnLine receives a row that is longer than a page, the row is stored inas

Strany 138 - OnLine Timestamps

2-128 IBM Informix OnLine Database Server Administrator’s GuideData Pages and Data Row StorageFigure 2-29Rows that arelonger than twopages are stored

Strany 139 - System Architecture 2-45

System Architecture 2-129Data Pages and Data Row StorageStorage of Modified RowsWhen a row is modified, OnLine attempts to return the modified row to its

Strany 140

2-130 IBM Informix OnLine Database Server Administrator’s GuideData Pages and Data Row StorageIf the modified data row is longer than a page, OnLine fir

Strany 141 - Shared-Memory Header

System Architecture 2-131Data Pages and Data Row StorageIf the leading segment cannot fit into the current location of the row on thehome page, OnLine

Strany 142 - Shared-Memory Internal Tables

2-132 IBM Informix OnLine Database Server Administrator’s GuideData Pages and Data Row StorageFigure 2-31An updated rowthat is longer than afull page

Strany 143 - OnLine Chunk Table

System Architecture 2-133Structure of an Index PagePage CompressionOver time, the free space on a page can become fragmented. When OnLineattempts to s

Strany 144 - OnLine Dbspace Table

2-134 IBM Informix OnLine Database Server Administrator’s GuideStructure of an Index PageFigure 2-33 through Figure 2-36 illustrate the progressive cr

Strany 145 - OnLine Lock Table

System Architecture 2-135Structure of an Index PageThe byte partof the indexkey value isas long asneeded to containthe valueof the index key. If the i

Strany 146 - OnLine Tblspace Table

Introduction 9Icon ConventionsIcon ConventionsComment icons identify three types of information, as the following tabledescribes. This information alw

Strany 147

2-136 IBM Informix OnLine Database Server Administrator’s GuideStructure of an Index PageFigure 2-33representsthisinitialphaseofindexstorage.(Refertop

Strany 148 - OnLine User Table

System Architecture 2-137Structure of an Index PageFollowing is an example of some sample data from the stores5:customertable that is included in Figu

Strany 149 - Shared-Memory Buffer Pool

2-138 IBM Informix OnLine Database Server Administrator’s GuideStructure of an Index PageFigure 2-34 illustrates the root node page and the two leaf n

Strany 150 - Big Buffers

System Architecture 2-139Structure of an Index PageWhenthebytevalueisfollowedbyarowidandtwoaddresses,theindexkeyentry indicates that more than one dat

Strany 151 - OnLine LRU Queues

2-140 IBM Informix OnLine Database Server Administrator’s GuideStructure of an Index PageFigure 2-35To aidunderstanding, thisfigure uses lastnames andc

Strany 152

System Architecture 2-141Structure of an Index PageBranch Node PagesThefirstindexbranchnodeis createdaftertherootnodeandatleasttwoleafnodesexist. Regar

Strany 153 - LRU_MIN_DIRTY

2-142 IBM Informix OnLine Database Server Administrator’s GuideStructure of an Index PageFigure 2-36This representationof a complete indexincludes a r

Strany 154

System Architecture 2-143Structure of a Dbspace Bit-Map PageStructure of a Dbspace Bit-Map PageExtentscontainoneormorebit-mappagesthattrackfreepagesin

Strany 155 - Step 1: Identify the Data

2-144 IBM Informix OnLine Database Server Administrator’s GuideStructure of a Dbspace Bit-Map PageTwo bits are all that are needed to describe page fu

Strany 156

System Architecture 2-145Blob Storage and the Blob DescriptorBlob Storage and the Blob DescriptorDatarowsthatincludeblobdatadonotincludetheblobdataint

Strany 157 - Physical Log Buffer

10 IBM Informix OnLine Database Server Administrator’s GuideCommand-Line ConventionsElements That Can Appear on the PathYou might encounter one or mor

Strany 158 - Causes of Flushing

2-146 IBM Informix OnLine Database Server Administrator’s GuideStructure of a Dbspace Blob PageBlobs are never modified: only inserted or deleted. When

Strany 159 - Flushing a Full Buffer

System Architecture 2-147Structure of a Dbspace Blob PageFor more information about the role of the blob timestamps in maintainingtheconsistencyoftheb

Strany 160 - Logical Log Buffer

2-148 IBM Informix OnLine Database Server Administrator’s GuideBlobspace Page TypesBlobspace Page TypesEvery blobspace chunk contains three types of p

Strany 161

System Architecture 2-149Structure of a Blobspace BlobpageBlobpageTheblobpagecontainstheblobdata.BlobpagesizeisspecifiedbytheOnLineadministrator who cr

Strany 162 - Buffer Contents

2-150 IBM Informix OnLine Database Server Administrator’s GuideStructure of a Blobspace BlobpageFigure 2-38 illustrates the structure of a blobpage.Th

Strany 163

System Architecture 2-151Structure of a Blobspace BlobpageFigure 2-39 illustrates the different locations of the two pairs of timestampsthat appear on

Strany 164 - OnLine Checkpoints

2-152 IBM Informix OnLine Database Server Administrator’s GuidePhysical LogPhysical LogThe function of the physical log is to maintain a set of “befor

Strany 165 - Archive Checkpoints

System Architecture 2-153Physical LogBlobspace blobpages do not appear in the physical log because blobs arelogged differently than all other data typ

Strany 166 - U-L) and frees

2-154 IBM Informix OnLine Database Server Administrator’s GuideLogical Log FilesThis same unlikely scenario could occur during the rollback of a long

Strany 167 - System Architecture 2-73

System Architecture 2-155File RotationForfurtherinformationaboutwhathappensduringa logical logbackupthatmakes this possible, refer to page 4-26. For f

Strany 168 - MLRU queues reaches

Introduction 11Command-Line ConventionsHow to Read a Command-Line DiagramFigure 1 shows the elements of an OnLine utility command used to unloadOnLine

Strany 169 - LRU write

2-156 IBM Informix OnLine Database Server Administrator’s GuideFile ContentsFile ContentsThe logical log files contain five types of records: SQL data

Strany 170 - Idle Write

System Architecture 2-157Number and SizeYou cannot change the size of the logical log files after OnLine disk space isinitialized. If a logical log file

Strany 171 - Chunk Write

2-158 IBM Informix OnLine Database Server Administrator’s GuideBlobspace LoggingThe duration of a transaction is a key variable that might be beyond y

Strany 172 - Writing Data to a Blobspace

System Architecture 2-159Long TransactionsTo free a logical log, the log must be backed up to tape and all records withthe logical log must be part of

Strany 173

2-160 IBM Informix OnLine Database Server Administrator’s GuideLong TransactionsThe second long-transaction high-water mark, LTXEHWM, indicates that t

Strany 174

System Architecture 2-161Long TransactionsIf the transactions cannot be rolled back before the logical log fills, OnLineshuts down.If this occurs, youm

Strany 176 - BUFFSIZE in the configuration

3ChapterOperating OnLineIn This Chapter ... 3-5Changing Modes ... 3-6Types of OnLine Modes ... 3-6Offline

Strany 177

3-2 IBM Informix OnLine Database Server Administrator’s GuideLogical Log File Status ... 3-26Logical Log File ID Numbers ... 3

Strany 178 - Dbspace and Blobspace

Operating OnLine 3-3Change Pathname of Archive Tape Device ...3-52Change Block Size of Archive Tape Device ...3-55Change Tape Size of Ar

Strany 179 - Tblspace

12 IBM Informix OnLine Database Server Administrator’s GuideSample Code ConventionsTo construct a similar command, start at the top left with the comm

Strany 180 - Logical Log

3-4 IBM Informix OnLine Database Server Administrator’s GuideModify OnLine Configuration ... 3-87Create a Blobspace... 3-88D

Strany 181 - Structure of the Root Dbspace

Operating OnLine 3-5In This ChapterOccasionally, administrators conceive of a shortcut that seems like a goodidea. Because of the complexity of OnLine

Strany 182

3-6 IBM Informix OnLine Database Server Administrator’s GuideChanging ModesInthefinalsection,“ModifyOnLineConfiguration,”configuration-changingactionsare

Strany 183 - ■ Unused pages

Operating OnLine 3-7Types of OnLine ModesYou can determine the current OnLine mode by executing tbstat. The modeisdisplayedintheheader.Themodealsoappe

Strany 184

3-8 IBM Informix OnLine Database Server Administrator’s GuideFrom Offline to QuiescentFrom Offline to QuiescentWhen OnLine changes from offline to quiesc

Strany 185 - Structure of a Blobspace

Operating OnLine 3-9From Quiescent to OnlineExecute tbinit from the command line to take OnLine from offline to onlinemode.To verifythat OnLineis runni

Strany 186

3-10 IBM Informix OnLine Database Server Administrator’s GuideGracefully from Online to QuiescentGracefully from Online to QuiescentTake OnLine gracef

Strany 187 - OnLine Limits for Chunks

Operating OnLine 3-11Immediately from Online to QuiescentImmediately from Online to QuiescentTake OnLine immediately from online to quiescent mode whe

Strany 188

3-12 IBM Informix OnLine Database Server Administrator’s GuideFrom Any Mode Immediately to OfflineFrom Any Mode Immediately to OfflineThis is the proper

Strany 189 - Reserved Pages

Operating OnLine 3-13Logical Log AdministrationLogical Log AdministrationThis section discusses configuration and backup of logical log files.For an ove

Strany 190

Introduction 13Sample Code ConventionsTo use this SQL code for a specific product, you must apply the syntax rulesfor that product. For example, if you

Strany 191 - PAGE_CONFIG

3-14 IBM Informix OnLine Database Server Administrator’s GuideExamine Your Logical Log ConfigurationExamine Your Logical Log ConfigurationComplete the t

Strany 192

Operating OnLine 3-15Examine Your Logical Log ConfigurationFreeing the Logical Log FilesThe operator should monitor backed-up logical log files to ensur

Strany 193 - PAGE_DBSP

3-16 IBM Informix OnLine Database Server Administrator’s GuideExamine Your Logical Log ConfigurationIf you modify the initial configuration values, you

Strany 194 - PAGE_PCHUNK

Operating OnLine 3-17Examine Your Logical Log ConfigurationIf the LTAPEDEV and TAPEDEV values are the same, you must plan yourlogicallog file backupstol

Strany 195 - PAGE_MCHUNK

3-18 IBM Informix OnLine Database Server Administrator’s GuideChange Pathname of Logical Log Tape DeviceLocation of Logical Log FilesWhen OnLine disk

Strany 196 - PAGE_ARCH

Operating OnLine 3-19Change Pathname of Logical Log Tape DeviceIfyou are logged inasuserinformix, you canchangethe value ofLTAPEDEVfrom within DB-Moni

Strany 197 - Chunk Free-List Page

3-20 IBM Informix OnLine Database Server Administrator’s GuideChange Pathname of Logical Log Tape DeviceThe host machine where the tape device is atta

Strany 198

Operating OnLine 3-21Change Block Size of Logical Log Tape DeviceFrom the Command LineTo change the value of LTAPEDEV from the command line, use an ed

Strany 199 - Tblspace Number

3-22 IBM Informix OnLine Database Server Administrator’s GuideChange Tape Size of Logical Log Tape DeviceFrom the Command Line1. Use an editor to edit

Strany 200

Operating OnLine 3-23Change Maximum Number of Logical Log FilesFrom the Command Line1. To change the value of LTAPESIZE, use an editor to edit the file

Strany 201 - Database Tblspace

14 IBM Informix OnLine Database Server Administrator’s GuideAdditional DocumentationAdditional DocumentationFor additional information, refer to the f

Strany 202 - DATABASE

3-24 IBM Informix OnLine Database Server Administrator’s GuideChange Size of Logical Log FilesFrom DB-Monitor1. From within DB-Monitor, select the Par

Strany 203 - Track Systems Catalogs

Operating OnLine 3-25Change Size of Logical Log FilesFrom DB-Monitor1. From within DB-Monitor, first unload all OnLine data. Refer topage 4-53.2. Selec

Strany 204 - OnLine Limits for Databases

3-26 IBM Informix OnLine Database Server Administrator’s GuideLogical Log File StatusLogical Log File StatusYou can display the status of the logical

Strany 205

Operating OnLine 3-27Logical Log File ID NumbersLogical Log File ID NumbersOnLine tracks the logical log files by assigning each free log file a uniquen

Strany 206

3-28 IBM Informix OnLine Database Server Administrator’s GuideAdd a Logical Log FileIn general, log files becomefree after the file has been backedup to

Strany 207 - Tracking

Operating OnLine 3-29Add a Logical Log FileFrom DB-Monitor1. From within DB-Monitor, select the Parameters menu, Add-Logoption to add a logical log fil

Strany 208 - Structure of an Extent

3-30 IBM Informix OnLine Database Server Administrator’s GuideDrop a Logical Log FileDrop a Logical Log FileYou can drop a log to increase the amount

Strany 209 - Page Types

Operating OnLine 3-31Move a Logical Log File to Another DbspaceFrom the Command Line1. Fromthecommandline,executethetbparams utilitywiththe-dand-l (lo

Strany 210

3-32 IBM Informix OnLine Database Server Administrator’s GuideMove a Logical Log File to Another DbspaceThe following example illustrates moving six l

Strany 211 - Next Extent Allocation

Operating OnLine 3-33Change the Logging Status of a DatabaseChange the Logging Status of a DatabaseYou can make any one of the following changes to a

Strany 212

Introduction 15Error Message Files The DB-Access User’s Manual describes how to invoke the utility toaccess, modify, and retrieve information from On

Strany 213

3-34 IBM Informix OnLine Database Server Administrator’s GuideChange the Logging Status of a DatabaseAdding Logging to a DatabaseUnbuffered logging is

Strany 214 - Structure of a Dbspace Page

Operating OnLine 3-35Change the Logging Status of a DatabaseAdd logging to a database by executing one of these two commands:tbtape -s -B database (bu

Strany 215 - Slot Table

3-36 IBM Informix OnLine Database Server Administrator’s GuideBack Up a Logical Log FileYoucanchangetheloggingstatusforanynumberofdatabaseswiththesame

Strany 216

Operating OnLine 3-37Start Continuous Logical Log BackupIf you are logged in as user informix, you can back up a log file from withinDB-Monitoror fromt

Strany 217 - Data Row Format and Rowid

3-38 IBM Informix OnLine Database Server Administrator’s GuideEnd Continuous Logical Log BackupWhen you initiate Continuous-Backup, OnLine backs up an

Strany 218

Operating OnLine 3-39Switch to the Next Logical Log FileYou must explicitly request logical log backups (using the DB-Monitor Auto-Backup option or it

Strany 219 - System Architecture 2-125

3-40 IBM Informix OnLine Database Server Administrator’s GuideFree a Logical Log FileRefertopage 3-15fora discussionabouttheimportanceoffreeingthelogi

Strany 220 - Single-Page Storage

Operating OnLine 3-41Free a Logical Log FileStatus AIf a log file is newly added (status A), create a level-0 archive to activate thelog file and make i

Strany 221 - Multipage Storage

3-42 IBM Informix OnLine Database Server Administrator’s GuideIf the Logical Log Backup Cannot CompleteOnLine cannot freethis log. Todo so wouldpermit

Strany 222

Operating OnLine 3-43Archive AdministrationThisprocesscontinues with eachlogfileonTapeA.Whentherestoreprocessencounters the partial log at the end of T

Strany 223 - Storage of Modified Rows

Table of ContentsTable ofContentsIntroductionIn This Introduction ... 3About This Manual ... 3Organization of This Manual

Strany 224

16 IBM Informix OnLine Database Server Administrator’s GuideError Message FilesThemessagesnumbered-1to-100canbeplatform-dependent.Ifthemessagetext for

Strany 225 - System Architecture 2-131

3-44 IBM Informix OnLine Database Server Administrator’s GuideArchive TypesAn online archive is an archive that is created while OnLine is online andd

Strany 226

Operating OnLine 3-45Archive TypesLevel-1 ArchiveAlevel-1archivecontains a copy of every disk page thathaschangedsincethelastlevel-0archive.Alldiskpag

Strany 227 - Structure of an Index Page

3-46 IBM Informix OnLine Database Server Administrator’s GuideHow Long Will an Archive Take?How Long Will an Archive Take?Thenumberof variables that y

Strany 228 - The Root Node Page

Operating OnLine 3-47Plan the Archive SchedulePlan the Archive ScheduleEach of the following considerations affects the archive schedule you createfor

Strany 229

3-48 IBM Informix OnLine Database Server Administrator’s GuidePlan the Archive Schedule Size and number of archives. The minimum number of archives i

Strany 230 - Leaf Node Pages

Operating OnLine 3-49Plan the Archive ScheduleMinimize Archive TimeYou can reduce the number of disk pages that must be copied during anarchivebystori

Strany 231

3-50 IBM Informix OnLine Database Server Administrator’s GuideExamine Your Archive ConfigurationIf the logical log files fill in spite of these precautio

Strany 232 - Index Key Entries

Operating OnLine 3-51Examine Your Archive ConfigurationForfurtherinformationabouttherelationshipofthecurrentconfigurationtothe values in the configuratio

Strany 233

3-52 IBM Informix OnLine Database Server Administrator’s GuideChange Pathname of Archive Tape DeviceIftheTAPEDEV andLTAPEDEVvaluesarethesame,youmust e

Strany 234

Operating OnLine 3-53Change Pathname of Archive Tape DeviceIf you change the pathname to /dev/null, the change proceeds moresmoothly if you make the c

Strany 235 - Branch Node Pages

Introduction 17Error Message FilesThe rofferr ScriptUse the rofferr script to format one error message or a range of errormessages forprinting. By def

Strany 236

3-54 IBM Informix OnLine Database Server Administrator’s GuideChange Pathname of Archive Tape DeviceTo specify anarchivetapedeviceon another hostmachi

Strany 237 - 2-Bit Bit-Mapped Pages

Operating OnLine 3-55Change Block Size of Archive Tape DeviceFrom the Command Line1. Use an editor to edit the file specified by$INFORMIXDIR/etc/$TBCONF

Strany 238 - 4-Bit Bit-Mapped Pages

3-56 IBM Informix OnLine Database Server Administrator’s GuideChange Tape Size of Archive Tape DeviceFrom the Command Line1. To change the value of TA

Strany 239

Operating OnLine 3-57Create an Archive, Any TypeFrom the Command Line1. To change the value of TAPESIZE from the command line, use aneditor to edit th

Strany 240

3-58 IBM Informix OnLine Database Server Administrator’s GuideCreate an Archive, Any TypeAgoodpracticetofollowistolabel archivetapeswiththearchiveleve

Strany 241

Operating OnLine 3-59If the Logical Log Files Fill During an Archive3. Place a write-enabled tape on the tape drive device (defined byTAPEDEV). Put the

Strany 242 - Blobspace Page Types

3-60 IBM Informix OnLine Database Server Administrator’s GuideIf an Archive Terminates PrematurelyOne Tape DriveIf onlyone tapedevice isavailable toOn

Strany 243

Operating OnLine 3-61Monitor OnLine ActivityMonitor OnLine ActivityMany OnLine structures can be monitored for more than one kind of infor-mation. For

Strany 244

3-62 IBM Informix OnLine Database Server Administrator’s GuideMonitor Archive HistoryFrom the Command LineFrom the command line, execute tbcheck -pr t

Strany 245

Operating OnLine 3-63Monitor Blobs in a BlobspaceMonitor Blobs in a BlobspaceDB-Monitor measures blobspace availability by providing the number ofused

Strany 246

18 IBM Informix OnLine Database Server Administrator’s GuideDocumentation Notes, Release Notes, Machine NotesUsing the PostScript Error Message FilesU

Strany 247

3-64 IBM Informix OnLine Database Server Administrator’s GuideMonitor Blobs in a BlobspaceFrom the Command LineFrom the command line, execute tbstat -

Strany 248 - Logical Log Files

Operating OnLine 3-65Monitor Blobs in a DbspaceThe number of free blobpages is derived from the information stored in theshared-memory version of the

Strany 249 - File Rotation

3-66 IBM Informix OnLine Database Server Administrator’s GuideMonitor BuffersMonitor BuffersUse the tbstat -b, -X, and -B options to identify a specifi

Strany 250 - Number and Size

Operating OnLine 3-67Monitor Bufferstbstat -BExecute tbstat -B to obtain the following buffer statistics: Address of every regular shared-memory buff

Strany 251

3-68 IBM Informix OnLine Database Server Administrator’s GuideMonitor Buffer-Pool ActivityMonitor Buffer-Pool ActivityMonitor buffer-pool activity to

Strany 252 - Blobspace Logging

Operating OnLine 3-69Monitor Checkpointstbstat -RExecute tbstat -R to obtain information about the number of buffers in eachLRU queue and the number a

Strany 253 - Long Transactions

3-70 IBM Informix OnLine Database Server Administrator’s GuideMonitor ChunksA checkpoint check is performed if the time specified by CKPTINTVL haselaps

Strany 254

Operating OnLine 3-71Monitor ChunksThe second screen display lists the following chunk information for eachdbspace: Chunk ID Chunk pathname and offs

Strany 255

3-72 IBM Informix OnLine Database Server Administrator’s GuideMonitor ChunksExecutetbcheck -pr to obtainthechunkinformationthat is storedinthe rootdbs

Strany 256

Operating OnLine 3-73Monitor Configuration InformationA second solution to chunkfragmentation is tounload and reload the tablesin the chunk.To prevent

Strany 257 - Operating OnLine

Introduction 19Related ReadingRelated ReadingIf you have had no prior experience with database management, you maywant to refer to an introductory tex

Strany 258

3-74 IBM Informix OnLine Database Server Administrator’s GuideMonitor DatabasesReferto page 2-97 foradetaileddescriptionof each fieldintheconfigurationr

Strany 259 - Operating OnLine 3-3

Operating OnLine 3-75Monitor DbspacesBecause tbcheck -pc derives its information directly from the tblspace, youdo not need to run the UPDATE STATISTI

Strany 260

3-76 IBM Informix OnLine Database Server Administrator’s GuideMonitor DbspacesThe chunk status flags are defined as follows:From the Command LineFrom th

Strany 261

Operating OnLine 3-77Monitor Disk PagesMonitor Disk PagesUse these options to obtain the specific data row rowid or to view a specificpage in ASCII (and

Strany 262 - Changing Modes

3-78 IBM Informix OnLine Database Server Administrator’s GuideMonitor ExtentsIfyouprefertouseatblspacenumberandpagenumber,thetblspacenumberis stored a

Strany 263 - DB-Monitor

Operating OnLine 3-79Monitor Index InformationOnesolutiontochunkfragmentationistoclusterthe index of all tables in thechunk using the ALTER TABLE stat

Strany 264 - From Offline to Online

3-80 IBM Informix OnLine Database Server Administrator’s GuideMonitor Logging ActivityExecutethe-pkor-pKoptionsoftbchecktoobtainallpageinformation.(Th

Strany 265 - From Quiescent to Online

Operating OnLine 3-81Monitor Logging ActivityProcessing stops if OnLine attempts to switch to the next logical log file andfinds that the log file status

Strany 266 - From the Command Line

3-82 IBM Informix OnLine Database Server Administrator’s GuideMonitor the Message LogExecute tbcheck -pr to obtain detailed logical log file informatio

Strany 267

Operating OnLine 3-83Monitor OnLine ProfileMonitor OnLine ProfileMonitor the OnLine profile to analyze performance over time. The Profilescreenmaintainscu

Strany 268

20 IBM Informix OnLine Database Server Administrator’s GuideIBM Welcomes Your CommentsIBM Welcomes Your CommentsTo help us with future versions of our

Strany 269 - Logical Log Administration

3-84 IBM Informix OnLine Database Server Administrator’s GuideMonitor Shared Memory and LatchesMonitor Shared Memory and LatchesMonitor shared memory

Strany 270 - Logical Log File Backups

Operating OnLine 3-85Monitor TblspacesMonitor TblspacesMonitor tblspaces to determine current space availability and allocation bytable.Forfurtherinfo

Strany 271 - Freeing the Logical Log Files

3-86 IBM Informix OnLine Database Server Administrator’s GuideMonitor Users and TransactionsMonitor Users and TransactionsMonitor users’ database serv

Strany 272 - Configuration Parameters

Operating OnLine 3-87Modify OnLine ConfigurationIf you execute tbstat -u while OnLine is performing fast recovery, severaldatabase server processes mig

Strany 273 - LTAPEBLK and LTAPESIZE

3-88 IBM Informix OnLine Database Server Administrator’s GuideCreate a Blobspace Physical log❑ “Change Physical Log Location or Size” on page 3-107

Strany 274 - Location of Logical Log Files

Operating OnLine 3-89Create a BlobspacePreliminary ConsiderationsVerifythatthe DBSPACES valueinthe configuration filewill not be exceeded.DBSPACES refer

Strany 275 - Preliminary Consideration

3-90 IBM Informix OnLine Database Server Administrator’s GuideCreate a BlobspaceTocontinuetheexample,assumeyourOnLinepagesizeis2KB.Ifyoudecideon a 12-

Strany 276

Operating OnLine 3-91Drop a BlobspaceFrom the Command LineFrom the command line, execute the tbspaces utility with the followingoptions and parameters

Strany 277

3-92 IBM Informix OnLine Database Server Administrator’s GuideChange the Number of Buffers in the PoolIf you are logged in as user informix, you can d

Strany 278

Operating OnLine 3-93Change the Size of Either Log BufferFrom DB-Monitor1. From within DB-Monitor, select the Parameters menu, Shared-Memory option to

Strany 279

1ChapterInstallation and InitialConfigurationIn This Chapter ... 1-5Define Your Starting Point ... 1-6Upgrade an Earlier V

Strany 280

3-94 IBM Informix OnLine Database Server Administrator’s GuideAdd a ChunkFrom DB-Monitor1. From DB-Monitor, select the Parameters menu, Shared-Memoryo

Strany 281

Operating OnLine 3-95Add a ChunkIf you areallocating arawdisk device,youmight needtospecify an offset topreserve track 0 information used by your UNIX

Strany 282 - Logical Log File Status

3-96 IBM Informix OnLine Database Server Administrator’s GuideChange the Maximum Number of ChunksFrom the Command LineFrom the command line, execute t

Strany 283 - Logical Log File ID Numbers

Operating OnLine 3-97Create a DbspaceFrom DB-Monitor1. From within DB-Monitor, select the Parameters menu, Shared-Memory option tochangethe maximum nu

Strany 284 - Add a Logical Log File

3-98 IBM Informix OnLine Database Server Administrator’s GuideCreate a DbspaceYou can create a dbspace while OnLine is in online mode. The newly added

Strany 285

Operating OnLine 3-99Drop a DbspaceAll options and parameters except -o and -m are required. The followingexample creates a mirrored dbspace dbspce5.

Strany 286 - Drop a Logical Log File

3-100 IBM Informix OnLine Database Server Administrator’s GuideEnforce/Turn Off Residency for This SessionFrom the Command LineFrom the command line,

Strany 287

Operating OnLine 3-101Change the Status of a Mirrored ChunkIf you are logged in as user informix, you can create a dbspace withinDB-Monitoror fromthe

Strany 288

3-102 IBM Informix OnLine Database Server Administrator’s GuideChange the Status of a Mirrored ChunkWhen you initiaterecoveryfor a “down” mirroredchun

Strany 289 - ■ End logging for a database

Operating OnLine 3-103Change the Status of a Mirrored ChunkFrom DB-Monitor1. FromwithinDB-Monitor, select theDbspacesmenu, Status optiontochange the s

Strany 290 - Adding Logging to a Database

1-2 IBM Informix OnLine Database Server Administrator’s GuideMessage File Guidelines ... 1-28MSGPATH... 1-28CONSOLE ...

Strany 291

3-104 IBM Informix OnLine Database Server Administrator’s GuideEnable MirroringEnable MirroringMirroring activity does not begin until you define mirro

Strany 292 - Back Up a Logical Log File

Operating OnLine 3-105Start/End Mirroring in a Blobspace or DbspaceFrom the Command Line1. Fromthecommand line, changethevalue ofMIRROR to1. To do thi

Strany 293

3-106 IBM Informix OnLine Database Server Administrator’s GuideStart/End Mirroring in a Blobspace or DbspaceCreate the mirror chunk on a separate devi

Strany 294

Operating OnLine 3-107Change Physical Log Location or SizeTo start or end mirroring1. Select the Dbspaces menu, Mirror option.Every OnLine blobspace a

Strany 295 - Free a Logical Log File

3-108 IBM Informix OnLine Database Server Administrator’s GuideChange Physical Log Location or SizeCreate a level-0 archive immediately after you rein

Strany 296

Operating OnLine 3-109Change the Checkpoint IntervalFrom the Command LineFrom the command line, execute the tbparams utility with the followingoptions

Strany 297

3-110 IBM Informix OnLine Database Server Administrator’s GuideChange the Destination of Console MessagesTo change the value of CKPTINTVL from the com

Strany 298 - DB-Monitor Force

Operating OnLine 3-111Change the Maximum Number of Dbspaces4. Whenasecondpromptappearstoconfirmthatyouwanttocontinue(to initialize OnLine disk space an

Strany 299 - Archive Administration

3-112 IBM Informix OnLine Database Server Administrator’s GuideChange the Maximum Number of LocksFrom the Command Line1. To change the value of DBSPAC

Strany 300 - Level-0 Archive

Operating OnLine 3-113Change the Maximum Number of TblspacesChange the Maximum Number of TblspacesThe maximum number of active tblspaces permitted by

Strany 301 - Incremental Archive Strategy

Installation and Initial Configuration 1-3OnLine Disk Space Allocation ...1-40Allocate Raw Disk Space or Cooked Files?...1-40How Much

Strany 302

3-114 IBM Informix OnLine Database Server Administrator’s GuideChange the Maximum Number of UsersChange the Maximum Number of UsersUsers,inthiscontext

Strany 303 - Plan the Archive Schedule

Operating OnLine 3-115Change the Number of Page CleanersFrom the Command Line1. To change the value of USERS from the command line, use an editorto ed

Strany 304 - Minimize Restore Time

3-116 IBM Informix OnLine Database Server Administrator’s GuideThings to AvoidFrom the Command Line1. To change the value of CLEANERS from the command

Strany 305 - Single Tape Drive

4ChapterData Consistency, Recovery,and MigrationIn This Chapter ... 4-5Consistency Checking... 4-6Using the tbcheck Co

Strany 306 - Operator Availability

4-2 IBM Informix OnLine Database Server Administrator’s GuideWhat Happens During Logical Log Backup ... 4-26Ready LTAPEDEV ... 4

Strany 307 - The Archives

Data Consistency, Recovery, and Migration 4-3Initiate Data Restore from Offline Mode ...4-49Mount Level-0 Archive Tape ...4-49Verif

Strany 308 - TAPEBLK and TAPESIZE

4-4 IBM Informix OnLine Database Server Administrator’s Guide

Strany 309 - Preliminary Considerations

Data Consistency, Recovery, and Migration 4-5In This ChapterSeveral OnLine tasks that are critical to long-term operation are performedautomatically.

Strany 310

4-6 IBM Informix OnLine Database Server Administrator’s GuideConsistency CheckingConsistency CheckingOnLine 5 contains a page-level layer of checks th

Strany 311

Data Consistency, Recovery, and Migration 4-7Using the tbcheck Commandstbcheck -crExecute tbcheck -cr to validate the OnLine reserved pages that resid

Strany 312

1-4 IBM Informix OnLine Database Server Administrator’s Guide

Strany 313 - Create an Archive, Any Type

4-8 IBM Informix OnLine Database Server Administrator’s GuideUsing the OnLine Message Logtbcheck -cIExecutetbcheck-cIforeachdatabasetovalidateindexeso

Strany 314

Data Consistency, Recovery, and Migration 4-9Setting Consistency-Checking VariablesThe problem text briefly describes the type of consistency error. Th

Strany 315 - Two Tape Drives

4-10 IBM Informix OnLine Database Server Administrator’s GuideSetting Consistency-Checking Variables(Acoredumpisanimageofthedatabaseserverprocessinmem

Strany 316 - One Tape Drive

Data Consistency, Recovery, and Migration 4-11Setting Consistency-Checking VariablesDUMPCORESet the DUMPCORE environmental variable as an alternative

Strany 317 - Monitor OnLine Activity

4-12 IBM Informix OnLine Database Server Administrator’s GuideRecovering from CorruptionSet the DUMPSHMEM environment variable at the system prompt or

Strany 318 - Monitor Archive History

Data Consistency, Recovery, and Migration 4-13Recovering from CorruptionOnLine alerts the user and administrator to possible corruption through thefol

Strany 319 - Monitor Blobs in a Blobspace

4-14 IBM Informix OnLine Database Server Administrator’s GuideMirroringIfthe downchunk ismirrored,OnLinecontinues to operateusingthe mirrorchunk. Use

Strany 320

Data Consistency, Recovery, and Migration 4-15BeginningRecover a mirrored chunk through the DB-Monitor Dbspaces menu, Statusoption or through the tbsp

Strany 321 - Monitor Blobs in a Dbspace

4-16 IBM Informix OnLine Database Server Administrator’s GuideProcessingThe reason for the delay is to ensure a proper restore. The level-0 archivecop

Strany 322 - Monitor Buffers

Data Consistency, Recovery, and Migration 4-17RecoveryImportant: If OnLine detects an I/O error on a chunk that is not mirrored, OnLinemarks the chunk

Strany 323

Installation and Initial Configuration 1-5In This ChapterThis chapter describes how to get started administering your IBM InformixOnLine environment.Y

Strany 324 - Monitor Buffer-Pool Activity

4-18 IBM Informix OnLine Database Server Administrator’s GuideOnLine Logging OverviewOnLine Logging OverviewThelogicallogfilesareatthecenterofallOnLine

Strany 325 - Monitor Checkpoints

Data Consistency, Recovery, and Migration 4-19Dbspace LoggingDbspace LoggingOnLine logs dbspacedata operationsin six steps,illustrated inFigure 4-1onp

Strany 326 - Monitor Chunks

4-20 IBM Informix OnLine Database Server Administrator’s GuideDbspace LoggingFigure 4-1OnLine logsdbspaceoperations in sixsteps.OnLine disk1243356Data

Strany 327

Data Consistency, Recovery, and Migration 4-21Dbspace LoggingIn general, an insert or an update begins when a database server processrequests a row. O

Strany 328

4-22 IBM Informix OnLine Database Server Administrator’s GuideBlobspace LoggingBlobspace LoggingOnLine logs blobspace data in three steps, illustrated

Strany 329

Data Consistency, Recovery, and Migration 4-23Blobspace LoggingFigure 4-2OnLine logsblobspaceoperations in threesteps.OnLinesharedmemoryOnLine diskBlo

Strany 330 - Monitor Databases

4-24 IBM Informix OnLine Database Server Administrator’s GuideBlobspace LoggingOperations LoggingOnLine does not copy blobspace data to the logical lo

Strany 331 - Monitor Dbspaces

Data Consistency, Recovery, and Migration 4-25Blobspace LoggingOnLine allocates and deallocates blobpages via the blobspace free-mappages. (Refer to p

Strany 332

4-26 IBM Informix OnLine Database Server Administrator’s GuideWhat Happens During Logical Log BackupFor further information about what happens during

Strany 333 - Monitor Disk Pages

Data Consistency, Recovery, and Migration 4-27Ready LTAPEDEVReady LTAPEDEVWhenyourequestalogicallog backup,youarepromptedtomountatapeonthe tape device

Strany 334 - Monitor Extents

iv IBM Informix OnLine Database Server Administrator’s GuideChapter 1 Installation and Initial ConfigurationIn This Chapter ... 1-5Defin

Strany 335 - Monitor Index Information

1-6 IBM Informix OnLine Database Server Administrator’s GuideDefine Your Starting PointDefine Your Starting PointThissectiondirectsyoutothestartingpoint

Strany 336 - Monitor Logging Activity

4-28 IBM Informix OnLine Database Server Administrator’s GuidePlace Log Header on TapeEach blobpage that was allocated during the time that this log fi

Strany 337

Data Consistency, Recovery, and Migration 4-29Write Log Records to TapeWrite Log Records to TapeThe tbtape process begins copying each page in the log

Strany 338 - Monitor the Message Log

4-30 IBM Informix OnLine Database Server Administrator’s GuideWrite Trailer PageIf the backup was initiated explicitly through tbtape -a or Auto-Backu

Strany 339 - Monitor OnLine Profile

Data Consistency, Recovery, and Migration 4-31Read Archive History Information5. tbtape forces a checkpoint.6. tbtape synchronizes activity with the t

Strany 340

4-32 IBM Informix OnLine Database Server Administrator’s GuideVerify the Archive LevelVerify the Archive LevelAs part of the archive request, you spec

Strany 341 - Monitor Tblspaces

Data Consistency, Recovery, and Migration 4-33Synchronize tbtape and tbinit Activities(It is likely that some transactions are ongoing during an onlin

Strany 342

4-34 IBM Informix OnLine Database Server Administrator’s GuideSynchronize tbtape and tbinit ActivitiesThe answer is that tbtape and tbinit synchronize

Strany 343 - Modify OnLine Configuration

Data Consistency, Recovery, and Migration 4-35Write Tape Header PageArchive blobpagesThe second task facing tbtape is to prevent database server proce

Strany 344 - Create a Blobspace

4-36 IBM Informix OnLine Database Server Administrator’s GuideArchive Reserved PagesWith this action, the root dbspace reserved pages receive acknowle

Strany 345

Data Consistency, Recovery, and Migration 4-37Determine Archive CriteriaDetermine Archive CriteriaAs tbtape reads each disk page, it applies a set of

Strany 346

Installation and Initial Configuration 1-7Upgrade an Earlier Version of OnLineIf you are installing OnLine 5.x and plan to run it on the same host mac

Strany 347 - Drop a Blobspace

4-38 IBM Informix OnLine Database Server Administrator’s GuideArchive Disk Pages That Meet CriteriaA level-1 archive directs tbtape to consider a narr

Strany 348

Data Consistency, Recovery, and Migration 4-39Fast RecoveryFast RecoveryFast recovery is an automatic, fault tolerance feature that OnLine executesany

Strany 349

4-40 IBM Informix OnLine Database Server Administrator’s GuideFast Recovery and LoggingThe aim of fast recovery is to return OnLine to a consistent st

Strany 350 - Add a Chunk

Data Consistency, Recovery, and Migration 4-41Step 1: Checkpoint ConditionStep 1: Checkpoint ConditionThe first step, returning all disk pages to their

Strany 351

4-42 IBM Informix OnLine Database Server Administrator’s GuideStep 2: Find Checkpoint Record in Logical LogOnce this information is read, it also iden

Strany 352

Data Consistency, Recovery, and Migration 4-43Step 3: Roll Forward Log RecordsStep 3: Roll Forward Log RecordsThe third step in fast recovery is to ro

Strany 353 - Create a Dbspace

4-44 IBM Informix OnLine Database Server Administrator’s GuideStep 4: Roll Back Incomplete TransactionsStep 4: Roll Back Incomplete TransactionsThe fin

Strany 354

Data Consistency, Recovery, and Migration 4-45Data Restore: When Should You Do It?Data Restore: When Should You Do It?Three types of situations could

Strany 355 - Drop a Dbspace

4-46 IBM Informix OnLine Database Server Administrator’s GuideSteps That Occur During a Data Restore7. Mount the first level-0 archive tape on TAPEDEV.

Strany 356 - Enforce/Turn Off Residency

Data Consistency, Recovery, and Migration 4-47Gather All Tapes Needed for RestoreGather All Tapes Needed for RestoreTo restore OnLine, you need all ar

Strany 357

1-8 IBM Informix OnLine Database Server Administrator’s GuideUpgrade an Earlier Version of OnLineCreate a Level-0 ArchiveAsk all users to exit their a

Strany 358

4-48 IBM Informix OnLine Database Server Administrator’s GuideVerify OnLine ConfigurationLogicallogs files that remainondiskand which havenotyetbeenback

Strany 359

Data Consistency, Recovery, and Migration 4-49Initiate Data Restore from Offline ModeVerify that all raw devices that have been in use since the level-

Strany 360 - Enable Mirroring

4-50 IBM Informix OnLine Database Server Administrator’s GuideVerify Current ConfigurationVerify Current ConfigurationAs its first task, tbtape reads the

Strany 361 - Start Mirroring

Data Consistency, Recovery, and Migration 4-51Write Each Archive Page to DiskWrite Each Archive Page to DiskIt might be that your configuration defines

Strany 362 - End Mirroring

4-52 IBM Informix OnLine Database Server Administrator’s GuideOnLine Is QuiescentMount thecorrect tape on LTAPEDEV. Verify that the tape drive is onli

Strany 363

Data Consistency, Recovery, and Migration 4-53Database and Table MigrationThe correct method for you depends on your processing environment andwhatyou

Strany 364

4-54 IBM Informix OnLine Database Server Administrator’s GuideDescription of Migration MethodsDescription of Migration MethodsThis section provides an

Strany 365

Data Consistency, Recovery, and Migration 4-55Description of Migration Methodsdbexport/dbimportThe dbexport and dbimport utility pair operates only on

Strany 366

4-56 IBM Informix OnLine Database Server Administrator’s GuideDescription of Migration MethodsFigure 4-10Description ofmigration methods}}}}}}UNLOAD/d

Strany 367

Data Consistency, Recovery, and Migration 4-57Which Migration Method Is Best for You?Which Migration Method Is Best for You?Eachofthemigrationmethodsi

Strany 368

Installation and Initial Configuration 1-9Upgrade an Earlier Version of OnLineRun tbcheckVerifythe integrity oftheupgraded 5.x databasesbefore you con

Strany 369

4-58 IBM Informix OnLine Database Server Administrator’s GuideWhich Migration Method Is Best for You?Figure 4-12Seconddecision treesummarizing thechoi

Strany 370

Data Consistency, Recovery, and Migration 4-59Which Migration Method Is Best for You?InthechoicebetweenLOADordbload,thetrade-offisease-of-useandspeedv

Strany 371

4-60 IBM Informix OnLine Database Server Administrator’s GuideUsing UNLOAD with LOAD or dbloadUsing UNLOAD with LOAD or dbloadThissection describes th

Strany 372 - Things to Avoid

Data Consistency, Recovery, and Migration 4-61Using UNLOAD with LOAD or dbloadCreate and Edit the Schema File FirstUse dbschema to create a schema file

Strany 373 - Data Consistency, Recovery

4-62 IBM Informix OnLine Database Server Administrator’s GuideUsing dbexport and dbimportUse LOAD or dbload to Populate the TablesIf you plan to use t

Strany 374

Data Consistency, Recovery, and Migration 4-63Using tbunload and tbloadThe.sql file does notcontainall table informationavailable fromtheexistingdataba

Strany 375

4-64 IBM Informix OnLine Database Server Administrator’s GuideUsing tbunload and tbloadtbunloadThe tbunload utility can unload data more quickly than

Strany 376

Data Consistency, Recovery, and Migration 4-65Migrating Data from OnLine to SE tbload createsadatabase without logging;youmust initiate loggingafter

Strany 377

4-66 IBM Informix OnLine Database Server Administrator’s GuideMigrating Data from SE to OnLineFormoreinformationaboutthedifferencesbetweenthetwodataba

Strany 378 - Consistency Checking

Formoreinformationaboutthedifferencesbetweenthetwodatabaseserversand their interpretation of SQL, refer to IBM Informix Guide to SQL: Reference.

Strany 379 - Using the tbcheck Commands

1-10 IBM Informix OnLine Database Server Administrator’s GuideOverview of OnLine Installation StepsOverview of OnLine Installation StepsInstallingOnLi

Strany 380 - Using the OnLine Message Log

4-68 IBM Informix OnLine Database Server Administrator’s GuideMigrating Data from SE to OnLine

Strany 381 - ISAM error is returned:

5ChapterHow to Improve PerformanceIn This Chapter ... 5-3Disk Layout ... 5-4Optimize Blobspace Blobpage Size ...

Strany 382

5-2 IBM Informix OnLine Database Server Administrator’s GuideCheckpoint Frequency... 5-20Performance Tradeoffs ... 5-20How

Strany 383 - DUMPSHMEM

How to Improve Performance 5-3In This ChapterWith each OnLine release, Informix engineers incorporate new code thatincreases processing efficiency, red

Strany 384 - Recovering from Corruption

5-4 IBM Informix OnLine Database Server Administrator’s GuideDisk LayoutPerformance-tuning issues are addressed as six topics in this chapter: When i

Strany 385

How to Improve Performance 5-5Optimize Blobspace Blobpage SizeOptimize Blobspace Blobpage SizeFamiliarize yourself with the OnLine approach to blobspa

Strany 386 - Mirroring

5-6 IBM Informix OnLine Database Server Administrator’s Guidetbcheck -pB and tbcheck -pe Utility CommandsRefer to page 7-38 for tbcheck -pB and tbchec

Strany 387 - Beginning

How to Improve Performance 5-7Blobpage Average FullnessThe example output indicates that four blobs are stored as part of the tablesriram.catalog. Two

Strany 388 - Processing

5-8 IBM Informix OnLine Database Server Administrator’s GuideApply Effective CriteriaApply Effective CriteriaLooking at the efficiency information for

Strany 389 - Recovery

How to Improve Performance 5-9Eliminate User-Created Resource Bottlenecks Do not perform mass updates on frequently accessed tables.During an update,

Strany 390 - OnLine Logging Overview

Installation and Initial Configuration 1-11OnLine Configuration FilesOnLine Configuration FilesYou are notlimited to just one configuration file. You can

Strany 391 - Dbspace Logging

5-10 IBM Informix OnLine Database Server Administrator’s GuideWhen Is Tuning Needed?When Is Tuning Needed?As administrator, attempt to follow as close

Strany 392

How to Improve Performance 5-11ovtbls, ovlock, ovuser, and ovbuff FieldsRefer to page 5-17 for more details about using these fields to modify thevalue

Strany 393

5-12 IBM Informix OnLine Database Server Administrator’s GuideBufsize Pages/IO FieldsBuffer size and the amount of I/O per write are reported by the D

Strany 394

How to Improve Performance 5-13Shared-Memory BuffersShared-Memory BuffersIn general, you want to allocate shared-memory buffers to OnLine until youno

Strany 395

5-14 IBM Informix OnLine Database Server Administrator’s GuideShared-Memory ResourcesImportant: Low caching percentages might reflect improperly tuned

Strany 396 - Operations Rollback

How to Improve Performance 5-15How Is Tuning Done?How Is Tuning Done?You can increase the number of shared-memory resources by increasing thevalueofTB

Strany 397 - Blob Restoration

5-16 IBM Informix OnLine Database Server Administrator’s GuideHow Is Tuning Done?How Is Tuning Done?If the value of Pages/IO is 75 percent or more of

Strany 398

How to Improve Performance 5-17Page-Cleaner ParametersPage-Cleaner ParametersIn the discussion of page-cleaning tuning, it is especially true that you

Strany 399 - Copy Blobpages

5-18 IBM Informix OnLine Database Server Administrator’s GuideEfficient Page CleaningYou should still avoid foreground writes and LRU writes, displayed

Strany 400 - Place Log Header on Tape

How to Improve Performance 5-19How Is Tuning Done?How Is Tuning Done?If the cached-read percentage is lower than 95 percent, you might be able toimpro

Strany 401 - Write Log Records to Tape

1-12 IBM Informix OnLine Database Server Administrator’s GuideOnLine Configuration FilesIf you modify the configuration file while OnLine is online, you

Strany 402 - Write Trailer Page

5-20 IBM Informix OnLine Database Server Administrator’s GuideCheckpoint FrequencyCheckpoint FrequencyFamiliarize yourself with the definition ofa chec

Strany 403 - Mount a Tape on TAPEDEV

How to Improve Performance 5-21How Is Tuning Done?How Is Tuning Done?Thefirststepintuningisto determine the cause of frequentcheckpoints.Arethe checkpo

Strany 404 - Force a Checkpoint

5-22 IBM Informix OnLine Database Server Administrator’s GuidePsort Parallel-Process Sorting PackagePsort Parallel-Process Sorting PackagePsortisasort

Strany 405 - Purpose of Data Snapshot

How to Improve Performance 5-23Tuning PsortTuning PsortIf PSORT_NPROCS is set to 0, Psort uses three as the default number ofprocesses for the sort.Wh

Strany 406 - Archive Disk Pages

5-24 IBM Informix OnLine Database Server Administrator’s GuidePsort and Shared MemoryPsort and Shared MemoryEach parallel sort uses one UNIX shared-me

Strany 407 - Write Tape Header Page

How to Improve Performance 5-25SPINCNT Configuration ParameterThe number of times that a user process spins and tests is specified by theconfiguration pa

Strany 409 - Determine Archive Criteria

6ChapterDB-Monitor ScreensIn This Chapter ... 6-3Main Menu ... 6-4Status Menu ... 6-5Parameters Men

Strany 410 - Update the Reserved Pages

6-2 IBM Informix OnLine Database Server Administrator’s Guide

Strany 411

DB-Monitor Screens 6-3In This ChapterThis chapter serves as a reference for the DB-Monitor screens. You can use itto quickly determine the purpose and

Strany 412 - Fast Recovery and Logging

Installation and Initial Configuration 1-13Contents of tbconfig.stdContents of tbconfig.stdThe tbconfig.std file contains all OnLine configuration paramete

Strany 413 - Step 1: Checkpoint Condition

6-4 IBM Informix OnLine Database Server Administrator’s GuideMain MenuMain MenuMenuItemStatus Parameters Dbspaces ModeForce-CkptArchive Logical-Logs E

Strany 414

DB-Monitor Screens 6-5Status MenuStatus MenuOption Description See page...ProfileUse the Profile option to display OnLine perfor-mance statistics.3-83U

Strany 415

6-6 IBM Informix OnLine Database Server Administrator’s GuideParameters MenuParameters MenuOption Description See page...Initialize Use the Initialize

Strany 416

DB-Monitor Screens 6-7Dbspaces MenuDbspaces MenuOption Description See page...Create Use the Create option to create a dbspace.3-97BLOBSpace Use the B

Strany 417

6-8 IBM Informix OnLine Database Server Administrator’s GuideMode MenuMode MenuOption Description See page...Startup Use the Startup option to initial

Strany 418

DB-Monitor Screens 6-9Force-Ckpt OptionForce-Ckpt OptionDescription See page...Use the Force-Ckpt option to see the time of the most recent check-poin

Strany 419

6-10 IBM Informix OnLine Database Server Administrator’s GuideArchive MenuArchive MenuOption Description See page...Create Use the Create option to cr

Strany 420 - Verify OnLine Configuration

DB-Monitor Screens 6-11Logical-Logs MenuLogical-Logs MenuOption Description See page...Auto-Backup UsetheAuto-BackupoptiontodirectOnLine tobackup allf

Strany 422 - Prompt for Logical Log Backup

7ChapterUtilitiesIn This Chapter ... 7-5dbexport: Unload a Database and Schema File ... 7-5Syntax ... 7-6Des

Strany 423 - Roll Forward Logical Logs

1-14 IBM Informix OnLine Database Server Administrator’s GuideContents of tbconfig.stdDBSPACES specifies the maximum number of dbspaces supported by thi

Strany 424 - Database and Table Migration

7-2 IBM Informix OnLine Database Server Administrator’s Guidetbcheck: Check, Repair, or Display... 7-36Syntax ... 7-38Op

Strany 425

Utilities 7-3Interpreting tblog Output ...7-55Record Types ...7-56Record Contents...7-57tbmode: Mode and S

Strany 426 - UNLOAD/dbschema/dbload

7-4 IBM Informix OnLine Database Server Administrator’s Guide-F Option... 7-87-k Option... 7-88-l Option ...

Strany 427

Utilities 7-5In This ChapterThis chapter describes the OnLine utilities that allow you to execute admin-istrative tasks directly from the shell prompt

Strany 428

7-6 IBM Informix OnLine Database Server Administrator’s GuideSyntaxThe SQL statements contained in the dbexport schema file do not contain allavailable

Strany 429

Utilities 7-7Destination OptionsYoucanusetheOnLinesyntaxdatabase@dbservernametospecifythedatabase.Specifying a database server name allows you to choo

Strany 430

7-8 IBM Informix OnLine Database Server Administrator’s GuideDestination OptionsIfyoudonotspecifyadestinationforthedataandschemafiles,thedirectorydatab

Strany 431

Utilities 7-9Contents of the Schema FileContents of the Schema FileThe .sql file contains the SQL statements needed to re-create the exporteddatabase,

Strany 432 - ■ UNLOAD /dbschema /dbload

7-10 IBM Informix OnLine Database Server Administrator’s Guidedbimport: Create a DatabaseThestatements in theASCII schemafilethat createtables, views,

Strany 433 - Move Files

Utilities 7-11SyntaxIf you are loading a database from IBM Informix SE into an OnLineenvironment, check that you set the SQLEXEC environment variable

Strany 434 - Using dbexport and dbimport

Installation and Initial Configuration 1-15Contents of tbconfig.stdLRUS specifies the number of LRU (least-recently used) queues. The LRUqueues manage t

Strany 435 - Using tbunload and tbload

7-12 IBM Informix OnLine Database Server Administrator’s GuideInput File Location OptionsYou can cancel dbimport at any time by pressing the Interrupt

Strany 436

Utilities 7-13Input File Location OptionsYou cannot use the -f option unless it was used when the schema file wasexported with the dbexport program. If

Strany 437

7-14 IBM Informix OnLine Database Server Administrator’s GuideCreate OptionsCreate OptionsA database that is ANSI-compliant uses unbuffered logging. I

Strany 438

Utilities 7-15dbload: Load Data from a Command FileThenextcommandimportsthestores5databasefromtapeintotheaucklanddbspace. The database is created with

Strany 439

7-16 IBM Informix OnLine Database Server Administrator’s GuideSyntaxThe dbload syntax and use information begins in the next section. Thedbload comman

Strany 440

Utilities 7-17SyntaxTheerrorlogfilespecifiedbythe-lflagstoresanyinputfilerowsthatdbloadcannot insert into the database, as well as diagnostic information.

Strany 441 - How to Improve Performance

7-18 IBM Informix OnLine Database Server Administrator’s GuideCommand-File Syntax CheckCommand-File Syntax CheckThe -s option performs a syntax check

Strany 442

Utilities 7-19Batch SizeThe -i option instructs dbload to read and ignore the specified number ofNEWLINE charactersintheinputfilebeforeitbeginsprocessin

Strany 443

7-20 IBM Informix OnLine Database Server Administrator’s GuideBad-Row LimitsBad-Row LimitsIfyouset-enumber errorsreadtoaninteger,dbloadterminateswheni

Strany 444 - Disk Layout

Utilities 7-21How to Create a Command FileHow to Create a Command FileBeforeyouuse dbload,youfirstcreateanASCIIcommand file thatnamestheinput data files

Strany 445

Table of Contents vChapter 2 System ArchitectureIn This Chapter ... 2-7Initialization ... 2-7Initialization Commands ..

Strany 446

1-16 IBM Informix OnLine Database Server Administrator’s GuideContents of tbconfig.stdMIRROR specifies whether OnLine blobspace and dbspace mirroring is

Strany 447 - Blobpage Average Fullness

7-22 IBM Informix OnLine Database Server Administrator’s GuideHow to Create a Command FileYou can combine both forms of the FILE statement in a single

Strany 448 - Apply Effective Criteria

Utilities 7-23How to Create a Command FileTwo consecutive delimiters define a null field. As a precaution, you mightwish to place a delimiter immediatel

Strany 449

7-24 IBM Informix OnLine Database Server Administrator’s GuideHow to Create a Command FileThe restrictions dbload imposes on the VALUES clause value l

Strany 450 - When Is Tuning Needed?

Utilities 7-25How to Create a Command FileThe FILE statement describes the stock.unl data rows as composed of sixfields, each separated by a vertical b

Strany 451 - Bufsize Pages/IO Fields

7-26 IBM Informix OnLine Database Server Administrator’s GuideHow to Create a Command FileIn this example, the VALUES clause uses the automatically as

Strany 452

Utilities 7-27How to Create a Command FileFields in the input file are padded with blanks (represented by + in thefollowing example) to create data row

Strany 453 - Shared-Memory Buffers

7-28 IBM Informix OnLine Database Server Administrator’s GuideHow to Create a Command FileThe same character position can be repeated in a data field d

Strany 454 - Shared-Memory Resources

Utilities 7-29How to Create a Command FileThe restrictions dbload imposes on the VALUES clause value list affect onlydata types DATE, DATETIME, andINT

Strany 455 - Log Buffer Size

7-30 IBM Informix OnLine Database Server Administrator’s GuideHow to Create a Command FileThe FILE statement defines six data fields from the cust_loc_d

Strany 456 - How Is Tuning Done?

Utilities 7-31How to Create a Command FileThe following data rows would be inserted into the cust_address table:Since the second column in cust_addres

Strany 457 - Page-Cleaner Parameters

Installation and Initial Configuration 1-17Contents of tbconfig.stdROOTPATH specifies the pathname of the chunk where the root dbspaceresides.Informix r

Strany 458 - Efficient Page Cleaning

7-32 IBM Informix OnLine Database Server Administrator’s Guidedbschema: Output SQL Statementsdbschema: Output SQL StatementsUse the dbschema utility t

Strany 459

Utilities 7-33Include SynonymsAll SERIAL fields included in CREATE TABLE statements displayed bydbschema have a starting value of 1, regardless of thei

Strany 460 - Checkpoint Frequency

7-34 IBM Informix OnLine Database Server Administrator’s GuideInclude PrivilegesInclude PrivilegesIfyouspecifyall foruser, dbschema outputsGRANT state

Strany 461

Utilities 7-35Specify a Table, View, or ProcedureSpecify a Table, View, or ProcedureIf you specify all for the name of the procedure, dbschema display

Strany 462 - How Psort Works

7-36 IBM Informix OnLine Database Server Administrator’s Guidetbcheck: Check, Repair, or Displaytbcheck: Check, Repair, or DisplayDepending on the opt

Strany 463 - Tuning Psort

Utilities 7-37tbcheck: Check, Repair, or DisplayIndex (keys plus rowids) -cI -cI -y, -pK -y -pKIndex (leaf key values) -pl -y -plIndex (leaf keys plus

Strany 464 - Psort and Shared Memory

7-38 IBM Informix OnLine Database Server Administrator’s GuideSyntaxSyntaxtbcheck-ce-cr-pe-pr-pc-cc-cd-cD-ci-c-pB-pk-pK-pl-pL-pt-pT-pdrowid-pprowidtbl

Strany 465

Utilities 7-39Option DescriptionsOption DescriptionsYou cannot combine tbcheck option flags except as described in theparagraphs that follow.No Options

Strany 466

7-40 IBM Informix OnLine Database Server Administrator’s GuideOption DescriptionsTo check the tables, tbcheck compares each system catalog table to it

Strany 467 - DB-Monitor Screens

Utilities 7-41Option DescriptionsIf inconsistencies are detected and OnLine is in quiescent mode, you areprompted for confirmation to repair theproblem

Strany 468

1-18 IBM Informix OnLine Database Server Administrator’s GuideContents of tbconfig.stdUSERS specifies the maximum number of OnLine user processes that c

Strany 469

7-42 IBM Informix OnLine Database Server Administrator’s GuideOption Descriptions-pB OptionThe -pB option displays statistics that describe the averag

Strany 470 - Main Menu

Utilities 7-43Option Descriptions-pe OptionThe -pe option performs the same checks as the -ce option. In addition, -pedisplaysthechunkandtblspaceexten

Strany 471 - Status Menu

7-44 IBM Informix OnLine Database Server Administrator’s GuideOption DescriptionsUse the -pD option to obtain the rowid. Refer to page 2-104 for more

Strany 472 - Parameters Menu

Utilities 7-45tbinit: Initialize OnLineOutput for both -pt and -pT contains listings for “Number of pages used”and “Number of data pages.” The values

Strany 473 - Dbspaces Menu

7-46 IBM Informix OnLine Database Server Administrator’s GuideSyntaxSyntaxNo OptionsIf you execute tbinit without options, OnLine is left in online mo

Strany 474 - Mode Menu

Utilities 7-47tbload: Create a Database or Table-p OptionThe -p option directs the tbinit daemon not to search for (and delete)temporary tables left b

Strany 475 - Force-Ckpt Option

7-48 IBM Informix OnLine Database Server Administrator’s GuideSyntaxIf youare loading a tablethat contains blobs stored in a blobspace, a promptasks y

Strany 476 - Archive Menu

Utilities 7-49Specify Tape ParametersIf you do not specify any tape parameter options, tbload uses the archivetape parameters bydefault. Thetape devic

Strany 477 - Logical-Logs Menu

7-50 IBM Informix OnLine Database Server Administrator’s GuideCreate OptionsThe host machine where the tape device is attached must permit userinformi

Strany 478

Utilities 7-51tblog: Display Logical Log Contentstblog: Display Logical Log ContentsThetblogutilitydisplaysthecontentsofanOnLinelogicallogfile.Thetblog

Strany 479 - Utilities

Installation and Initial Configuration 1-19Contents of tbconfig.stdTAPEDEV /dev/tapedev# Archive tape device pathnameTAPEBLK 16 # Archive tape block si

Strany 480

7-52 IBM Informix OnLine Database Server Administrator’s GuideLog-Record Read FiltersIn addition to the header, you can direct tblog to display the fo

Strany 481 - Utilities 7-3

Utilities 7-53Log-Record Read Filters-d OptionIfyoudonotusethe-doption,tblogreadsthelogicallogfilesstoredondisk,starting with the logical log file with

Strany 482

7-54 IBM Informix OnLine Database Server Administrator’s GuideLog-Record Display FiltersLog-Record Display FiltersYou can combine options with any oth

Strany 483

Utilities 7-55Interpreting tblog OutputInterpreting tblog OutputThetblogutilitydisplaystheheaderofeachlogicallogrecord.Dependingontherecordtype,additi

Strany 484 - ■ Lock mode

7-56 IBM Informix OnLine Database Server Administrator’s GuideInterpreting tblog OutputRecord TypesIn addition to the six columns that display for eve

Strany 485 - Destination Options

Utilities 7-57Interpreting tblog Output Remainder page update Before update record After update recordRecord ContentsThe table below lists tblog re

Strany 486

7-58 IBM Informix OnLine Database Server Administrator’s GuideInterpreting tblog OutputBFRMAP blob free map change tblspace idbpagenostatuslog idprevp

Strany 487 - Contents of the Schema File

Utilities 7-59Interpreting tblog OutputBTSHUFFL shuffle B+ tree nodes tblspace idparent logical pageleft logical pageright logical pageleft slotleft ro

Strany 488

7-60 IBM Informix OnLine Database Server Administrator’s GuideInterpreting tblog OutputCKPOINT checkpoint max usersnumber ofactive transactionsdecimal

Strany 489 - ■ Invalid command parameters

Utilities 7-61Interpreting tblog OutputERASE drop tblspace tblspace id hexadecimalHDELETE home row delete tblspace idrowidslotlenhexadecimalhexadecima

Strany 490 - Input File Location Options

1-20 IBM Informix OnLine Database Server Administrator’s GuideSet Up Your Initial Configuration(multiprocessor-machine default is 300)STAGEBLOB # INFOR

Strany 491

7-62 IBM Informix OnLine Database Server Administrator’s GuideInterpreting tblog OutputPBINSERT tblspace blob pageinsertbpagenotblspace idrowidslotlen

Strany 492 - Create Options

Utilities 7-63Interpreting tblog OutputRUPBEF remainder pageupdate, before imagetblspace idrowidslotlenhexadecimalhexadecimaldecimalTABLOCKS list of l

Strany 493 - ASCII input files

7-64 IBM Informix OnLine Database Server Administrator’s Guidetbmode: Mode and Shared-Memory Changestbmode: Mode and Shared-Memory ChangesThe flags tha

Strany 494 - IBM Informix

Utilities 7-65SyntaxSyntax-y automatically responds “yes” to all prompts.tbmode-yForcea Checkpointpage 7-67Change Shared-Memory Residencypage 7-68Swit

Strany 495 - Utilities 7-17

7-66 IBM Informix OnLine Database Server Administrator’s GuideChange OnLine ModeChange OnLine Mode-k OptionThe -k option is equivalenttothe DB-Monitor

Strany 496 - Starting Line Number

Utilities 7-67Force a Checkpoint-s OptionThe -s option is equivalent to the DB-Monitor Graceful-Shutdown option.Onceyouexecutethe-s option,youcannotca

Strany 497 - Batch Size

7-68 IBM Informix OnLine Database Server Administrator’s GuideChange Shared-Memory ResidencyChange Shared-Memory ResidencyAny change you make using tb

Strany 498 - Bad-Row Limits

Utilities 7-69Kill an OnLine Server ProcessKill an OnLine Server ProcessWarning: Do not kill an OnLine database server process that is in a critical s

Strany 499 - How to Create a Command File

7-70 IBM Informix OnLine Database Server Administrator’s Guidetbparams: Modify Log Configuration Parameterstbparams: Modify Log Configuration Parameters

Strany 500 - Delimiter Form FILE Statement

Utilities 7-71Drop a Logical Log FileYou cannot add a log file during an archive (quiescent or online). The newlyadded log file or files retain a status

Strany 501

Installation and Initial Configuration 1-21Root Dbspace Configuration GuidelinesRoot Dbspace Configuration GuidelinesThe root dbspace, like all dbspaces

Strany 502

7-72 IBM Informix OnLine Database Server Administrator’s GuideChange Physical Log ParametersChange Physical Log ParametersThe space allocatedfor theph

Strany 503

Utilities 7-73tbspaces: Modify Blobspaces or Dbspacestbspaces: Modify Blobspaces or DbspacesUse tbspaces to perform the following modifications: Creat

Strany 504

7-74 IBM Informix OnLine Database Server Administrator’s GuideCreate a Blobspace or DbspaceCreate a Blobspace or DbspaceRefer to page 3-88 for more de

Strany 505

Utilities 7-75Drop a Blobspace or DbspaceDrop a Blobspace or DbspaceThe blobspace or dbspace you intend to drop must be unused. It is not suffi-cient f

Strany 506

7-76 IBM Informix OnLine Database Server Administrator’s GuideAdd a ChunkAdd a ChunkRefer to page 3-94 for more details to consider when you are addin

Strany 507

Utilities 7-77Change Chunk StatusChange Chunk StatusYou can only change the status of a chunk in a mirrored pair. Refer topage 3-101for moredetailsto

Strany 508

7-78 IBM Informix OnLine Database Server Administrator’s Guidetbstat: Monitor OnLine Operationtbstat: Monitor OnLine OperationThetbstatutilityreadssha

Strany 509

Utilities 7-79tbstat: Monitor OnLine OperationShared-memory segment (save it to a file) -oSummary of user-oriented (lowercase) options -aTblspaces, act

Strany 510 - ■ Save the output to a file

7-80 IBM Informix OnLine Database Server Administrator’s GuideSyntaxSyntax1secondsa1b1B1c1d1D1F1k1l1m1p1P1r1R1s1t1u1X1z1filename_destfilename_sourceo--

Strany 511 - Include Synonyms

Utilities 7-81SyntaxUse the filename_source parameter with other option flags to derive therequested tbstat statistics from the shared-memory segment co

Strany 512 - Include Privileges

1-22 IBM Informix OnLine Database Server Administrator’s GuideRoot Dbspace Configuration GuidelinesROOTPATHThe ROOTPATH parameter specifies the pathname

Strany 513

7-82 IBM Informix OnLine Database Server Administrator’s GuideOption DescriptionsAn example header follows:RSAM Version 5.0--On-Line--Up 15:11:41--368

Strany 514

Utilities 7-83Option DescriptionsThe number of modified buffers, the number of total buffers available, thenumber of hash buckets available, and the si

Strany 515

7-84 IBM Informix OnLine Database Server Administrator’s GuideOption Descriptions-B OptionUse the -B option to obtain information about all OnLine buf

Strany 516

Utilities 7-85Option DescriptionsThe number of active blobspaces and dbspaces and the total number ofexisting blobspaces and dbspaces are listed. The

Strany 517 - Option Descriptions

7-86 IBM Informix OnLine Database Server Administrator’s GuideOption DescriptionsThe number of active chunks and the number of existing chunks are lis

Strany 518 - -ci and -cI Options

Utilities 7-87Option Descriptions-F OptionUse the -F option to display account for each type of write performed whena page was flushed to disk. You ca

Strany 519 - -n Option

7-88 IBM Informix OnLine Database Server Administrator’s GuideOption Descriptions-k OptionUsethe-koptiontodisplayinformation about activelocks.You can

Strany 520 - -pd and -pD Options

Utilities 7-89Option DescriptionsThemaximumnumberoflocksavailableisspecifiedasLOCKS intheOnLineconfiguration file.-l OptionUse the-l optionto displayinfo

Strany 521 - -pp and -pP options

7-90 IBM Informix OnLine Database Server Administrator’s GuideOption DescriptionsThe second section of the tbstat -l display describes the logical log

Strany 522 - -pt and -pT Options

Utilities 7-91Option DescriptionsThe following fields are repeated for each logical log file:-m OptionUse the -m option to display the 20 most-recent li

Strany 523 - -y Option

Installation and Initial Configuration 1-23Root Dbspace Configuration GuidelinesROOTSIZEROOTSIZEspecifiesthesizeoftheinitialchunkoftherootdbspace,expres

Strany 524 - -i Option

7-92 IBM Informix OnLine Database Server Administrator’s GuideOption Descriptions-p OptionUse the -p option to display profile counts.The first portion

Strany 525 - -s Option

Utilities 7-93Option DescriptionsThe next portion of the -p display tabulates the number of times differentISAM callswereexecuted.The calls occur atth

Strany 526 - DBA privilege for the

7-94 IBM Informix OnLine Database Server Administrator’s GuideOption DescriptionsThethirdportion of the-p display tracks thenumberof times aresourcewa

Strany 527 - Specify Tape Parameters

Utilities 7-95Option Descriptions-P OptionUse the -P option to obtain a count of big buffer reads, in addition to thestandard profile counts. (Refer to

Strany 528

7-96 IBM Informix OnLine Database Server Administrator’s GuideOption DescriptionsSummary information follows the individual LRU queue information. You

Strany 529 - Utilities 7-51

Utilities 7-97Option Descriptions-s OptionUsethe -s optiontodisplaygeneral latch information.(Refertopage 2-41 formore details about latches.) You can

Strany 530 - Log-Record Read Filters

7-98 IBM Informix OnLine Database Server Administrator’s GuideOption Descriptions-t OptionUsethe-toptiontodisplay tblspace informationforactivetblspac

Strany 531 - -d Option

Utilities 7-99Option Descriptions-u OptionUse the -u option to print a profile of user activity. The output described inthis paragraph is provided for

Strany 532 - Log-Record Display Filters

7-100 IBM Informix OnLine Database Server Administrator’s GuideOption DescriptionsThe second section of the -u output describes transactions. This inf

Strany 533 - Interpreting tblog Output

Utilities 7-101Option DescriptionsThe number of active users and the maximum number of users allowed arealso indicated. The maximum number of concurre

Strany 534 - Record Types

1-24 IBM Informix OnLine Database Server Administrator’s GuideMirroring Configuration GuidelinesMirroring Configuration GuidelinesMirroringisnotrequired

Strany 535 - Record Contents

7-102 IBM Informix OnLine Database Server Administrator’s Guidetbtape: Logging, Archives, and Restore-z OptionUse the -z option to set the profile coun

Strany 536

Utilities 7-103SyntaxSyntaxIf more than one tape is needed during the logical log backups or during anarchive, tbtape prompts for each additional tape

Strany 537

7-104 IBM Informix OnLine Database Server Administrator’s GuideRequest a Logical Log BackupRequest a Logical Log BackupThe -a option is the equivalent

Strany 538

Utilities 7-105Create an ArchiveCreate an ArchiveThe -s option is the equivalent of the DB-Monitor Create option from theArchive menu. You are prompte

Strany 539

7-106 IBM Informix OnLine Database Server Administrator’s GuideChange Database Logging StatusChange Database Logging StatusThese tbtape command option

Strany 540

Utilities 7-107tbunload: Transfer Binary Data in Page Unitstbunload: Transfer Binary Data in Page UnitsThetbunload utility writesadatabase or tabletot

Strany 541

7-108 IBM Informix OnLine Database Server Administrator’s GuideSyntaxSyntaxIf you do not specify any tape parameter options, tbunload uses the archive

Strany 542

Utilities 7-109Specify Tape ParametersSpecify Tape ParametersYou can use the -b, -s, and -t options individually to override the defaultarchive tape d

Strany 544 - Change OnLine Mode

8ChapterOnLine Message LogIn This Chapter ... 8-3OnLine Message Log ... 8-3Alphabetized Messages ... 8-5

Strany 545

Installation and Initial Configuration 1-25Physical Log Configuration GuidelinesMIRROROFFSETThe MIRROROFFSET parameter specifies the offset into the dis

Strany 546 - Switch the Logical Log File

8-2 IBM Informix OnLine Database Server Administrator’s Guide

Strany 547 - Kill an OnLine Transaction

OnLine Message Log 8-3In This ChapterThischapterintroducesthe OnLine MessageLog,aUNIX filespecifiedbytheMSGPATH configuration file parameter.OnLine Messag

Strany 548

8-4 IBM Informix OnLine Database Server Administrator’s GuideOnLine Message LogInformix recommends that you monitor the messagelog onceor twice a dayt

Strany 549

OnLine Message Log 8-5Alphabetized MessagesAlphabetized MessagesAborting Long Transaction: tx 0xnThe logical log has filled beyond the long transaction

Strany 550

8-6 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesAttempt to write pages nn to a nn page buffer.OnLine detected a page

Strany 551 - Utilities 7-73

OnLine Message Log 8-7Alphabetized MessagesThe messages can be interpreted as follows: The first message indicates the inconsistency. The second mess

Strany 552 - Create a Blobspace or Dbspace

8-8 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesCannot execute gtrid_aaaa -- No TP monitor available.(This message i

Strany 553 - Drop a Blobspace or Dbspace

OnLine Message Log 8-9Alphabetized MessagesCannot Perform CheckpointArecoveryprocessthat isattemptingtorestoreamirrorchunkhasrequesteda checkpoint, bu

Strany 554

8-10 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesCannot Rollforward from CheckpointOnLineisunabletorecoverthelogical

Strany 555 - Change Chunk Status

OnLine Message Log 8-11Alphabetized MessagesChunk number nn pathname -- OnlineThe indicated chunk in a mirrored pair has been recovered and is online(

Strany 556

vi IBM Informix OnLine Database Server Administrator’s GuideStructure of a Blobspace or Dbspace Mirror Chunk ... 2-92OnLine Limits for Chunks ...

Strany 557

1-26 IBM Informix OnLine Database Server Administrator’s GuideLogical Log Configuration GuidelinesRefertopage 1-42forguidelinesondecidinghowmuchdiskspa

Strany 558

8-12 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesChunk number nn pathname -- Recovery Failed - can’t forkThe indicat

Strany 559 - Utilities 7-81

OnLine Message Log 8-13Alphabetized MessagesDbspace dbspacename -- Recovery Begins (pid)Dbspace recovery occurs when mirroring is turned on for a dbsp

Strany 560

8-14 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesEmpty B-tree node 0xn; Unable to do CopyBackOnLine detected B+ tree

Strany 561

OnLine Message Log 8-15Alphabetized Messagestype is thelog record type (referto tblog); len is the length ofthe log recordin bytes.ERROR: logread()- l

Strany 562 - -c Option

8-16 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesERROR: page cleaner nn has timed out.A page-cleaner process could n

Strany 563

OnLine Message Log 8-17Alphabetized MessagesFailed to stat chunk chunk_pathname, errno = nnOnLine detectedan error during an operating system stat() c

Strany 564 - -D Option

8-18 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesINFORMIX-OnLine Must ABORT; Log error nn; us 0xn pid 0xn us_flags 0

Strany 565 - -F Option

OnLine Message Log 8-19Alphabetized MessagesInsufficient resources for index change rollback (partnum = nn, keynum= nn)Not enough disk space is availa

Strany 566 - -k Option

8-20 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesI/O error, Primary Chunk pathname -- OfflineOnLine detected an I/O

Strany 567 - -l Option

OnLine Message Log 8-21Alphabetized MessagesLevel n Archive CompletedThe archive (of the indicated level) has ended.Level n Archive StartedAn archive

Strany 568

Installation and Initial Configuration 1-27Logical Log Configuration GuidelinesLOGFILESLOGFILES specifies the number of logical log files managed by OnLi

Strany 569 - -o Option

8-22 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized Messages The number of transactions that were committed The number of tra

Strany 570

OnLine Message Log 8-23Alphabetized MessagesNot enough Logical Logfiles, Increase “LOGFILES”Duringadatarestore,thevalueoftheLOGFILES configurationfilepa

Strany 571

8-24 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesPhysical Recovery Complete: nn Pages RestoredPhysicalrecoveryisthe

Strany 572

OnLine Message Log 8-25Alphabetized MessagesProcess Aborted Abnormally (latch): pid=nn user=nnflags=0xnA database server process was terminated while

Strany 573 - -R option

8-26 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized Messagesread_record: deleted rowid = 0xn, partnum = 0xnOnLine detected an e

Strany 574

OnLine Message Log 8-27Alphabetized MessagesRemote tape using alternate shell command: <rcmd machine>Thismessageindicatesthataremotetapedeviceha

Strany 575

8-28 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesSome dirty buffers not written. diskcnt=nn writes=nnnotflsh=nnOnLin

Strany 576 - -t Option

OnLine Message Log 8-29Alphabetized MessagesToo Many Active Transactions, Increase “TRANSACTIONS”During a data restore, the value of the TRANSACTIONS

Strany 577 - -u Option

8-30 IBM Informix OnLine Database Server Administrator’s GuideAlphabetized MessagesTransaction table overflow - user id nn, process id nnA database se

Strany 578

OnLine Message Log 8-31Alphabetized MessagesUser table overflow - user id nn process id nnAdatabase server processattempted to attachtosharedmemorywhe

Strany 579 - -X Option

1-28 IBM Informix OnLine Database Server Administrator’s GuideMessage File GuidelinesMessage File GuidelinesThe console receives messages that deserve

Strany 581 - Utilities 7-103

9ChapterProduct EnvironmentIn This Chapter ... 9-3The OnLine Environment ... 9-3OnLine Features ... 9-3Hi

Strany 582 - Start Continuous Backups

9-2 IBM Informix OnLine Database Server Administrator’s GuideTwo-Phase Commit and Automatic Recovery ... 9-23Coordinator Recovery ...

Strany 583 - Perform a Data Restore

Product Environment 9-3In This ChapterThis chapter describes three possible OnLine environments: A single OnLine database server operating on a host

Strany 584

9-4 IBM Informix OnLine Database Server Administrator’s GuideOnLine FeaturesHigh PerformanceOnLine achieves high performance through two mechanisms:

Strany 585 - DB-Monitor Logical-Logs

Product Environment 9-5OnLine FeaturesFault Tolerance and High AvailabilityOnLine uses several logging and recovery mechanisms to protect dataintegrit

Strany 586

9-6 IBM Informix OnLine Database Server Administrator’s GuideFeatures Beyond the Scope of OnLineDistributed Data QueriesTheIBM Informix STARproductena

Strany 587

Product Environment 9-7What Is Multiple Residency?Blob Scanning or CompressionOnLine receives blob data into an existing table in any one of four ways

Strany 588

9-8 IBM Informix OnLine Database Server Administrator’s GuideWhat Is Multiple Residency? Create multiple configuration files and OnLine database server

Strany 589 - OnLine Message Log

Product Environment 9-9What Is Multiple Residency?Figure 9-1Conceptualillustration ofmultipleresidencydiskdiskApplication:TBCONFIGset totbconfig1databa

Strany 590

Installation and Initial Configuration 1-29Logical Log Tape Device GuidelinesThe default value of TAPEDEV is /dev/tapedev.You can set the value of TAP

Strany 591

9-10 IBM Informix OnLine Database Server Administrator’s GuideHow Multiple Residency WorksHow Multiple Residency WorksMultiple residency is possible b

Strany 592

Product Environment 9-11How to Set Up Multiple ResidencyHow to Set Up Multiple ResidencyThissectiondescribesthesix-stepinstallationprocedureformultipl

Strany 593 - Alphabetized Messages

9-12 IBM Informix OnLine Database Server Administrator’s GuideHow to Set Up Multiple ResidencyStep 2: Edit the Configuration File for the New OnLineUse

Strany 594

Product Environment 9-13How to Set Up Multiple ResidencySERVERNUMThe SERVERNUM parameter specifies the unique value associated with thisOnLine configura

Strany 595

9-14 IBM Informix OnLine Database Server Administrator’s GuideHow to Set Up Multiple ResidencyStep 4: Complete Tuning OnLine Configuration (Optional)Ac

Strany 596

Product Environment 9-15OnLine Administration with IBM Informix STAROnLine Administration with IBM Informix STARThe IBM Informix STAR product enables

Strany 597

9-16 IBM Informix OnLine Database Server Administrator’s GuideSharing Data by Using IBM Informix STARFigure 9-2 illustrates a situation in which data

Strany 598

Product Environment 9-17Sharing Data by Using IBM Informix STARUpdating Multiple OnLine ServersIBM InformixSTARensuresthattransactionsthatspanmorethan

Strany 599

9-18 IBM Informix OnLine Database Server Administrator’s GuideSharing Data by Using IBM Informix STARIn the transaction shown in Figure 9-2, IBM Infor

Strany 600

Product Environment 9-19IBM Informix STAR and Two-Phase Commit ProtocolWithin a client/server network, the identity of the coordinator OnLine isdynami

Strany 601

1-30 IBM Informix OnLine Database Server Administrator’s GuideLogical Log Tape Device GuidelinesOnLine supports a logical log backup option called Con

Strany 602

9-20 IBM Informix OnLine Database Server Administrator’s GuideIBM Informix STAR and Two-Phase Commit ProtocolDuring the postdecision phase the coordin

Strany 603

Product Environment 9-21IBM Informix STAR and Two-Phase Commit ProtocolExample Transaction CommitFigure 9-4 is a simple representation of a two-phase

Strany 604

9-22 IBM Informix OnLine Database Server Administrator’s GuideIBM Informix STAR and Two-Phase Commit ProtocolExample Transaction RollbackFigure 9-5 is

Strany 605

Product Environment 9-23Two-Phase Commit and Automatic RecoveryTwo-Phase Commit and Automatic RecoveryThe two-phase commit protocol includes automatic

Strany 606

9-24 IBM Informix OnLine Database Server Administrator’s GuideTwo-Phase Commit and Automatic RecoveryCoordinator recovery is not needed if the followi

Strany 607

Product Environment 9-25Two-Phase Commit and Automatic RecoveryIf the coordinator is unable to contact one or more of the participants, or ifexecution

Strany 608

9-26 IBM Informix OnLine Database Server Administrator’s GuideTwo-Phase Commit and Automatic RecoveryParticipant RecoveryParticipant recovery occurs w

Strany 609

Product Environment 9-27Two-Phase Commit and Automatic RecoveryIf the participant does not receive contact from the coordinator by the timespecified as

Strany 610

9-28 IBM Informix OnLine Database Server Administrator’s GuideTwo-Phase Commit and Automatic RecoveryFigure 9-7Simpleillustration ofautomaticparticipa

Strany 611

Product Environment 9-29Independent Action and Manual RecoveryPresumed-Abort OptimizationIf the coordinator database server process fails before it ma

Strany 612

Installation and Initial Configuration 1-31Identification Parameter GuidelinesLTAPESIZELTAPESIZE specifies the maximum amount of data that should be wri

Strany 613

9-30 IBM Informix OnLine Database Server Administrator’s GuideHeuristic Decisions: What and WhyIndependent action in and of itself does not create the

Strany 614

Product Environment 9-31Heuristic Decisions: What and WhyThe word heuristic refers to the independent nature of the action; that is, itoccurred at the

Strany 615

9-32 IBM Informix OnLine Database Server Administrator’s GuideHeuristic Decisions: What and WhyOnce a heuristic rollback or end-transaction occurs, yo

Strany 616

Product Environment 9-33Heuristic Decisions: What and WhyWhenever a heuristic rollback occurs, the possibility exists that manualrecovery might be req

Strany 617

9-34 IBM Informix OnLine Database Server Administrator’s GuideHeuristic Decisions: What and WhyIn the first case, when you execute tbmode -Z to end a g

Strany 618

Product Environment 9-35Heuristic Decisions: What and WhyFigure 9-9Characteristics of Heuristic “End-Transaction”When it occurs: A heuristic end-trans

Strany 619

9-36 IBM Informix OnLine Database Server Administrator’s GuideHeuristic RollbackHeuristic RollbackTwo conditions might initiate a heuristic rollback:

Strany 620

Product Environment 9-37Heuristic RollbackIt is important to recognize that this rollback does not close the transaction as itwouldinasingleOnLineenvi

Strany 621 - Product Environment

9-38 IBM Informix OnLine Database Server Administrator’s GuideHeuristic RollbackThe next event in the scenario happens at the coordinator OnLine. Thec

Strany 622

Product Environment 9-39Heuristic RollbackHowever,ifthecoordinatorgathersallresponsesfromparticipants, ifatleastone participant reports a heuristic ro

Strany 623 - The OnLine Environment

1-32 IBM Informix OnLine Database Server Administrator’s GuideShared-Memory Parameter GuidelinesDBSERVERNAMEDBSERVERNAME specifies a unique nameassocia

Strany 624 - High Performance

9-40 IBM Informix OnLine Database Server Administrator’s GuideHeuristic End-TransactionHeuristic End-TransactionThereis onlyone, rare situation in whi

Strany 625 - Multimedia Support

Product Environment 9-41Heuristic End-TransactionAs a consequence, the transaction remains open. The open transactionpreventsyou frombackinguplogicall

Strany 626 - Bad-Sector Mapping

9-42 IBM Informix OnLine Database Server Administrator’s GuideHeuristic End-TransactionIn the first case, when you execute tbmode -Z to end a global tr

Strany 627 - What Is Multiple Residency?

Product Environment 9-43Two-Phase Commit Protocol ErrorsTwo-Phase Commit Protocol ErrorsThree two-phase commit protocol errors require special attenti

Strany 628

9-44 IBM Informix OnLine Database Server Administrator’s GuideTwo-Phase Commit and Logical Log RecordsTwo-Phase Commit and Logical Log RecordsSupport

Strany 629

Product Environment 9-45Two-Phase Commit and Logical Log RecordsTABLOCKSThe TABLOCKS logical log record can be written by either a coordinator or apar

Strany 630 - How Multiple Residency Works

9-46 IBM Informix OnLine Database Server Administrator’s GuideTwo-Phase Commit and Logical Log RecordsThe output from tblog contains only the type fiel

Strany 631

Product Environment 9-47Two-Phase Commit and Logical Log RecordsThe coordinator’s commit work record (COMMIT record) contains all infor-mation needed

Strany 632

9-48 IBM Informix OnLine Database Server Administrator’s GuideTwo-Phase Commit and Logical Log RecordsHeuristic Rollback RecordsFigure 9-11 illustrate

Strany 633 - DBSERVER-NAME

Product Environment 9-49Two-Phase Commit and Logical Log RecordsFigure 9-11Writes oflogical log recordsduring a heuristicrollbackAll Participants:Writ

Strany 634 - Step 5: Initialize New OnLine

Installation and Initial Configuration 1-33Shared-Memory Parameter GuidelinesUSERSUSERS specifies the maximum number of user processes that can concur-

Strany 635

9-50 IBM Informix OnLine Database Server Administrator’s GuideTwo-Phase Commit and Logical Log RecordsHeuristic End-Transaction RecordsFigure 9-12 ill

Strany 636 - COMMIT WORK

Product Environment 9-51Determining Database ConsistencyDetermining Database ConsistencyThissection describes the administrativeprocedurethatmight be

Strany 637

9-52 IBM Informix OnLine Database Server Administrator’s GuideDetermining Database ConsistencyStep 1: Determine Where a Heuristic Decision OccurredThe

Strany 638

Product Environment 9-53Determining Database ConsistencyStep 2: Determine If the Networked Database Contains InconsistentDataSuppose that you have det

Strany 639 - Product Environment 9-19

9-54 IBM Informix OnLine Database Server Administrator’s GuideDetermining Database ConsistencySteps 3 and 4: Decide If Correction Is NeededIf an incon

Strany 640 - Protocol Components

Product Environment 9-55Determining Database ConsistencyYou can also use the information in the HEURTX log record to locate all logrecords (at all par

Strany 641 - Example Transaction Commit

9-56 IBM Informix OnLine Database Server Administrator’s GuideDetermining Database ConsistencyDATABASE tmp;BEGIN WORK;INSERT INTO t VALUES (2);INSERT

Strany 642 - Example Transaction Rollback

Product Environment 9-57IBM Informix STAR Configuration Parameters1. Find all records that were updated.2. Identify their type (insert, delete, update)

Strany 643 - Coordinator Recovery

9-58 IBM Informix OnLine Database Server Administrator’s GuideTrack a Transaction with tbstat OutputThe default value of DEADLOCK_TIMEOUT is 60 second

Strany 644 - SQLEXEC to

Product Environment 9-59Track a Transaction with tbstat OutputImportant: In tbstat -k output, the owner field still displays the address of thedatabase

Strany 645

1-34 IBM Informix OnLine Database Server Administrator’s GuideShared-Memory Parameter GuidelinesBUFFERSBUFFERSspecifiesthemaximumnumberofshared-memoryb

Strany 646 - Participant Recovery

9-60 IBM Informix OnLine Database Server Administrator’s GuideTrack a Transaction with tbstat OutputTransaction flag FieldThe transaction flag field des

Strany 647 - TXTIMEOUT. When

Product Environment 9-61Track a Transaction with tbstat OutputTransaction user FieldThe transaction user field displays the shared-memory address of th

Strany 648

9-62 IBM Informix OnLine Database Server Administrator’s GuideTrack a Transaction with tbstat OutputTransaction isolation FieldThe isolation field desc

Strany 649 - Presumed-Abort Optimization

AAppendixNoticesIBM may not offer the products, services, or features discussedin this document in all countries. Consult your local IBM repre-sentati

Strany 650

A-2 IBM Informix OnLine Database Server Administrator’s GuideThe following paragraph does not apply to the United Kingdom or anyother country where su

Strany 651 - Product Environment 9-31

Notices A-3Any performance data contained herein was determined in a controlledenvironment. Therefore, the results obtained in other operating environ

Strany 652

A-4 IBM Informix OnLine Database Server Administrator’s GuideTrademarksEach copy or any portion of these sample programs or any derivative work,must i

Strany 653 - Figure 9-8

@IndexOQCAB DEFGHI JKLMN P RSTUVWXYZIndexAAdministration tasksconsistency and recovery 4-5things to avoid 3-116ANSI compliancelevel Intro-19Archiveadm

Strany 654

2 IBM Informix OnLine Database Server Administrator’s GuideOQCABDEFGHIJKLMNPRSTUVWXYZ@description of 2-143Blobblobspace storage statistics 5-5effect o

Strany 655 - Figure 9-9

Index 3OQCABDEFGHIJKLMNPRSTUVWXYZ@CCaching percentagesdescription of 5-10mentioned 5-13, 5-17, 5-19Cautions 3-116Character-special file 1-41Checkpoint

Strany 656 - Heuristic Rollback

Installation and Initial Configuration 1-35Shared-Memory Parameter GuidelinesCHUNKSCHUNKS specifies the maximum number of chunks supported by OnLine.Th

Strany 657

@4 IBM Informix OnLine Database Server Administrator’s GuideOQCABDEFGHIJKLMNPRSTUVWXYZDDaemon processdescription of 2-33user process type flag 2-30Dat

Strany 658

Index 5OQCABDEFGHIJKLMNPRSTUVWXYZ@creating during initialconfiguration 1-59description of 2-84dropping 3-99ending mirroring 3-105identifying the dbspa

Strany 659

@6 IBM Informix OnLine Database Server Administrator’s GuideOQCABDEFGHIJKLMNPRSTUVWXYZnext extent allocation 2-117reclaiming space in an emptyextent 2

Strany 660 - Heuristic End-Transaction

Index 7OQCABDEFGHIJKLMNPRSTUVWXYZ@key entries on root nodepage 2-138key value 2-134leaf node page 2-133, 2-136monitoring integrity 3-79page structure

Strany 661

@8 IBM Informix OnLine Database Server Administrator’s GuideOQCABDEFGHIJKLMNPRSTUVWXYZLoggingblobspace data 4-22buffered logging and fastrecovery 4-40

Strany 662

Index 9OQCABDEFGHIJKLMNPRSTUVWXYZ@LRU_MAX_DIRTY parameterdescription of 1-15how to calculate value 2-59initial configuration value 1-37role in buffer

Strany 663 - Product Environment 9-43

@10 IBM Informix OnLine Database Server Administrator’s GuideOQCABDEFGHIJKLMNPRSTUVWXYZMSGPATH parameterchanges for multipleresidency 9-13description

Strany 664 - IBM Informix STAR

Index 11OQCABDEFGHIJKLMNPRSTUVWXYZ@Physical page number 2-124PREPARE logical log record 9-44Presumed-abort optimizationdescription of 9-20implications

Strany 665 - ENDTRANS

@12 IBM Informix OnLine Database Server Administrator’s GuideOQCABDEFGHIJKLMNPRSTUVWXYZtaking offline 3-12Slot tabledescription of 2-121entry number 2

Strany 666 - Transaction Commit Records

Index 13OQCABDEFGHIJKLMNPRSTUVWXYZ@tbload utilitydescription of 7-47migrating with tbunload 4-63overview of migrationmethods 4-52syntax 7-48tblog util

Strany 667

Table of Contents viiChapter 3 Operating OnLineIn This Chapter ... 3-5Changing Modes ... 3-6Types of OnLine Modes ...

Strany 668 - Heuristic Rollback Records

1-36 IBM Informix OnLine Database Server Administrator’s GuideShared-Memory Parameter GuidelinesThe recommended value for LOGBUFF is 16 pages, or 16 m

Strany 669

@14 IBM Informix OnLine Database Server Administrator’s GuideOQCABDEFGHIJKLMNPRSTUVWXYZdbspace blob page 2-146dbspace page 2-120page-header and page-e

Strany 670

Index 15OQCABDEFGHIJKLMNPRSTUVWXYZ@tbtape 7-102tbunload 7-107VVARCHAR data typebyte locks 2-52implications for data rowstorage 2-125indexing considera

Strany 672

Installation and Initial Configuration 1-37Shared-Memory Parameter GuidelinesCKPTINTVLCKPTINTVL specifies the maximum interval, expressed in seconds, t

Strany 673 - Product Environment 9-53

1-38 IBM Informix OnLine Database Server Administrator’s GuideShared-Memory Parameter GuidelinesDB-Monitordoesnotpromptforthisvalueduringinitializatio

Strany 674 - HEURTX recordassociated with

Installation and Initial Configuration 1-39Machine- and Product-Specific Parameter GuidelinesMachine- and Product-Specific Parameter GuidelinesBecause y

Strany 675 - Example Manual Recovery

1-40 IBM Informix OnLine Database Server Administrator’s GuideOnLine Disk Space AllocationSPINCNTThe SPINCNT parameter affects only multiprocessor mac

Strany 676

Installation and Initial Configuration 1-41OnLine Disk Space AllocationCooked files are unreliable because I/O on a cooked file is managed by theUNIX op

Strany 677 - DEADLOCK TIMEOUT

1-42 IBM Informix OnLine Database Server Administrator’s GuideOnLine Disk Space AllocationCalculate Root dbspace SizeAnalyze your application to estim

Strany 678 - TXTIME-OUT

Installation and Initial Configuration 1-43OnLine Disk Space AllocationProject Total Space RequirementsThe amount of additional disk space needed for

Strany 679 - Transaction address Field

1-44 IBM Informix OnLine Database Server Administrator’s GuideOnLine Disk Space AllocationAfter you decide how you plan to define the chunks, decide on

Strany 680 - Transaction flag Field

Installation and Initial Configuration 1-45OnLine Disk Space AllocationFigure 1-2illustratesfourguidelinesforplanningthephysicallayoutofyourOnLine dat

Strany 681 - Transaction log begin

viii IBM Informix OnLine Database Server Administrator’s GuideIf the Logical Log Files Fill During an Archive... 3-59If an Archive Terminates Prem

Strany 682 - Transaction coordinator Field

1-46 IBM Informix OnLine Database Server Administrator’s GuideOnLine Disk Space AllocationCriticaltablesanddatabasesshould bemirrored.Therootdbspacesh

Strany 683 - Appendix

Installation and Initial Configuration 1-47OnLine Disk Space AllocationThe logs contain critical information and should be located in mirroreddbspaces

Strany 684

1-48 IBM Informix OnLine Database Server Administrator’s GuideOnLine Disk Space AllocationRaw File SpaceConsult your UNIX system manuals for instructi

Strany 685 - COPYRIGHT LICENSE:

Installation and Initial Configuration 1-49OnLine Disk Space AllocationEvaluate UNIX Kernel ParametersYour OnLine product arrives with a machine-speci

Strany 686 - Trademarks

1-50 IBM Informix OnLine Database Server Administrator’s GuideConfiguration ChecklistConfiguration ChecklistFigure 1-3is achecklist to help you verifyth

Strany 687

Installation and Initial Configuration 1-51Enter Your Configuration and Initialize OnLineEnter Your Configuration and Initialize OnLineWhen you configure

Strany 688

1-52 IBM Informix OnLine Database Server Administrator’s GuideEnter Your Configuration and Initialize OnLineThe disk parameters initialization screen a

Strany 689

Installation and Initial Configuration 1-53Setting Shared Memory ParametersSetting Shared Memory ParametersLike the disk parameters screen, the shared

Strany 690

1-54 IBM Informix OnLine Database Server Administrator’s GuideInitialize OnLineInitialize OnLineOnLinepromptsyouforconfirmationthatyouwishtoinitializei

Strany 691

Installation and Initial Configuration 1-55Set Your Environment VariablesSQLEXECThe value of SQLEXEC directs the front-end processes to a specific data

Strany 692

Table of Contents ixChange the Maximum Number of Dbspaces... 3-111Change the Maximum Number of Locks ... 3-112Change the Maximum Number of Tb

Strany 693

1-56 IBM Informix OnLine Database Server Administrator’s GuideModify UNIX Startup and Shutdown ScriptsIf your environment contains a single OnLine dat

Strany 694

Installation and Initial Configuration 1-57Modify UNIX Startup and Shutdown ScriptsStartupAdd UNIX and OnLine utility commands to the UNIX startup scr

Strany 695

1-58 IBM Informix OnLine Database Server Administrator’s GuideModify UNIX Startup and Shutdown ScriptsShutdownAdd UNIX and OnLine utility commands to

Strany 696

Installation and Initial Configuration 1-59Create Blobspaces and DbspacesCreate Blobspaces and DbspacesAfter OnLine is initialized, you can create blo

Strany 697 - Index 11

1-60 IBM Informix OnLine Database Server Administrator’s GuideOnLine Error Message FormatOnLine Error Message FormatThe OnLine error message format is

Strany 698

2ChapterSystem ArchitectureIn This Chapter ... 2-7Initialization ... 2-7Initialization Commands ... 2-8

Strany 699 - Index 13

2-2 IBM Informix OnLine Database Server Administrator’s GuideOnLine User Processes... 2-22How User Processes Attach to Shared Memory ..

Strany 700

System Architecture 2-3LRU Queues and Buffer Pool Management...2-58LRU_MAX_DIRTY ...2-59LRU_MIN_DIRTY ...2-59How a

Strany 701 - Index 15

2-4 IBM Informix OnLine Database Server Administrator’s GuideDbspace and Blobspace... 2-84Database ... 2-85Tblspace ...

Strany 702

System Architecture 2-5Structure of an Extent .....2-114Extent Size......2-114Page Types ......2-115Next Extent

Komentáře k této Příručce

Žádné komentáře