Sybase ADAPTIVE SERVER IQ 12.4.0 Release Manual

For digital unix

Advertisement

Quick Links

1. Product summary
Copyright 1989-1999 by Sybase, Inc. All rights reserved. Sybase, the Sybase logo, Data Workbench, InfoMaker,
PowerBuilder, Powersoft, SQL Advantage, SQL Debug, Transact-SQL, Adaptive Server, Adaptive Server Any-
where, Adaptive Server Enterpr ise, Adaptive Server Enterprise Monitor,AnswerBase, Backup Server, ClearCon
nect, Client-Library, DB-Library, dbQueue, DirectConnect, Distribution Agent, Embedded SQL, Enterprise Cli-
ent/Server, Enterprise Connect, InformationConnect, KnowledgeBase, MainframeConnect, MAP, Net-Gateway,
NetImpact, Net-Library, ObjectConnect, OmniConnect, OmniSQL Access Module, Open Client, Open ClientCon-
nect, Open Client/Server, Open Gateway, Open Server, Open ServerConnect, PC DB-Net, PowerDesigner, Repli-
cation Agent, Replication Driver, Replication Server, Replication Server Manager, RW-Library, Secure SQL Server,
Security Guardian, SQL Anywhere, SQL Remote, SQL Server, SQL Server Manager, SQL Toolset, Sybase Central,
Sybase IQ, Sybase SQL Desktop, Sybase SQL Workgroup, SyBooks, System 10, System 11, Watcom SQL,
Web.SQL, WorkGroup SQL Server, XA-Library, XA-Server, and XP Server are trademarks of Sybase, Inc. Other
product names used herein may be trademarks or registered trademarks of Sybase or other companies. 1/99
Topic
1. Product summary
Enclosed is Adaptive Server™ IQ version 12.4.0, which is compatible
with the following platform and operating system configurations:
Digital UNIX V4.0d
Digital UNIX V4.0e
Release Bulletin
Document ID: 74950-01-1240-01
Last revised: September 10, 1999
for
Page
1
3
5
5
6
7
9
14
14
49
50

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADAPTIVE SERVER IQ 12.4.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sybase ADAPTIVE SERVER IQ 12.4.0

  • Page 1: Table Of Contents

    Sybase IQ, Sybase SQL Desktop, Sybase SQL Workgroup, SyBooks, System 10, System 11, Watcom SQL, Web.SQL, WorkGroup SQL Server, XA-Library, XA-Server, and XP Server are trademarks of Sybase, Inc. Other product names used herein may be trademarks or registered trademarks of Sybase or other companies. 1/99 Release Bulletin Adaptive Server®...
  • Page 2: Required Operating System Patches

    % sizer -v Tru64 UNIX V4.0D Wed Jul 15 12:31:49 EDT 1998 Adaptive Server IQ 12.4.0 has been built to take advantage of certain performance features found in the Digital Alpha EV5.6 (21164A) and later chip architecture. 1.1 Required Operating System Patches You must install the patches listed in this section to run Adaptive Server IQ on Digital UNIX.
  • Page 3: Restrictions

    Adaptive Server IQ 12.4.0 To obtain patches, download them from the website at http://www.service.digital.com/ or contact your Digital representative. These patches require that you rebuild your kernel. You must halt your Note system and then boot from the console after the new kernel is put into place.
  • Page 4 Adaptive Server Enterprise using the such data in an ASCII file and load it using the CREATE DATABASE For this release, to obtain the best performance, Sybase recommends the restrictions following minimum IQ page sizes: •...
  • Page 5: Installation Instructions

    Adaptive Server IQ 12.4.0 3. Installation Instructions For complete installation instructions, see Adaptive Server IQ Installation and Feature Guide for Compaq Digital UNIX. 3.1 Setting the LD_LIBRARY_PATH Environment Variable You must set the LD_LIBRARY_PATH environment variable before running Adaptive Server IQ and utilities.
  • Page 6: Special Migration Instructions

    A more recent version of this Release Bulletin may be available on the World Wide Web. To check for critical product or document information added after the release of the product CD, use the Sybase Technical Library Product Manual Web site.
  • Page 7: Changed Functionality In This Version

    The following sections describe changes since the Adaptive Server IQ documentation set was updated. 6.1 Changed functionality in Adaptive Server IQ 12.4.0 This section summarizes new features and other changes to Adaptive Server IQ 12.4.0. Details of most of these features are provided in “Documentation updates and clarifications”...
  • Page 8 Command-line options for server caching override the database cache parameters you set with the command: Release Bulletin for Digital UNIX Adaptive Server IQ 12.4.0 Stored procedures now display Database administrators can specify a The ODBC driver has been updated to ODBC 3.51. This...
  • Page 9: Known Problems

    Adaptive Server IQ 12.4.0 • -iqmc • -iqtc See “Additions to the start_asiq or asiqsrv12 command-line options” on page 15 for details. • stop_asiq utility more information see “stop_asiq utility” on page 18. 6.3 Changed functionality in Adaptive Server IQ 12 Adaptive Server IQ 12 takes a giant step forward from earlier versions.
  • Page 10: Data Definition

    When you include an automatically created temporary table in a procedure, the table should be dropped automatically when the procedure completes. In Adaptive Server IQ 12.4.0, however, the table is not dropped. As a result, it becomes visible outside the procedure, and a new instance of the table is created each time the procedure executes.
  • Page 11 Adaptive Server IQ 12.4.0 • = ALL • != ALL If you use an unsupported query in this group, Adaptive Server IQ returns an error like the following: Feature, ANY, not yet implemented Queries of this type can always be expressed in terms of IN subqueries or scalar subqueries using MIN and MAX set functions.
  • Page 12 7.3.6 Adding a raw disk dbspace Do not specify the optional Adaptive Server IQ will correctly calculate the size of the raw disk without it. Release Bulletin for Digital UNIX Adaptive Server IQ 12.4.0 truncation_length clause when adding a raw disk dbspace. SIZE...
  • Page 13 Adaptive Server IQ 12.4.0 7.4 Sybase Central This section reports problems with the Adaptive Server IQ plug-in for Sybase Central. 7.4.1 Problems with Add User-defined Data Type wizard When you create a user-defined data type, the Adaptive Server IQ plug-in allows you to specify a default value incompatible with the user-defined base data type.
  • Page 14: Product Compatibilities

    You should always use the platforms. If you do not, among the tasks you must do which the utility normally does for you are: Release Bulletin for Digital UNIX Adaptive Server IQ 12.4.0 utility to start the server on UNIX start_asiq...
  • Page 15 Adaptive Server IQ 12.4.0 • Remove all limits, and then set limits on the stack size and descriptors. To do so, go to the C shell and issue these commands: Note you must change them by setting kernel parameters. •...
  • Page 16 Limit the number of connections to the server that can be active server parameter should be added to Chapter 2 of the Adaptive Server utility sets this parameter. See the Adaptive start_asiq Adaptive Server IQ 12.4.0 in the Adaptive Server IQ asiqsrv12...
  • Page 17 • remember, once you set this you will not be able to use any executables in $SYBASE, as they will now pick up the wrong libraries. 9.1.7 Confirming connections In Chapter 2 of the Adaptive Server IQ Administration and Performance Guide, in the section “Introduction to connections”, the second paragraph...
  • Page 18 Checking system for ASIQ 12 Servers ... The following 1 process(es) were found. janed @/express1/users/janed/sybase/asiq12/demo/asiqdemo.cfg /express1/user Do you want to stop the above process(es) <Y/N>? Release Bulletin for Digital UNIX PPID STIME TTY 6331 1 14:42:21 pts/1 Adaptive Server IQ 12.4.0 TIME CMD 0:19 asiqsrv12...
  • Page 19 Adaptive Server IQ 12.4.0 ------------------------------------------------------ If you type Y (yes), the following message displays: ------------------------------------------------------ Shutting down asiqsrv12 ... (server shutdown). ------------------------------------------------- If you type N, you are returned to the system prompt and IQ does not shut down the server. If no running servers were started by your user ID, Adaptive Server...
  • Page 20 Server IQ: It should be added in Chapter 4 after the section titled “Viewing connected users”: Disconnecting users If there are multiple connected users, Sybase Central lists them when you attempt to disconnect. When you choose Tools —> Disconnect —> Adaptive Server IQ, a Filter Objects dialog box appears.
  • Page 21 Adaptive Server IQ 12.4.0 The parameter string in the sample configuration file shown in Chapter 2 of the Adaptive Server IQ Administration and Performance Guide should be corrected to: -n Elora -c 16M -x tcpip(port=2367) -gm 10 -gp 4096 path\mydb.db 9.1.15 -Z switch must be uppercase...
  • Page 22 Specify a different extension for each file (for example, mydb.iq and mydb.iqtmp) • Specify a different file name (for example, mydb.iq and mytmp.iq) Release Bulletin for Digital UNIX Adaptive Server IQ 12.4.0 CREATE DATABASE command specifies the identical path and filename for...
  • Page 23 In Sybase Central, the Create Database utility fails if you do not provide extensions for file names. The Introduction to Adaptive Server IQ fails to mention this and also does not mention that file extensions are needed when operating system files are used.
  • Page 24 The database must be stopped before you can drop it. If the connection parameter statement. Release Bulletin for Digital UNIX SIZE for the IQ Store and IQ Temporary Store, not for the AUTOSTOP=no is used, you may need to issue a Adaptive Server IQ 12.4.0 CREATE DBSPACE ... DROP DATABASE STOP DATABASE...
  • Page 25 Adaptive Server IQ 12.4.0 9.2.12 Recommended index types In the Adaptive Server IQ Administration and Performance Guide, Chapter 4, “Adaptive Server IQ Indexes,” in Table 1–2, Query type/index, the recommended index types for correct types are: Type of Query Usage...
  • Page 26 “one” table. If you try to synchronize, you get a Duplicate Row error, and the transaction rolls back. Release Bulletin for Digital UNIX lname If the one-to-many relationship is incorrect, the join cannot be Adaptive Server IQ 12.4.0...
  • Page 27 Adaptive Server IQ 12.4.0 Creating star joins The following should be added to Chapter 4 of the Adaptive Server IQ Administration and Performance Guide just after the figure that shows the sales_order table in a star join. You can create this table using the following commands: CREATE TABLE "DBA"."sales_order"...
  • Page 28 Release Bulletin for Digital UNIX load option does not apply to ASCII fixed-width inserts. For STRIP option in the following statement is ignored: (col1 ascii(3), col2 ascii(3)) from foo_data quotes off escapes off strip off Adaptive Server IQ 12.4.0 DISK_STRIPING option option DISK_STRIPING...
  • Page 29 Adaptive Server IQ 12.4.0 Default Description This option reports a syntax error for those queries containing outer joins that have ambiguous syntax due to the presence of duplicate correlation names on a null-supplying table. The following join clause illustrates the kind of query that is reported.
  • Page 30 Adaptive Server Anywhere 6.x from ASE 11.9.2. You use server class ASIQ to access Adaptive Server IQ 11.5.1, 11.5.2, ... 11.5.x (that is, 11.5.1 or later as stated in New Functionality in Sybase Adaptive Server Enterprise 11.9.2 is not correct for ASIQ 12).
  • Page 31 Adaptive Server IQ 12.4.0 Description This option specifies an upper bound (in MB) on the amount of heap memory subsequent loads can use. The default setting, 0 (zero), means that there is no upper bound, and Adaptive Server IQ can use as much heap memory as necessary to perform the load.
  • Page 32 An example of correct syntax is: INSERT CUSTOMERS LOCATION ’BOSTON.PUBS2’ Release Bulletin for Digital UNIX Adaptive Server IQ 12.4.0 Action Let the optimizer choose Prefer sort/merge...
  • Page 33 SELECT REPEAT( ’repeat’, 3 ) returns the value Standards and compatibility SQL/92 Vendor extension. Sybase REPEAT is not supported in Adaptive Server Enterprise, but REPLICATE provides the same capabilities. 9.4.9 Correction to CHAR function The Adaptive Server IQ Reference Manual incorrectly lists the as accepting a string-expr argument.
  • Page 34 Controls the amount of space Adaptive Server IQ reserves for adding dbspaces to the Temporary IQ Store. Allowed Values Integer greater than zero, in megabytes Release Bulletin for Digital UNIX Adaptive Server IQ 12.4.0 function is not supported and should be deleted from the...
  • Page 35 Adaptive Server IQ 12.4.0 Default Description This option lets you control the amount of space Adaptive Server IQ sets aside space in your temporary IQ Store, so that if you run out of disk space there you can add a new dbspace.
  • Page 36 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.
  • Page 37 -iqdroplks , support the new forced recovery and leaked dbcc_option Scope database database The forced recovery Sybase recommends that , and one additional Description Marks the specified database as in use and restores database to its last known consistent state.
  • Page 38 To verify that the data is not corrupt and set the database storage to its actual value, you start the server with the database. You then set the option stored procedure. Depending on results, you may need to reset this option and rerun the procedure.
  • Page 39 Produces a report of findings. If no error is detected, resets database free list to calculated allocation map. Sybase recommends that you use this option to recover the database free list only when the default option cannot do so due to errors encountered during processing, and no backed up version is available to restore.
  • Page 40 dbcc_option -iqdroplks function, write transactions are prevented before and during the running of sp_iqcheckdb locks during its execution. Any write transactions are blocked while sp_iqcheckdb If it detects transactions that are not committed or not checkpointed, sp_iqcheckdb checkpoint to run, other users with active write transactions are connected to the database. To recover leaked space: In the event that the default option (dbcc_option = 0) cannot recover the free list, and a previous backup is not available, use the following procedure to try...
  • Page 41 Example Assume that the DBA cannot successfully open and connect to database foo, because of reported IQ errors during database open and recovery. To force recovery and correct leaked space, follow the steps below. Do not confuse an inability to connect to a database with an IQ server- Note level error while IQ is trying to open a database.
  • Page 42 Column name Nblocks Info 9.5.6 SP_IQSTATUS now displays IQ Page Size The sp_iqstatus stored procedure now displays the IQ page size in addition to the block size. For example, Adaptive Server IQ used to display: Block Size: It now displays: Page Size: 9.5.7 MIN_PASSWORD_LENGTH option MIN_PASSWORD_LENGTH...
  • Page 43 When you use the can rename all of the files except the transaction log. Transactions continue to be written to the old log file name, in the location where the Catalog Store file (the .db file) is located after the database is restored. When you rename or move all other files in the database, it is preferable to do the same for the log file.
  • Page 44 Adaptive Server IQ for use in prefetching (the read ahead of database pages). This option has a default value of 20, which can degrade multi-user performance. Sybase recommends that you set this option to 0 for multi-user applications. This option was omitted from Chapter 12, “Managing System Resources,”...
  • Page 45 The same command can also be used to add a new user. For this reason, if you inadvertently enter the user ID of an existing user when you mean to add a new user, you are actually changing the password of the existing user. You do not receive a warning because this behavior is considered normal.
  • Page 46 –a semaphores and shared memory segments. When all Adaptive Server IQ instances are started by the same user (as Sybase recommends), you can search the OWNER column for that username. Identify shared memory segments and semaphores that have a very old create date but have not been used recently.
  • Page 47: Monitoring Server Activity

    ipcrm -m mid1 -m mid2 ... -s sid1 -s sid2 ... For example: % ipcrm -m 40965 -s 5130 -s36682 9.5.16 Monitoring server activity It may be helpful, especially for new users, to monitor server activity. When you start a server with the ASCII text file placed in the directory defined by $ASLOGDIR.
  • Page 48: Client Applications

    CD against Sybase Adaptive Server IQ v.12.0.x using the provided Adaptive Server IQ ODBC driver. Earlier versions of PowerBuilder (6.5 and below) do not include the script. In this case, you may obtain the script from the Sybase FTP website. Contact your PowerBuilder support representative if you need additional information or PowerBuilder 7.0.
  • Page 49: Technical Support

    Multiplexes is not available. 10. Technical Support Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you have any questions about this installation or if you need assistance during the installation process, ask the designated person to contact Sybase Technical Support or the Sybase subsidiary in your area.
  • Page 50: Other Sources Of Information

    11. Other sources of information Use the Sybase Technical Library (available on CD and the web) resources to learn more about your product: •...
  • Page 51 Your user ID and password Whether or not you are a registered SupportPlus user You can use Sybase’s Technical Documents. Certification Reports are among the features documented at this site Point your Web browser to Technical Documents at the following Web site techinfo.sybase.com...

Table of Contents