IBM 000-8697 Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie bazy danych IBM 000-8697. IBM 000-8697 User's Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 702
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
IBM Informix OnLine
Database Server
Administrator’s Guide
Version 5.x
December 2001
Part No. 000-8697
Przeglądanie stron 0
1 2 3 4 5 6 ... 701 702

Podsumowanie treści

Strona 1 - Database Server

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

Strona 2

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

Strona 3 - Table of Contents

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

Strona 4

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

Strona 5 - Chapter 2 System Architecture

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

Strona 6

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

Strona 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

Strona 8

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

Strona 9

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

Strona 10

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

Strona 11

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

Strona 12 - Chapter 7 Utilities

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

Strona 13

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

Strona 14 - Appendix A Notices

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

Strona 15 - Introduction

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

Strona 16

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

Strona 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

Strona 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

Strona 19 - Demonstration Database

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

Strona 20

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

Strona 21

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

Strona 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

Strona 23 - Command-Line Conventions

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

Strona 24

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

Strona 25

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

Strona 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

Strona 27

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

Strona 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

Strona 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

Strona 30

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

Strona 31

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

Strona 32

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

Strona 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

Strona 34 - IBM Welcomes Your Comments

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

Strona 35 - Configuration

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

Strona 36

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

Strona 37

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

Strona 38

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

Strona 39

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

Strona 40 - Define Your Starting Point

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

Strona 41

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

Strona 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

Strona 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

Strona 44

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

Strona 45 - OnLine Configuration Files

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

Strona 46

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

Strona 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

Strona 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

Strona 49

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

Strona 50

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

Strona 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

Strona 52

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

Strona 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

Strona 54 - # System Page Size

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

Strona 55 - ROOTNAME

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

Strona 56 - ROOTOFFSET

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

Strona 57 - ROOTSIZE

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

Strona 58 - MIRRORPATH

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

Strona 59 - PHYSFILE

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

Strona 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

Strona 61 - LOGFILES

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 67 - TRANSACTIONS

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

Strona 68 - TBLSPACES

2 IBM Informix OnLine Database Server Administrator’s Guide

Strona 69 - PHYSBUFF

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

Strona 70 - CLEANERS

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

Strona 71 - CKPTINTVL

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

Strona 72

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

Strona 73 - TXTIMEOUT

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

Strona 74 - OnLine Disk Space Allocation

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

Strona 75

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

Strona 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

Strona 77

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

Strona 78

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

Strona 79

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

Strona 80

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

Strona 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

Strona 82

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 89 - TBCONFIG

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

Strona 90

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

Strona 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

Strona 92 - Shutdown

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

Strona 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

Strona 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

Strona 95 - System Architecture

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

Strona 96

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

Strona 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

Strona 98

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

Strona 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

Strona 100

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

Strona 101 - Initialization

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

Strona 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

Strona 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

Strona 104 - Disk Space Commands

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

Strona 105

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

Strona 106 - Step 2: Create Shared Memory

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

Strona 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

Strona 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

Strona 109

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

Strona 110 - Step 5: Initialize Disk Space

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

Strona 111 - System Architecture 2-17

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

Strona 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

Strona 113

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

Strona 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

Strona 115

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 121

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

Strona 122

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

Strona 123

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

Strona 124

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

Strona 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

Strona 126

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

Strona 127 - OnLine Daemon Processes

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

Strona 128

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

Strona 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

Strona 130

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 135 - Shared-Memory Latches

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 146 - OnLine Tblspace Table

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

Strona 147

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

Strona 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

Strona 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

Strona 150 - Big Buffers

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

Strona 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

Strona 152

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

Strona 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

Strona 154

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

Strona 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

Strona 156

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 161

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

Strona 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

Strona 163

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

Strona 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

Strona 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

Strona 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

Strona 167 - System Architecture 2-73

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 173

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

Strona 174

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

Strona 176 - BUFFSIZE in the configuration

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

Strona 177

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

Strona 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

Strona 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

Strona 180 - Logical Log

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

Strona 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

Strona 182

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

Strona 183 - ■ Unused pages

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

Strona 184

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

Strona 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

Strona 186

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

Strona 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

Strona 188

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

Strona 189 - Reserved Pages

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

Strona 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

Strona 191 - PAGE_CONFIG

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

Strona 192

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

Strona 193 - PAGE_DBSP

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

Strona 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

Strona 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

Strona 196 - PAGE_ARCH

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 201 - Database Tblspace

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 209 - Page Types

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

Strona 210

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

Strona 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

Strona 212

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

Strona 213

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

Strona 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

Strona 215 - Slot Table

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

Strona 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

Strona 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

Strona 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

Strona 219 - System Architecture 2-125

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

Strona 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

Strona 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

Strona 222

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

Strona 223 - Storage of Modified Rows

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

Strona 224

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

Strona 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

Strona 226

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 231

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

Strona 232 - Index Key Entries

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

Strona 233

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

Strona 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

Strona 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

Strona 236

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

Strona 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

Strona 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

Strona 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

Strona 240

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

Strona 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

Strona 242 - Blobspace Page Types

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

Strona 243

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

Strona 244

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

Strona 245

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

Strona 246

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

Strona 247

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

Strona 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

Strona 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

Strona 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

Strona 251

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

Strona 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

Strona 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

Strona 254

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

Strona 255

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

Strona 256

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

Strona 257 - Operating OnLine

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

Strona 258

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

Strona 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

Strona 260

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

Strona 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

Strona 262 - Changing Modes

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

Strona 263 - DB-Monitor

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

Strona 264 - From Offline to Online

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

Strona 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

Strona 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

Strona 267

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

Strona 268

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

Strona 269 - Logical Log Administration

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

Strona 270 - Logical Log File Backups

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

Strona 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

Strona 272 - Configuration Parameters

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

Strona 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

Strona 274 - Location of Logical Log Files

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

Strona 275 - Preliminary Consideration

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

Strona 276

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

Strona 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

Strona 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

Strona 279

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

Strona 280

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

Strona 281

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

Strona 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

Strona 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

Strona 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

Strona 285

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

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

Strona 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

Strona 288

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

Strona 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

Strona 290 - Adding Logging to a Database

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

Strona 291

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

Strona 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

Strona 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

Strona 294

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

Strona 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

Strona 296

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

Strona 297

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

Strona 298 - DB-Monitor Force

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

Strona 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

Strona 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

Strona 301 - Incremental Archive Strategy

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

Strona 302

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

Strona 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

Strona 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

Strona 305 - Single Tape Drive

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

Strona 306 - Operator Availability

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

Strona 307 - The Archives

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

Strona 308 - TAPEBLK and TAPESIZE

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

Strona 309 - Preliminary Considerations

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

Strona 310

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

Strona 311

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

Strona 312

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

Strona 313 - Create an Archive, Any Type

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

Strona 314

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

Strona 315 - Two Tape Drives

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

Strona 316 - One Tape Drive

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

Strona 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

Strona 318 - Monitor Archive History

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

Strona 319 - Monitor Blobs in a Blobspace

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

Strona 320

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

Strona 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

Strona 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

Strona 323

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

Strona 324 - Monitor Buffer-Pool Activity

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

Strona 325 - Monitor Checkpoints

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

Strona 326 - Monitor Chunks

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

Strona 327

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

Strona 328

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

Strona 329

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

Strona 330 - Monitor Databases

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

Strona 331 - Monitor Dbspaces

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

Strona 332

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

Strona 333 - Monitor Disk Pages

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

Strona 334 - Monitor Extents

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

Strona 335 - Monitor Index Information

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 340

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

Strona 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

Strona 342

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

Strona 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

Strona 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

Strona 345

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

Strona 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

Strona 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

Strona 348

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

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

Strona 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

Strona 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

Strona 358

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

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

Strona 360 - Enable Mirroring

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

Strona 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

Strona 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

Strona 363

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

Strona 364

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

Strona 365

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

Strona 366

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

Strona 367

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

Strona 368

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

Strona 369

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

Strona 370

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

Strona 371

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

Strona 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

Strona 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

Strona 374

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

Strona 375

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

Strona 376

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

Strona 377

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

Strona 378 - Consistency Checking

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

Strona 379 - Using the tbcheck Commands

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

Strona 380 - Using the OnLine Message Log

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

Strona 381 - ISAM error is returned:

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

Strona 382

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

Strona 383 - DUMPSHMEM

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

Strona 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

Strona 385

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

Strona 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

Strona 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

Strona 388 - Processing

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

Strona 389 - Recovery

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

Strona 390 - OnLine Logging Overview

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

Strona 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

Strona 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

Strona 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

Strona 394

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

Strona 395

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

Strona 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

Strona 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

Strona 398

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

Strona 399 - Copy Blobpages

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

Strona 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

Strona 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

Strona 402 - Write Trailer Page

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

Strona 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

Strona 404 - Force a Checkpoint

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

Strona 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

Strona 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

Strona 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

Strona 409 - Determine Archive Criteria

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

Strona 410 - Update the Reserved Pages

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

Strona 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

Strona 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

Strona 413 - Step 1: Checkpoint Condition

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

Strona 414

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

Strona 415

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

Strona 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

Strona 417

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

Strona 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

Strona 419

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

Strona 420 - Verify OnLine Configuration

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

Strona 422 - Prompt for Logical Log Backup

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

Strona 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

Strona 424 - Database and Table Migration

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

Strona 425

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

Strona 426 - UNLOAD/dbschema/dbload

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

Strona 427

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

Strona 428

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

Strona 429

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

Strona 430

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

Strona 431

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

Strona 432 - ■ UNLOAD /dbschema /dbload

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 437

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

Strona 438

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

Strona 439

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

Strona 440

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

Strona 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

Strona 442

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

Strona 443

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

Strona 444 - Disk Layout

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

Strona 445

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

Strona 446

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 458 - Efficient Page Cleaning

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

Strona 459

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

Strona 460 - Checkpoint Frequency

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 465

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

Strona 466

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

Strona 467 - DB-Monitor Screens

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

Strona 468

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

Strona 469

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

Strona 470 - Main Menu

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 476 - Archive Menu

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

Strona 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

Strona 478

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

Strona 479 - Utilities

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

Strona 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

Strona 481 - Utilities 7-3

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

Strona 482

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

Strona 483

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

Strona 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

Strona 485 - Destination Options

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

Strona 486

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

Strona 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

Strona 488

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

Strona 489 - ■ Invalid command parameters

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

Strona 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

Strona 491

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

Strona 492 - Create Options

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

Strona 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

Strona 494 - IBM Informix

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

Strona 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

Strona 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

Strona 497 - Batch Size

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

Strona 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

Strona 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

Strona 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

Strona 501

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

Strona 502

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

Strona 503

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 508

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

Strona 509

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

Strona 510 - ■ Save the output to a file

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

Strona 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

Strona 512 - Include Privileges

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

Strona 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

Strona 514

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

Strona 515

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

Strona 516

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

Strona 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

Strona 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

Strona 519 - -n Option

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

Strona 520 - -pd and -pD Options

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

Strona 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

Strona 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

Strona 523 - -y Option

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

Strona 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

Strona 525 - -s Option

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

Strona 526 - DBA privilege for the

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

Strona 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

Strona 528

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

Strona 529 - Utilities 7-51

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

Strona 530 - Log-Record Read Filters

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

Strona 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

Strona 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

Strona 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

Strona 534 - Record Types

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

Strona 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

Strona 536

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

Strona 537

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

Strona 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

Strona 539

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

Strona 540

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

Strona 541

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

Strona 542

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

Strona 544 - Change OnLine Mode

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

Strona 545

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

Strona 546 - Switch the Logical Log File

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

Strona 547 - Kill an OnLine Transaction

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

Strona 548

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

Strona 549

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

Strona 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

Strona 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

Strona 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

Strona 553 - Drop a Blobspace or Dbspace

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

Strona 554

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

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

Strona 556

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

Strona 557

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

Strona 558

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

Strona 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

Strona 560

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

Strona 561

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

Strona 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

Strona 563

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

Strona 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

Strona 565 - -F Option

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

Strona 566 - -k Option

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

Strona 567 - -l Option

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

Strona 568

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

Strona 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

Strona 570

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

Strona 571

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

Strona 572

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

Strona 573 - -R option

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

Strona 574

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

Strona 575

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

Strona 576 - -t Option

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

Strona 577 - -u Option

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

Strona 578

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

Strona 579 - -X Option

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

Strona 581 - Utilities 7-103

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

Strona 582 - Start Continuous Backups

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

Strona 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

Strona 584

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

Strona 585 - DB-Monitor Logical-Logs

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

Strona 586

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

Strona 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

Strona 588

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

Strona 589 - OnLine Message Log

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

Strona 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

Strona 591

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

Strona 592

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

Strona 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

Strona 594

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

Strona 595

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

Strona 596

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

Strona 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

Strona 598

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

Strona 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

Strona 600

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

Strona 601

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

Strona 602

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

Strona 603

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

Strona 604

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

Strona 605

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

Strona 606

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

Strona 607

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

Strona 608

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

Strona 609

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

Strona 610

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

Strona 611

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

Strona 612

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

Strona 613

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

Strona 614

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

Strona 615

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

Strona 616

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

Strona 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

Strona 618

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

Strona 619

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

Strona 620

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

Strona 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

Strona 622

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

Strona 623 - The OnLine Environment

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

Strona 624 - High Performance

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

Strona 625 - Multimedia Support

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

Strona 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

Strona 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

Strona 628

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

Strona 629

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

Strona 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

Strona 631

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

Strona 632

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

Strona 633 - DBSERVER-NAME

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

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

Strona 635

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

Strona 636 - COMMIT WORK

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

Strona 637

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

Strona 638

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

Strona 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

Strona 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

Strona 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

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

Strona 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

Strona 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

Strona 645

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

Strona 646 - Participant Recovery

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

Strona 647 - TXTIMEOUT. When

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

Strona 648

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 653 - Figure 9-8

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

Strona 654

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

Strona 655 - Figure 9-9

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

Strona 656 - Heuristic Rollback

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

Strona 657

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

Strona 658

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

Strona 659

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

Strona 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

Strona 661

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

Strona 662

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

Strona 663 - Product Environment 9-43

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

Strona 664 - IBM Informix STAR

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

Strona 665 - ENDTRANS

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

Strona 666 - Transaction Commit Records

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

Strona 667

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

Strona 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

Strona 669

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

Strona 670

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

Strona 672

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

Strona 673 - Product Environment 9-53

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

Strona 674 - HEURTX recordassociated with

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

Strona 675 - Example Manual Recovery

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

Strona 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

Strona 677 - DEADLOCK TIMEOUT

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

Strona 678 - TXTIME-OUT

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

Strona 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

Strona 680 - Transaction flag Field

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

Strona 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

Strona 682 - Transaction coordinator Field

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

Strona 683 - Appendix

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

Strona 684

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

Strona 685 - COPYRIGHT LICENSE:

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

Strona 686 - Trademarks

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

Strona 687

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

Strona 688

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

Strona 689

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

Strona 690

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

Strona 691

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

Strona 692

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

Strona 693

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

Strona 694

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

Strona 695

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

Strona 696

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

Strona 697 - Index 11

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

Strona 698

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

Strona 699 - Index 13

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

Strona 700

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

Strona 701 - Index 15

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

Strona 702

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

Komentarze do niniejszej Instrukcji

Brak uwag