Sybase IQ 12.4.0 Corrections to Insert Location, Description Adaptive Server IQ

Page 32

Description

 

 

Adaptive Server IQ 12.4.0

Description

For joins within a query, the IQ optimizer has a choice of several algorithms

 

for processing the join. This option allows you to override the optimizer’s

 

cost—based decision when choosing the algorithm to use. It does not override

 

internal rules that determine whether an algorithm is legal within the query

 

engine. If you set it to any non-zero value, it affects every join in a query; it

 

cannot be used to selectively modify one join out of several in a query.

 

This option is normally used for internal testing, and only experienced DBA's

 

should use it. The following table describes the valid values for this option and

 

their action.

 

 

 

 

Value

 

Action

 

 

 

 

 

 

 

 

0

 

Let the optimizer choose

 

 

 

 

 

 

1

 

Prefer sort/merge

 

 

 

 

 

 

2

 

Prefer nested loop

 

 

 

 

 

 

3

 

Prefer nested loop push-down

 

 

 

 

 

 

4

 

Prefer hash

 

 

 

 

 

 

5

 

Prefer hash push-down

 

 

 

 

 

 

6

 

Prefer join index

 

 

 

 

 

 

-1

 

Avoid sort/merge

 

 

 

 

 

 

-2

 

Avoid nested loop

 

 

 

 

 

 

-3

 

Avoid nested loop push-down

 

 

 

 

 

 

-4

 

Avoid hash

 

 

 

 

 

 

-5

 

Avoid hash push-down

 

 

 

 

 

 

–6

 

Avoid join index

 

 

 

 

 

9.4.7 Corrections to INSERT LOCATION

These corrections apply to the Adaptive Server IQ Reference Manual and the

Adaptive Server IQ Administration and Performance Guide.

If you plan to use the INSERT LOCATION command (syntax 3 of the INSERT command), the Adaptive Server Enterprise server you are connecting to must exist in the interfaces file on the local machine.

Also, the syntax in the Adaptive Server IQ Reference Manual is incorrect. The servername.dbname must be enclosed in single quotes, and the SELECT statement must be in braces. An example of correct syntax is:

INSERT CUSTOMERS LOCATION ’BOSTON.PUBS2’

32

Release Bulletin for Digital UNIX

Image 32
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 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 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 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 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 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 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 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