Sybase Troubleshooting dbisql and dbspawn Errors in Adaptive Server IQ

Page 12

User-defined variable issue

Adaptive Server IQ 12.4.0

To avoid truncated output, increase the length by setting the truncation_length option as follows:

SET OPTION DBO.TRUNCATION_LENGTH = 80

Alternatively, from the DBISQL menu select Command→Options and enter a higher value for Limit Display Columns and/or Limit Output Columns.

7.3.3 User-defined variable issue

User-defined variables will core dump if used in IQ queries.

7.3.4 DBSPAWN ERROR when starting a server

When attempting to start a server, you may get the following message:

DBSPAWN ERROR -96 -- database engine already running

This means that dbspawn is finding the shared memory segment of a previously started server, and is unable to create a shared memory segment.

To resolve this issue, subsequent servers should be started with the parameter -hswhich will turn off shared memory. For example:

start_asiq @kent.cfg kent.db -hs

All servers can be started with shared memory “off”. Note that if shared memory is turned off, then you will have to connect to the server using TCP/IP, instead of using the default shared memory connection.

7.3.5 Unsupported terminal types cause DBISQL error

If you set the terminal type to “dumb” or “unknown”, then start DBISQL,

Adaptive Server IQ returns an error. For example:

%setenv TERM dumb % dbisql Error at line 1

Unable to initialize screen routines

To avoid problems, use an xterm window to run DBISQL on UNIX systems.

For example, you can start an xterm window with a scroll bar as follows:

%xterm -sb

7.3.6Adding a raw disk dbspace

Do not specify the optional SIZE clause when adding a raw disk dbspace.

Adaptive Server IQ will correctly calculate the size of the raw disk without it.

12

Release Bulletin for Digital UNIX

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