IBM 000-8697 Manuale Utente

Navigare online o scaricare Manuale Utente per Software di database IBM 000-8697. IBM 000-8697 User's Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 702
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 0
IBM Informix OnLine
Database Server
Administrator’s Guide
Version 5.x
December 2001
Part No. 000-8697
Vedere la pagina 0
1 2 3 4 5 6 ... 701 702

Sommario

Pagina 1 - Database Server

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

Pagina 2

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

Pagina 3 - Table of Contents

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

Pagina 4

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

Pagina 5 - Chapter 2 System Architecture

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

Pagina 6

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

Pagina 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

Pagina 8

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

Pagina 9

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

Pagina 10

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

Pagina 11

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

Pagina 12 - Chapter 7 Utilities

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

Pagina 13

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

Pagina 14 - Appendix A Notices

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

Pagina 15 - Introduction

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

Pagina 16

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

Pagina 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

Pagina 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

Pagina 19 - Demonstration Database

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

Pagina 20

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

Pagina 21

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

Pagina 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

Pagina 23 - Command-Line Conventions

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

Pagina 24

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

Pagina 25

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

Pagina 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

Pagina 27

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

Pagina 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

Pagina 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

Pagina 30

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

Pagina 31

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

Pagina 32

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

Pagina 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

Pagina 34 - IBM Welcomes Your Comments

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

Pagina 35 - Configuration

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

Pagina 36

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

Pagina 37

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

Pagina 38

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

Pagina 39

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

Pagina 40 - Define Your Starting Point

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

Pagina 41

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

Pagina 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

Pagina 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

Pagina 44

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

Pagina 45 - OnLine Configuration Files

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

Pagina 46

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

Pagina 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

Pagina 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

Pagina 49

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

Pagina 50

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

Pagina 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

Pagina 52

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

Pagina 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

Pagina 54 - # System Page Size

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

Pagina 55 - ROOTNAME

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

Pagina 56 - ROOTOFFSET

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

Pagina 57 - ROOTSIZE

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

Pagina 58 - MIRRORPATH

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

Pagina 59 - PHYSFILE

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

Pagina 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

Pagina 61 - LOGFILES

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 67 - TRANSACTIONS

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

Pagina 68 - TBLSPACES

2 IBM Informix OnLine Database Server Administrator’s Guide

Pagina 69 - PHYSBUFF

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

Pagina 70 - CLEANERS

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

Pagina 71 - CKPTINTVL

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

Pagina 72

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

Pagina 73 - TXTIMEOUT

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

Pagina 74 - OnLine Disk Space Allocation

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

Pagina 75

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

Pagina 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

Pagina 77

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

Pagina 78

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

Pagina 79

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

Pagina 80

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

Pagina 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

Pagina 82

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 89 - TBCONFIG

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

Pagina 90

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

Pagina 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

Pagina 92 - Shutdown

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

Pagina 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

Pagina 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

Pagina 95 - System Architecture

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

Pagina 96

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

Pagina 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

Pagina 98

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

Pagina 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

Pagina 100

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

Pagina 101 - Initialization

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

Pagina 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

Pagina 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

Pagina 104 - Disk Space Commands

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

Pagina 105

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

Pagina 106 - Step 2: Create Shared Memory

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

Pagina 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

Pagina 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

Pagina 109

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

Pagina 110 - Step 5: Initialize Disk Space

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

Pagina 111 - System Architecture 2-17

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

Pagina 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

Pagina 113

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

Pagina 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

Pagina 115

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 121

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

Pagina 122

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

Pagina 123

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

Pagina 124

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

Pagina 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

Pagina 126

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

Pagina 127 - OnLine Daemon Processes

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

Pagina 128

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

Pagina 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

Pagina 130

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 135 - Shared-Memory Latches

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 146 - OnLine Tblspace Table

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

Pagina 147

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

Pagina 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

Pagina 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

Pagina 150 - Big Buffers

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

Pagina 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

Pagina 152

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

Pagina 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

Pagina 154

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

Pagina 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

Pagina 156

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 161

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

Pagina 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

Pagina 163

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

Pagina 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

Pagina 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

Pagina 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

Pagina 167 - System Architecture 2-73

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 173

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

Pagina 174

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

Pagina 176 - BUFFSIZE in the configuration

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

Pagina 177

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

Pagina 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

Pagina 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

Pagina 180 - Logical Log

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

Pagina 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

Pagina 182

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

Pagina 183 - ■ Unused pages

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

Pagina 184

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

Pagina 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

Pagina 186

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

Pagina 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

Pagina 188

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

Pagina 189 - Reserved Pages

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

Pagina 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

Pagina 191 - PAGE_CONFIG

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

Pagina 192

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

Pagina 193 - PAGE_DBSP

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

Pagina 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

Pagina 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

Pagina 196 - PAGE_ARCH

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 201 - Database Tblspace

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 209 - Page Types

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

Pagina 210

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

Pagina 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

Pagina 212

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

Pagina 213

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

Pagina 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

Pagina 215 - Slot Table

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

Pagina 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

Pagina 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

Pagina 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

Pagina 219 - System Architecture 2-125

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

Pagina 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

Pagina 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

Pagina 222

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

Pagina 223 - Storage of Modified Rows

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

Pagina 224

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

Pagina 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

Pagina 226

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 231

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

Pagina 232 - Index Key Entries

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

Pagina 233

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

Pagina 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

Pagina 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

Pagina 236

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

Pagina 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

Pagina 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

Pagina 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

Pagina 240

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

Pagina 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

Pagina 242 - Blobspace Page Types

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

Pagina 243

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

Pagina 244

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

Pagina 245

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

Pagina 246

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

Pagina 247

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

Pagina 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

Pagina 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

Pagina 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

Pagina 251

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

Pagina 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

Pagina 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

Pagina 254

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

Pagina 255

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

Pagina 256

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

Pagina 257 - Operating OnLine

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

Pagina 258

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

Pagina 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

Pagina 260

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

Pagina 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

Pagina 262 - Changing Modes

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

Pagina 263 - DB-Monitor

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

Pagina 264 - From Offline to Online

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

Pagina 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

Pagina 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

Pagina 267

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

Pagina 268

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

Pagina 269 - Logical Log Administration

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

Pagina 270 - Logical Log File Backups

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

Pagina 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

Pagina 272 - Configuration Parameters

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

Pagina 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

Pagina 274 - Location of Logical Log Files

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

Pagina 275 - Preliminary Consideration

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

Pagina 276

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

Pagina 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

Pagina 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

Pagina 279

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

Pagina 280

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

Pagina 281

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

Pagina 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

Pagina 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

Pagina 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

Pagina 285

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

Pagina 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,

Pagina 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

Pagina 288

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

Pagina 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

Pagina 290 - Adding Logging to a Database

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

Pagina 291

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

Pagina 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

Pagina 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

Pagina 294

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

Pagina 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

Pagina 296

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

Pagina 297

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

Pagina 298 - DB-Monitor Force

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

Pagina 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

Pagina 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

Pagina 301 - Incremental Archive Strategy

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

Pagina 302

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

Pagina 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

Pagina 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

Pagina 305 - Single Tape Drive

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

Pagina 306 - Operator Availability

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

Pagina 307 - The Archives

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

Pagina 308 - TAPEBLK and TAPESIZE

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

Pagina 309 - Preliminary Considerations

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

Pagina 310

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

Pagina 311

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

Pagina 312

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

Pagina 313 - Create an Archive, Any Type

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

Pagina 314

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

Pagina 315 - Two Tape Drives

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

Pagina 316 - One Tape Drive

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

Pagina 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

Pagina 318 - Monitor Archive History

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

Pagina 319 - Monitor Blobs in a Blobspace

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

Pagina 320

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

Pagina 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

Pagina 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

Pagina 323

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

Pagina 324 - Monitor Buffer-Pool Activity

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

Pagina 325 - Monitor Checkpoints

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

Pagina 326 - Monitor Chunks

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

Pagina 327

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

Pagina 328

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

Pagina 329

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

Pagina 330 - Monitor Databases

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

Pagina 331 - Monitor Dbspaces

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

Pagina 332

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

Pagina 333 - Monitor Disk Pages

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

Pagina 334 - Monitor Extents

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

Pagina 335 - Monitor Index Information

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 340

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

Pagina 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

Pagina 342

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

Pagina 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

Pagina 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

Pagina 345

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

Pagina 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

Pagina 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

Pagina 348

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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.

Pagina 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

Pagina 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

Pagina 358

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

Pagina 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-

Pagina 360 - Enable Mirroring

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

Pagina 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

Pagina 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

Pagina 363

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

Pagina 364

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

Pagina 365

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

Pagina 366

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

Pagina 367

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

Pagina 368

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

Pagina 369

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

Pagina 370

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

Pagina 371

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

Pagina 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

Pagina 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

Pagina 374

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

Pagina 375

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

Pagina 376

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

Pagina 377

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

Pagina 378 - Consistency Checking

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

Pagina 379 - Using the tbcheck Commands

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

Pagina 380 - Using the OnLine Message Log

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

Pagina 381 - ISAM error is returned:

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

Pagina 382

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

Pagina 383 - DUMPSHMEM

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

Pagina 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

Pagina 385

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

Pagina 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

Pagina 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

Pagina 388 - Processing

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

Pagina 389 - Recovery

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

Pagina 390 - OnLine Logging Overview

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

Pagina 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

Pagina 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

Pagina 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

Pagina 394

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

Pagina 395

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

Pagina 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

Pagina 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

Pagina 398

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

Pagina 399 - Copy Blobpages

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

Pagina 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

Pagina 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

Pagina 402 - Write Trailer Page

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

Pagina 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

Pagina 404 - Force a Checkpoint

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

Pagina 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

Pagina 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

Pagina 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

Pagina 409 - Determine Archive Criteria

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

Pagina 410 - Update the Reserved Pages

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

Pagina 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

Pagina 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

Pagina 413 - Step 1: Checkpoint Condition

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

Pagina 414

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

Pagina 415

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

Pagina 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

Pagina 417

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

Pagina 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

Pagina 419

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

Pagina 420 - Verify OnLine Configuration

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

Pagina 422 - Prompt for Logical Log Backup

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

Pagina 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

Pagina 424 - Database and Table Migration

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

Pagina 425

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

Pagina 426 - UNLOAD/dbschema/dbload

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

Pagina 427

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

Pagina 428

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

Pagina 429

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

Pagina 430

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

Pagina 431

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

Pagina 432 - ■ UNLOAD /dbschema /dbload

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 437

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

Pagina 438

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

Pagina 439

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

Pagina 440

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

Pagina 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

Pagina 442

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

Pagina 443

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

Pagina 444 - Disk Layout

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

Pagina 445

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

Pagina 446

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 458 - Efficient Page Cleaning

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

Pagina 459

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

Pagina 460 - Checkpoint Frequency

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 465

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

Pagina 466

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

Pagina 467 - DB-Monitor Screens

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

Pagina 468

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

Pagina 469

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

Pagina 470 - Main Menu

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 476 - Archive Menu

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

Pagina 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

Pagina 478

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

Pagina 479 - Utilities

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

Pagina 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

Pagina 481 - Utilities 7-3

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

Pagina 482

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

Pagina 483

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

Pagina 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

Pagina 485 - Destination Options

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

Pagina 486

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

Pagina 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

Pagina 488

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

Pagina 489 - ■ Invalid command parameters

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

Pagina 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

Pagina 491

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

Pagina 492 - Create Options

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

Pagina 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

Pagina 494 - IBM Informix

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

Pagina 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

Pagina 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

Pagina 497 - Batch Size

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

Pagina 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

Pagina 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

Pagina 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

Pagina 501

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

Pagina 502

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

Pagina 503

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 508

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

Pagina 509

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

Pagina 510 - ■ Save the output to a file

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

Pagina 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

Pagina 512 - Include Privileges

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

Pagina 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

Pagina 514

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

Pagina 515

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

Pagina 516

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

Pagina 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

Pagina 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

Pagina 519 - -n Option

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

Pagina 520 - -pd and -pD Options

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

Pagina 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

Pagina 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

Pagina 523 - -y Option

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

Pagina 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

Pagina 525 - -s Option

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

Pagina 526 - DBA privilege for the

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

Pagina 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

Pagina 528

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

Pagina 529 - Utilities 7-51

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

Pagina 530 - Log-Record Read Filters

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

Pagina 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

Pagina 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

Pagina 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

Pagina 534 - Record Types

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

Pagina 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

Pagina 536

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

Pagina 537

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

Pagina 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

Pagina 539

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

Pagina 540

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

Pagina 541

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

Pagina 542

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

Pagina 544 - Change OnLine Mode

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

Pagina 545

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

Pagina 546 - Switch the Logical Log File

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

Pagina 547 - Kill an OnLine Transaction

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

Pagina 548

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

Pagina 549

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

Pagina 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

Pagina 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

Pagina 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

Pagina 553 - Drop a Blobspace or Dbspace

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

Pagina 554

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

Pagina 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(

Pagina 556

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

Pagina 557

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

Pagina 558

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

Pagina 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

Pagina 560

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

Pagina 561

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

Pagina 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

Pagina 563

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

Pagina 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

Pagina 565 - -F Option

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

Pagina 566 - -k Option

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

Pagina 567 - -l Option

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

Pagina 568

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

Pagina 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

Pagina 570

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

Pagina 571

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

Pagina 572

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

Pagina 573 - -R option

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

Pagina 574

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

Pagina 575

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

Pagina 576 - -t Option

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

Pagina 577 - -u Option

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

Pagina 578

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

Pagina 579 - -X Option

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

Pagina 581 - Utilities 7-103

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

Pagina 582 - Start Continuous Backups

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

Pagina 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

Pagina 584

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

Pagina 585 - DB-Monitor Logical-Logs

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

Pagina 586

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

Pagina 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

Pagina 588

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

Pagina 589 - OnLine Message Log

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

Pagina 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

Pagina 591

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

Pagina 592

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

Pagina 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

Pagina 594

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

Pagina 595

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

Pagina 596

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

Pagina 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

Pagina 598

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

Pagina 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

Pagina 600

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

Pagina 601

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

Pagina 602

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

Pagina 603

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

Pagina 604

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

Pagina 605

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

Pagina 606

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

Pagina 607

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

Pagina 608

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

Pagina 609

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

Pagina 610

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

Pagina 611

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

Pagina 612

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

Pagina 613

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

Pagina 614

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

Pagina 615

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

Pagina 616

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

Pagina 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

Pagina 618

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

Pagina 619

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

Pagina 620

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

Pagina 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

Pagina 622

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

Pagina 623 - The OnLine Environment

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

Pagina 624 - High Performance

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

Pagina 625 - Multimedia Support

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

Pagina 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

Pagina 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

Pagina 628

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

Pagina 629

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

Pagina 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

Pagina 631

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

Pagina 632

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

Pagina 633 - DBSERVER-NAME

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

Pagina 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-

Pagina 635

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

Pagina 636 - COMMIT WORK

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

Pagina 637

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

Pagina 638

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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)

Pagina 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

Pagina 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

Pagina 645

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

Pagina 646 - Participant Recovery

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

Pagina 647 - TXTIMEOUT. When

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

Pagina 648

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 653 - Figure 9-8

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

Pagina 654

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

Pagina 655 - Figure 9-9

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

Pagina 656 - Heuristic Rollback

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

Pagina 657

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

Pagina 658

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

Pagina 659

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

Pagina 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

Pagina 661

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

Pagina 662

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

Pagina 663 - Product Environment 9-43

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

Pagina 664 - IBM Informix STAR

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

Pagina 665 - ENDTRANS

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

Pagina 666 - Transaction Commit Records

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

Pagina 667

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

Pagina 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

Pagina 669

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

Pagina 670

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

Pagina 672

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

Pagina 673 - Product Environment 9-53

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

Pagina 674 - HEURTX recordassociated with

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

Pagina 675 - Example Manual Recovery

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

Pagina 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

Pagina 677 - DEADLOCK TIMEOUT

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

Pagina 678 - TXTIME-OUT

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

Pagina 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

Pagina 680 - Transaction flag Field

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

Pagina 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

Pagina 682 - Transaction coordinator Field

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

Pagina 683 - Appendix

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

Pagina 684

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

Pagina 685 - COPYRIGHT LICENSE:

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

Pagina 686 - Trademarks

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

Pagina 687

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

Pagina 688

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

Pagina 689

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

Pagina 690

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

Pagina 691

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

Pagina 692

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

Pagina 693

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

Pagina 694

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

Pagina 695

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

Pagina 696

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

Pagina 697 - Index 11

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

Pagina 698

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

Pagina 699 - Index 13

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

Pagina 700

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

Pagina 701 - Index 15

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

Pagina 702

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

Commenti su questo manuale

Nessun commento