Sybase IQ 12.4.0 installation instructions Dbccoption option

Page 38

New set option

dbcc_option option

Function

Allowed values

Default

Description

To verify that the data is not corrupt and set the database storage to its actual value, you start the server with the -iqdroplksswitch and connect to the database. You then set the option dbcc_option and run the sp_iqcheckdb stored procedure. Depending on results, you may need to reset this option and rerun the procedure. See the discussion below for details.

A new set option, dbcc_option, controls the actions performed by

sp_iqcheckdb. This option applies only to the database you are connected to when you set the option.

Overrides the default operation of sp_iqcheckdb

0 - 3

0

The value of this option determines the processing that sp_iqcheckdb does.

Value

Action

0

Runs default action:

 

• If -iqdroplkswas specified during server startup, runs

 

CheckStorage Fix. Checks for leaked blocks and corrupt

 

database pages by walking all the block maps in the system and

 

reading every database page. If no error is detected, resets

 

database free list to calculated allocation map. If an error is

 

found, it is reported in .iqmsg file, but free list is not altered.

 

• If -iqdroplkswas not specified during server startup, runs

 

GatherStatistics. Produces report. If severe error found,

 

server may terminate.

 

In this read-only mode, sp_iqcheckdb does not lock the

 

database to prevent other writers. Therefore, it may incorrectly

 

report that leaks were detected, because it did not see new

 

versions of objects outside its transactional scope.

 

 

1

Runs CheckAllocation. Checks for leaked blocks by walking all

 

block maps in the system. Runs very fast (about 1 second per GB

 

of data). Produces a report of findings. Does not reset the free list.

 

This option provides a fast method of determining if the database

 

has potentially leaked any storage.

 

 

38

Image 38
Contents Release Bulletin Adaptive Server IQ For Digital Unix Product summaryRequired Operating System Patches Required Operating System Patches Adaptive Server IQRelease Bulletin for Digital Unix RestrictionsAdaptive Server IQ Converting 12.0.x databases to Following outer join format is supported Documentation for this version Installation InstructionsSetting the Ldlibrarypath Environment Variable Obtaining query plans Accessing Current Release Bulletin InformationSpecial migration instructions 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 utilityAdaptive Server IQ Queries Temporary tables in proceduresData definition 1 ANY, SOME, and ALL subquery supportOutput to file in Dbisql Adaptive Server IQ OperationsLarge in subqueries Changing length of Dbisql column valuesUnsupported terminal types cause Dbisql error User-defined variable issueDbspawn Error when starting a server User-defined variable issue Adaptive Server IQAdd Service utility installed only with Server Components Problems with Add User-defined Data Type wizardDSE not installed on Windows client systems Notification message setting omitted from Index PropertiesStartup, shutdown, and connection Documentation updates and clarificationsProduct compatibilities Data Type column in Table Editor retains focusAdditions to the startasiq or asiqsrv12 command-line options Specifying server switchesUsing -v switch on 64-bit platforms Gm command line optionGn command-line option Gm command line option Adaptive Server IQAdaptive Server IQ Confirming connections Using Odbc connectivity with UnixConfirming connections Stopasiq utility Using a .odbc.ini fileUsing a .odbc.ini file Adaptive Server IQ Addition to Stop Database statement Adaptive Server IQ Addition to Stop Database statementError in Dbstop example Adaptive Server IQ Error in Dbstop exampleConfiguration files do not accept quotes Disconnect details omittedData definition DDL Switch must be uppercaseAdaptive Server IQ Switch must be uppercase Change to Create Database statementJoint Virtual Table JVT definition LowDisk functions as HighGroupColumn Limit Correction IQ database file paths must be uniqueError on Create Dbspace Error documenting IQ PathError in raw partition limit Adaptive Server IQ Error documenting IQ PathSize clause of Create Dbspace Adaptive Server IQ Size clause of Create DbspaceAddition to Drop Database statement Adaptive Server IQ Recommended index types Changes to Using join indexesRecommended 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 IQNumber* function not supported String function Repeat is supportedCorrection to Char function Adaptive Server IQ String function Repeat is supportedUsing Isnull and Coalesce Adaptive Server IQ Backup and system administrationUsing Isnull and Coalesce 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 ColumnsTransaction Log utility Minpasswordlength optionSpiqstatus now displays IQ Page Size Maintaining a transaction log or mirror Grant Connect for existing user ID Error message for buffer cache settingsSetting PrefetchBufferLimit option Documentation on Data Backup and Recovery Dropping users may delete tablesChanges to Backup statement Cleaning up after abnormal exitMonitoring server activity Client applications Using PC client applicationsCreating attribute tables for PowerBuilder Help filesTechnical Support Adaptive Server IQ plug-in help reflects Multiplex supportOther sources of information Sybase Certifications on the WebTechinfo.sybase.com