Sybase IQ 12.4.0 installation instructions Forced recovery and leaked space recovery

Page 36

Effect of checkpoints

Adaptive Server IQ 12.4.0

Temporary IQ Blocks Used:,163 of 6144, 2%, Max Block#: 97

If the percentage of blocks used is in the nineties, you need to add more disk space with the CREATE DBSPACE command. In this example, 82% of the Main IQ Blocks and 2% of the Temporary IQ Blocks are used, so more space will soon be needed in the Main IQ Store.

Effect of checkpoints Insert the following text at the start of the section “Effect of checkpoints on out of disk space conditions.”

If Adaptive Server IQ has already run out of space when a checkpoint is requested, the checkpoint command fails with the error:

Adding the wrong type of space

You have run out of space during the CHECKPOINT operation.

You must add additional dbspace before any new checkpoints can proceed.

Assume, for example, the temporary dbspace has run out of space, but you accidentally add a main dbspace by omitting the temporary keyword in the create dbspace command. Your create dbspace command hangs, waiting for you to add space to the first dbspace.

To continue, connect to the database from a new connection and create the needed temporary dbspace. Once this is done, the other create dbspace (for main) completes and all waiting connections resume running.

9.5.4 Forced recovery and leaked space recovery

 

This section describes parameters, options, and procedures that allow forced

 

recovery and leaked space recovery. This information will be added to the

 

Adaptive Server IQ Administration and Performance Guide and the Adaptive

 

Server IQ Reference Manual in the next update.

Forced recovery

Under certain conditions, previous versions of Adaptive Server IQ 12 could

 

fail to recover a database after a system crash. Adaptive Server IQ 12.4.0

 

resolves this problem by adding a forced recovery option. The forced recovery

 

option returns the database to its last known consistent state. Forced recovery

 

should only be used when normal database recovery fails to restore the

 

database to a running state.

 

Normal database recovery differs from forced database recovery in these ways:

 

Forced recovery marks all storage within the database as in use. In

 

 

order to recover a potentially corrupt free list (allocation map) all storage

 

 

within the database is marked as in use. You can return the storage

 

 

allocation to its correct value by using the server startup parameter

 

 

-iqdroplksand the sp_iqcheckdb storage procedure. See details below.

36

Release Bulletin for Digital UNIX

Image 36
Contents Release Bulletin Adaptive Server IQ For Digital Unix Product summaryRequired Operating System Patches Required Operating System Patches Adaptive Server IQRestrictions Adaptive Server IQ Converting 12.0.x databases toRelease Bulletin for Digital Unix Following outer join format is supported Installation Instructions Setting the Ldlibrarypath Environment VariableDocumentation for this version Accessing Current Release Bulletin Information Special migration instructionsObtaining query plans Go to support.sybase.comChanged functionality in this version Changed functionality in Adaptive Server IQImproved stored procedure output Adaptive Server IQ Known problems Adaptive Server IQ Stopasiq utilityTemporary tables in procedures Data definitionAdaptive Server IQ Queries 1 ANY, SOME, and ALL subquery supportAdaptive Server IQ Operations Large in subqueriesOutput to file in Dbisql Changing length of Dbisql column valuesUser-defined variable issue Dbspawn Error when starting a serverUnsupported terminal types cause Dbisql error User-defined variable issue Adaptive Server IQProblems with Add User-defined Data Type wizard DSE not installed on Windows client systemsAdd Service utility installed only with Server Components Notification message setting omitted from Index PropertiesDocumentation updates and clarifications Product compatibilitiesStartup, shutdown, and connection Data Type column in Table Editor retains focusAdditions to the startasiq or asiqsrv12 command-line options Specifying server switchesGm command line option Gn command-line optionUsing -v switch on 64-bit platforms Gm command line option Adaptive Server IQUsing Odbc connectivity with Unix Confirming connectionsAdaptive Server IQ Confirming connections Using a .odbc.ini file Using a .odbc.ini file Adaptive Server IQStopasiq utility Addition to Stop Database statement Adaptive Server IQ Addition to Stop Database statementError in Dbstop example Configuration files do not accept quotesError in Dbstop example Adaptive Server IQ Disconnect details omittedSwitch must be uppercase Adaptive Server IQ Switch must be uppercaseData definition DDL Change to Create Database statementLowDisk functions as HighGroup Column Limit CorrectionJoint Virtual Table JVT definition IQ database file paths must be uniqueError documenting IQ Path Error in raw partition limitError on Create Dbspace Adaptive Server IQ Error documenting IQ PathSize clause of Create Dbspace Addition to Drop Database statementSize clause of Create Dbspace Adaptive Server IQ Changes to Using join indexes Recommended index typesAdaptive Server IQ Recommended index types Changes to Using join indexes Adaptive Server IQ Id custid idlnameAdaptive Server IQ Changes to Using join indexes Error in Diskstriping default Data manipulation DMLAdaptive Server IQ Default Support for joins between stores or databasesNew and changed general database options New and changed general database options Adaptive Server IQAdaptive Server IQ Description InsertnumberrowsperrawiobufferCorrections to Insert Location Description Adaptive Server IQString function Repeat is supported Correction to Char functionNumber* function not supported Adaptive Server IQ String function Repeat is supportedBackup and system administration Using Isnull and CoalesceUsing Isnull and Coalesce Adaptive Server IQ New options for reserving spaceChange to error message Insufficient disk spaceForced recovery and leaked space recovery Effect of checkpoints Adaptive Server IQStorage within the database as in use Dbccoption option Spiqcheckdb Set dbccoption to 2, as a temporary option Improved output in stored procedures New Stored Procedure ColumnsMinpasswordlength option Spiqstatus now displays IQ Page SizeTransaction Log utility Maintaining a transaction log or mirror Error message for buffer cache settings Setting PrefetchBufferLimit optionGrant Connect for existing user ID Documentation on Data Backup and Recovery Dropping users may delete tablesChanges to Backup statement Cleaning up after abnormal exitMonitoring server activity Using PC client applications Creating attribute tables for PowerBuilderClient applications Help filesTechnical Support Adaptive Server IQ plug-in help reflects Multiplex supportOther sources of information Sybase Certifications on the WebTechinfo.sybase.com