Introduction To SAP Sybase IQ
Introduction To SAP Sybase IQ
iv SAP Sybase IQ
About SAP Sybase IQ
Product Editions
SAP Sybase IQ is available in several product editions.
Product Edition Description
Enterprise Edition Supports all options and features.
Optional features require additional licenses that are pur-
chased separately.
Small Business Edition Supports most of the functionality available in the Enter-
prise Edition, but does not support multiplex or any op-
tional features.
Single Application Server Provides the same functionality as the Small Business Ed-
ition, but is restricted to use in a one- or two-machine
environment.
Evaluation Edition Supports all options and features available in the Enter-
prise Edition for a 30-day evaluation period.
Express Edition Supports all options and features available in the Evalua-
tion Edition.
Unlike the Evaluation Edition, the Express Edition does
not expire, but does restrict the size of all IQ main dbspa-
ces, permit other incremental license options, and cannot
be deployed in a production environment.
Optional Features
Optional features extend the utility of the Enterprise Edition.
Option Description
Unstructured Data Analytics Supports Binary Large Object (BLOB) and Character
Large Object (CLOB) storage and retrieval.
Supports Binary Large Object (BLOB) and Character
Large Object (CLOB) storage and retrieval.
Advanced Security Supports these optional security features:
• Column encryption
• FIPS network encryption
• Kerberos connection authentication
Licensing
All product editions except the Evaluation Edition require a license. Optional features are sold
and licensed separately.
The Evaluation Edition is an unlicensed server, which provides full access to all features and
options available in the Enterprise Edition. To run the Evaluation Edition beyond the thirty-
day evaluation period, however, you must purchase and install the appropriate license.
Related Products
SAP Sybase IQ is part of a large group of database products that provide a complete analytics
infrastructure.
• SAP HANA® – The SAP HANA database is an in-memory database that combines
transactional data processing, analytical data processing, and application logic processing
functionality in memory.
2 SAP Sybase IQ
About SAP Sybase IQ
See Products > Database > Database Solutions > SAP HANA Database on sap.com for
more information.
• SAP SQL Anywhere® – SQL Anywhere is a comprehensive data management package
for server, desktop, mobile, and remote office environments. SAP Sybase IQ is an
extension of SQL Anywhere, and incorporates many of its features.
See Products > Database > Database Solutions > SAP Sybase SQL Anywhere on sap.com
for more information.
• SAP Sybase PowerDesigner® – PowerDesigner is the industry-leading modeling and
metadata management solution for data, information, and enterprise architecture.
See Products > Database > Database Solutions> SAP Sybase PowerDesigner on sap.com
for more information.
Getting Started
Document Name Contents
Introduction to SAP Sybase IQ Hands-on introduction to SAP Sybase IQ.
Quick Start (UNIX/Linux), Quick Start Steps to create and query a SAP Sybase IQ demo da-
(Windows) tabase.
Migration (UNIX/Linux), Migration (Win- Steps to install maintenance releases, steps for upgrad-
dows) ing your database, and information on upgrading to the
role-based security model.
Administration
Document Name Contents
Administration: Database Database setup and troubleshooting.
Administration: User Management and Security User and Security implementation and adminis-
tration.
Reference
Document Name Contents
Reference: Statements and Options Syntax and parameters for SQL statements and op-
tions.
Reference: Building Blocks, Tables, and SQL, functions, procedures, tables, and views.
Procedures
Performance and Tuning Guide Database, system, and query tuning options.
Optional Features
Document Name Contents
Unstructured Data Analytics Binary Large Object (BLOB) and Character Large
Object (CLOB) storage and retrieval.
4 SAP Sybase IQ
About SAP Sybase IQ
Licensing
Document Name Contents
Sybase Software Asset Management (Sy- License generation, options, and management.
SAM) 2 Users Guide
SySAM 2 Quick Start Guide SPDC and SAP Service Marketplace license genera-
tion.
Components
SAP Sybase IQ includes tools and utilities that help you work with the server.
Note: Available utilities depend on your operating system and installation options.
Windows Options
On Windows, the Sybase IQ Program Group provides quick access to common utilities.
Available options differ for Server and Client installations.
Server Installations
Raw Device Access Adds or removes users and raw devices from the registry.
Sample Applications and Projects Displays a list of sample applications and projects.
Start SAP Sybase IQ Demo Data- Starts the database server running the demo database.
base
SAP Sybase IQ ReadMe File Lists last-minute changes to documentation and software and
special material that needs emphasis.
Sybase Service Manager Lets you configure, modify, or delete SAP Sybase IQ as a
Windows service.
Sybase on the Web Opens a Web page that introduces Sybase online resources.
Client Installations
Sybase on the Web Opens a Web page that introduces Sybase online resources.
Interactive SQL Starts the Java-based Interactive SQL utility for sending SQL
statements to a database.
6 SAP Sybase IQ
About SAP Sybase IQ
Demo Database
Many of the examples throughout the documentation use the demo database (iqdemo.db)
as a data source. The demo database is installed as part of the SAP Sybase IQ Server Suite and
resides on the server. Client access is provided by tools installed as part of the SAP Sybase IQ
Client Suite.
GROUPO Tables
GROUPO tables contain internal information about a fictional company that sells athletic
clothing. Sample data includes information about the company (employees, departments, and
financial data) as well as product information (products) and sales information (sales orders,
customers, and contacts).
SalesOrderItems Sales order items. Each order consists of one or more items. Information
about sales order items is held in a separate table.
DBA-Owned Tables
Tables owned by the DBA include utility and sample data tables. Access requires either the
SELECT ANY TABLE system privilege or SELECT privilege on the DBA-owned table.
Use of the DUMMY system table in SAP Sybase IQ is implied for all
queries that do not have a FROM clause.
8 SAP Sybase IQ
Concepts
Concepts
Understanding some basic terms and concepts will help you work with SAP Sybase IQ.
Key Principles
The key principles of SAP Sybase IQ are the concepts of column-wise data structures and
bit-wise indexing.
Bit-Wise Indexing
Bitmap indexes use bit arrays (commonly called bitmaps) and answer queries by performing
bitwise logical operations on these bitmaps.
Unlike other indexing methods, SAP Sybase IQ indexes are based on the cardinality of the
data and the way the data will be used. SAP Sybase IQ has indexes for both low- and high-
cardinality columns.
Bit-wise indexing benefits both low- and high-cardinality columns. It translates the distinct
data elements of a column into a bit mask.
Cardinality is the number of unique values in a column:
• Low-cardinality data: fewer than 1500 unique values. Examples are days of the week,
gender and states.
• High-cardinality data: 1500 unique values or more. Examples are primary keys, telephone
numbers, social security numbers.
10 SAP Sybase IQ
Concepts
Architecture
SAP Sybase IQ supports both simplex and multiplex architecture.
12 SAP Sybase IQ
Concepts
Stores
There are five stores in the SAP Sybase IQ database.
14 SAP Sybase IQ
Concepts
• USER_DBSPACE – created and named by DBA, it holds user tables and indexes. DBAs
may create additional dbspaces, as needed. The database option Default_Dbspace controls
where tables and indexes are stored.
IQ Log Files
There are four log files in the SAP Sybase IQ database.
The names of the IQ log files are derived from the name of the database with unique
extensions. For example, an IQ database named "customer" would contain a catalog store
named customer.db, an IQ message file named customer.iqmsg, and a catalog store
transaction log file named customer.log. If using file systems for the IQ store and IQ
temporary store, their names would be customer.iq and customer.iqtmp,
respectively. For raw partitions, the dbspaces would be named by the partition name.
Message Log
The IQ message file is created when an SAP Sybase IQ server starts for the first time.
If the file has been deleted or renamed, the server automatically creates a new IQ message file
when the server is restarted. The IQ message file will continue to grow over time. However, the
DBA can set a maximum file size after which it the file wraps around and overwrites the oldest
records.
The IQ message file captures:
• SAP Sybase IQ server start up information
• Messages concerning the time and records for table loads, deletes and truncations
• Transaction IDs for all connections to the database
• Times of server checkpoints
• Error messages which are typically identified by “exception thrown”
• Status messages
• Query plans
The name of the physical file is dbname.iqmsg. There is one message log per database, for
file system only.
16 SAP Sybase IQ
Concepts
• Any create, alter or drop commands associated with SAP Sybase IQ database objects
• Adding or removing users from the database
• Adding or changing user permissions
• Adding or changing a dbspace to the database
• Any DML statement for user data that is stored in the catalog
Server Logs
The SAP Sybase IQ server engine logs messages to several log files which are created each
time the server is started.
On Windows servers, the server log files are located in the C:\Documents and
Settings\All Users\Sybase IQ\logfiles directory.
• iq_startup_nt.log—records server startup parameters only
• <server_name>.00n.srvlog—where n is the number of times the server has been
started
• Other server messages are sent to the server console window
On UNIX and Linux servers, the server log files are located in $IQDIR16/logfiles.
These server log files have 4 digit numbers.
• <servername>.000n.stderr
• <servername>.000n.srvlog
RLV Log
RLV store logging is different, and in many ways simpler, than traditional database (disk or
in-memory) logging. because data in the RLV store is transient. Data pages are not persisted to
disk, and data is merged to the IQ main store on a frequent basis.
RlvLogPages Number of IQ pages being used to store RLV logs for this table
RlvLogKBytes Number of kilobytes being used to store RLV logs for this table
Commit Log
The commit log is a specialized log stream which speeds the analysis pass during recovery.
The commit log contains only end transaction and merge log records. During recovery a list of
committed transactions can be quickly built by reading the relatively small commit log
followed by the tail of the individual log streams.
Server Spaces
There are two server spaces in the SAP Sybase IQ database.
Dbspaces
A dbspace is a logical name for a container of files or raw partitions called dbfiles.
Catalog and IQ main stores may consist of 1 or more dbspaces. The IQ temporary store
consists of only one dbspace.
Note: You must be licensed for the IQ_VLDBMGMT option in order to create more than one
user dbspace per database.
Dbfiles
A dbfile is an operating system file contained within a dbspace.
The RLV_STORE dbspace, the catalog store SYSTEM dbspace and other catalog dbspaces
can contain only one dbfile each. The IQ store user dbspaces, the IQ_SYSTEM_MAIN
dbspace, and the IQ_SYSTEM_TEMP dbspace can each contain multiple dbfiles.
18 SAP Sybase IQ
Scalability
Scalability
SAP Sybase IQ’s patented design permits databases to scale to contain many terabytes of
data.
Its index-based structure allows the database to store your data in a much smaller space than
the size of the raw input data, and access it far faster than a traditional relational database.
These features make SAP Sybase IQ ideal for storing and accessing very large databases
(VLDBs).
Database administrators need to understand the options and features that affect performance,
and follow documented guidelines. While many default settings automatically provide the
greatest efficiency, you may need to experiment with certain option settings for the fastest
results, based on your configuration, your loading requirements, and your queries. Setting
these options appropriately is necessary for top performance in any SAP Sybase IQ database,
but is especially important as your database grows to the multiterabyte scale.
This section introduces SAP Sybase IQ features that help you manage a very large database,
and points you to more detailed discussion and recommendations.
Memory Use
Allocating memory appropriately is a key factor in performance for all SAP Sybase IQ
databases.
SAP Sybase IQ uses memory in its buffer caches for loads and queries. It also uses some
memory for managing connections, transactions, buffers, and database objects.
SAP Sybase IQ has two buffer caches, one for the main store and one for the temporary store.
The default sizes of these caches are not sufficient for a production data warehouse. You must
adjust them to reflect the size of your database and tables, your mix of loads and queries, and
other factors such as your operating system and other applications that can affect the amount
of memory available.
Data Loads
As your database grows, it is crucial to manage data loading properly.
These features ensure that your loads can scale to meet your needs:
• Buffer manager partitioning to avoid lock contention. Buffer partitioning based on the
number of CPUs is enabled by default, and can be adjusted by setting server or database
options.
• Allowing sufficient memory for loads, without allocating more memory than is available
on your system.
• Reserving space for data structures used during release savepoint, commit, and checkpoint
operations.
Reserve IQ main store space using the MAIN_RESERVED_DBSPACE_MB Option.
MAIN_RESERVED_DBSPACE_MB Option
Controls the amount of space SAP Sybase IQ reserves in the IQ main store.
Allowed Values
Integer greater than or equal to 200, in megabytes
Default
200; SAP Sybase IQ actually reserves a maximum of 50% and a minimum of 1% of the last
read-write file in IQ_SYSTEM_MAIN
Scope
Option can be set at the database (PUBLIC) level only.
Requires the SET ANY SYSTEM OPTION system privilege to set this option. Takes effect
immediately.
Remarks
MAIN_RESERVED_DBSPACE_MB controls the amount of space SAP Sybase IQ sets aside in
the IQ main store for certain small but critical data structures used during release savepoint,
commit, and checkpoint operations. For a production database, set this value between 200MB
and 1GB, or at least 20 percent of IQ_SYSTEM_MAIN size. The larger your IQ page size and
number of concurrent connections, the more reserved space you need.
Reserved space size is calculated as a maximum of 50 percent and a minimum of 1 percent of
the last read-write file in IQ_SYSTEM_MAIN.
SAP Sybase IQ ignores the MAIN_RESERVED_DBSPACE_MB option if the actual dbspace
size is less than twice the size of the MAIN_RESERVED_DBSPACE_MB value. In dbspaces
less than 100MB (such as the demo database), half the usable space may be reserved.
Page Size
When you create your SAP Sybase IQ databases, it is especially important to choose the
correct IQ page size.
For very large databases, you need an IQ page size of 128KB or larger.
20 SAP Sybase IQ
Scalability
Processing Threads
SAP Sybase IQ uses operating system threads to process queries and loads.
The default settings of options that control thread use are usually sufficient to provide good
performance. In some cases, you may need to change these settings.
This condition may well be temporary. When some other query finishes, threads are made
available and the query may succeed the next time. If the condition persists, you may need to
restart the server and specify more SAP Sybase IQ threads. It is also possible that -iqmt is set
too low for the number of connections.
Tuning Options
Tuning options that provide faster query execution.
Disk Space
Learn about managing disk I/O for a SAP Sybase IQ system.
The most important factors in managing disk I/O for a SAP Sybase IQ system are:
• Having enough disk space for queries and loads
• Using that disk space effectively, so that the fastest I/O is available to support the
processing speed of high-powered, multi-CPU systems
The sp_iqstatus stored procedure indicates the percentage of space used in the IQ main and
temporary stores. If there is not enough temporary or main dbspace available for a buffer or
dbspace allocation request, then the statement making the request rolls back. You can create a
timer-based event to monitor space usage to help avoid unexpected rollbacks, which may
occur in out of space situations on non-privileged operations.
Disk striping is an important means of obtaining maximum I/O performance. Disk striping
distributes data randomly across multiple disk drives. You can take advantage of disk striping
capabilities in your operating system or disk management software and hardware, as well as
internal striping. Disk striping is enabled by default.
Intermediate Versioning
A key aspect of managing loads and queries in larger databases is SAP Sybase IQ’s
transaction-level versioning.
In particular, SAP Sybase IQ offers the ability to roll back transactions to intermediate save
points, so that you may not need to repeat the entire load if a long transaction is unable to
complete.
22 SAP Sybase IQ
Scalability
Column-Based Indexes
SAP Sybase IQ’s column-based indexing structure optimizes your ability to perform
selections or calculations on attributes of interest to you.
For the best performance, you need the right set of indexes for your data and queries. Your
database should have an index on every column that affects performance.
Query Optimizer
The SAP Sybase IQ query optimizer evaluates every query, choosing among various
processing options to produce a query plan that offers optimal performance.
The optimizer is tuned for each release of SAP Sybase IQ to choose the best plan for most
queries and most databases, including the largest ones.
Schema Design
SAP Sybase IQ often works better with denormalized schemas common in data warehouse
design.
In a traditional relational database, normalization improves transaction processing by
removing redundancy and improving consistency. In a data warehouse, especially a very large
one, denormalization improves performance when processing queries against large amounts
of data.
Each month, you can load data into a single base table—JANUARY, FEBRUARY, or
MARCH in this example. Next month, load data into a new table with the same columns, and
the same index types.
Note: You cannot perform an INSERT...SELECT into a UNION ALL view. UNION ALL
operators are not fully parallel in this release. Their use may limit query parallelism.
UNION Operation
Combines the results of two or more select statements.
Quick Links:
Go to Parameters on page 25
Go to Examples on page 25
Go to Usage on page 25
Go to Standards on page 26
24 SAP Sybase IQ
Scalability
Go to Permissions on page 26
Syntax
select-without-order-by
… UNION [ ALL ] select-without-order-by
… [ UNION [ ALL ] select-without-order-by ]…
… [ ORDER BY integer [ ASC | DESC ] [, …] ]
Parameters
(back to top) on page 24
• All – the results of UNION ALL are the combined results of the component SELECT
statements. The results of UNION are the same as UNION ALL, except that duplicate
rows are eliminated. Eliminating duplicates requires extra processing, so UNION ALL
should be used instead of UNION where possible.
• ORDER BY – only integers are allowed in the order by list. These integers specify the
position of the columns to be sorted.
Examples
(back to top) on page 24
• Example 1 – list all distinct surnames of employees and customers:
SELECT Surname
FROM Employees
UNION
SELECT Surname
FROM Customers
Usage
(back to top) on page 24
The results of several SELECT statements can be combined into a larger result using a UNION
clause. The component SELECT statements must each have the same number of items in the
select list, and cannot contain an ORDER BY clause. See FROM Clause.
If corresponding items in two select lists have different data types, SAP Sybase IQ chooses a
data type for the corresponding column in the result, and automatically converts the columns
in each component SELECT statement appropriately.
The column names displayed are the same column names that display for the first SELECT
statement.
Note: When SELECT statements include constant values and UNION ALL views but omit the
FROM clause, use iq_dummy to avoid errors. See FROM Clause for details.
Standards
(back to top) on page 24
• SQL—ISO/ANSI SQL compliant.
• SAP Sybase Database product—Supported by SAP Adaptive Server® Enterprise, which
also supports a COMPUTE clause.
Permissions
(back to top) on page 24
Requires SELECT privilege for each component of the SELECT statements.
JOIN_PREFERENCE Option
Controls the choice of algorithms when processing joins.
Allowed Values
Value Action
0 Let the optimizer choose
26 SAP Sybase IQ
Scalability
Value Action
1 Prefer sort-merge
2 Prefer nested-loop
4 Prefer hash
9 Prefer partitioned hash join if the join keys include all the partition keys of a hash
partitioned table
10 Prefer partitioned hash-push down join if the join keys include all the partition keys
of a hash partitioned table
11 Prefer partitioned sort-merge join if the join keys include all the partition keys of a
hash partitioned table
12 Prefer partitioned sort-merge push-down join if the join keys include all the partition
keys of a hash partitioned table
-1 Avoid sort-merge
-2 Avoid nested-loop
-4 Avoid hash
-9 Avoid partitioned hash join if the join keys include all the partition keys of a hash
partitioned table
-10 Avoid partitioned hash-push down join if the join keys include all the partition keys
of a hash partitioned table
Value Action
-11 Avoid partitioned sort-merge join if the join keys include all the partition keys of a
hash partitioned table
-12 Avoid partitioned sort-merge push-down join if the join keys include all the partition
keys of a hash partitioned table
Default
0
Scope
Option can be set at the database (PUBLIC) or user level. When set at the database level, the
value becomes the default for any new user, but has no impact on existing users. When set at
the user level, overrides the PUBLIC value for that user only. No system privilege is required
to set option for self. System privilege is required to set at database level or at user level for any
user other than self.
Requires the SET ANY PUBLIC OPTION system privilege to set this option. Can be set
temporary for an individual connection or for the PUBLIC role. Takes effect immediately.
Remarks
For joins within a query, the SAP Sybase IQ optimizer has a choice of several algorithms for
processing the join. JOIN_PREFERENCE 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 nonzero value, every
join in a query is affected; you cannot use it to selectively modify one join out of several in a
query, but join condition hint strings can do so.
This option is normally used for internal testing or tuning of report queries, and only
experienced DBAs should use it.
Simple equality join predicates can be tagged with a predicate hint that allows a join
preference to be specified for just that one join. If the same join has more than one join
condition with a local join preference, and if those hints are not the same value, then all local
preferences are ignored for that join. Local join preferences do not affect the join order chosen
by the optimizer.
This example requests a hash join:
AND (T.X = 10 * R.x, 'J:4')
28 SAP Sybase IQ
Scalability
To work around this performance issue, queries should have the DISTINCT operator
evaluated before the ORDER BY, where the sort order is ASC and the optimization can be
applied:
SELECT c.state FROM (SELECT DISTINCT state
FROM testVUA) c
ORDER BY c.state DESC;
30 SAP Sybase IQ
Glossary
Glossary
SAP Sybase IQ terms and concepts.
• Adaptive Server – Adaptive Server is a high-performance relational database
management system. You can use SAP Sybase IQ to query data in Adaptive Server
databases.
• Catalog store – A catalog store is the portion of each SAP Sybase IQ database that
contains its metadata. The catalog store contains the SYSTEM dbspace and up to 12
additional other catalog dbspaces. The default name is dbname.db.
• Component Integration Services (CIS) – Component Integration Services (CIS)
provides SAP Sybase IQ users with direct access to relational or nonrelational databases
on the mainframe, UNIX, or Windows servers.
• Connection Profile – Connection profiles store connection information to a running SAP
Sybase IQ server. The profile is primarily used to simplify user connections to a server.
SAP Sybase IQ extends connection profiles to facilitate starting servers and creating
databases.
• Dbfile – A dbfile is an operating system file used to store data for a SAP Sybase IQ
database. Each dbfile has a corresponding logical filename and physical file path. Each
dbspace name, dbfile name, and physical file path must be unique. The dbfile name can be
the same as the dbspace name.
The SYSDBFILE view shows all the dbfiles in your database, including the catalog
dbspace file, the IQ message file, dbfiles in the IQ main and temporary dbspaces, the
transaction log file, and the SA temporary file.
• Dbspace – A dbspace is a logical collection of dbfiles. If a database runs out of room, you
can expand it by adding additional dbspaces. Users can move SAP Sybase IQ data off of
disks and take the disks offline without any downtime.
• Free list – A free list is a structure that SAP Sybase IQ uses to track which blocks are in use
by a dbspace.
• IQ database – An IQ database is a database that you create using an SAP Sybase IQ server.
IQ databases are specially indexed to take advantage of the query speed of SAP Sybase
IQ.
Each IQ database that you create includes these stores: an IQ main store (for data), a
catalog store (for metadata), an IQ temporary store (for temporary data), and the RLV store
(for in-memory data store for concurrent row-level table updates). It also generates an IQ
message log file.
• IQ main store – The IQ main store is the portion of each SAP Sybase IQ database that
contains the IQ_SYSTEM_MAIN dbspace and other user dbspaces. The IQ main store
contains persistent database structures, such as backup metadata and rollback data for
committed transactions. The IQ main store is sometimes called the IQ store.
Tip: Avoid storing user tables and indexes in IQ_SYSTEM_MAIN and instead create
additional dbspaces, called user main dbspaces, to store user tables and indexes.
• IQ message log – An IQ message log file created when the first user connects to an IQ
database. The default name for this file is dbname.iqmsg.
IQ_SYSTEM_MSG is a system dbspace that points to the file path of the database IQ
message log file. IQ_SYSTEM_MSG is not considered a store because it doesn’t store any
data. SAP Sybase IQ logs error messages, status messages and insert notification
messages in this file.
• IQ temporary store – The IQ temporary store contains the IQ_SYSTEM_TEMP
dbspace. The IQ temporary store is the portion of each IQ database that stores temporary
tables and temporary scratch space data structures.
The database server uses temporary data structures to sort and process data. Data in these
tables persists only as long as you are connected to the database.
• IQ transaction log – The IQ transaction log records changes to the database. The
transaction log includes version information, free space, and other information you can
use to recover from a system failure. By default, the transaction log is created in the same
directory as the catalog store. The default name for this dbfile is dbname.log.
• metadata – Metadata is data that describes the data in your database – for example, the
size and data type of each column in a table. Metadata for each SAP Sybase IQ database is
stored in the catalog store.
• Multiplex – A powerful feature in SAP Sybase IQ that provides application scalability
through a clustered server configuration. SAP Sybase IQ multiplex allows concurrent data
loads and queries via independent data processing nodes connected to a shared data
source. Each multiplex server has its own catalog store and IQ temporary store and all the
servers share a common IQ store. For more information, see Administration: Multiplex.
• Object – An object can be a user-created table or index. Objects are divided into persistent
objects, which remain in the database over user disconnects and server restarts, and
temporary objects, tables and views that only remain in the database during the current
session. Permanent tables are also called base tables.
• Partition key – A partition key is a table column defined by the table creator that
determines how a table should be partitioned.
• Proxy table – A proxy table is a table object that maps to a table on a remote server, and
whose column attributes and index information are derived from the object at the remote
location.
You can use proxy tables to search data in multiple SQL Anywhere servers, Adaptive
Server databases, and non-Sybase databases. Conversely, you can also create proxy tables
that enable you to query your SAP Sybase IQ, SQL Anywhere, and Adaptive Server
databases.
• Range partition – A range partition is logical subset of table rows based on the values of a
single table column.
32 SAP Sybase IQ
Glossary
• RLV – Row-Level snapshot Versioning. The RLV store is an in-memory data store for
concurrent row-level table updates. If a table is not enabled for RLV storage, it uses table-
level snapshot versioning. See Administration: In-Memory Row-Level Versioning.
• SQL Anywhere – SQL Anywhere is a transaction-processing relational database
management system which can be used standalone or as a network server in a multiuser
client/server or three-tier environment.
SQL Anywhere is specifically designed to use fewer memory and disk resources than the
average database management system. SAP Sybase IQ is an extension of SQL Anywhere,
and supports many of the same features.
• SQL Anywhere database – Every SAP Sybase IQ database uses an SQL Anywhere
database for the catalog store.
• Store – A store is one or more dbspaces that store persistent or temporary data for a special
purpose. SAP Sybase IQ has these stores: the catalog store, the IQ main store, the IQ
temporary store, and the RLV store.
• Synchronization – Synchronization brings an outdated multiplex secondary node server
up to date.
• Table partition – A table partition is a collection of rows that is a subset of a user-created
table. A given row cannot be placed in two different partitions. Each partition can be placed
in its own dbspace and managed individually.
• Tablespace – A tablespace unit of storage within the database that may be administered as
a logical subset of total storage. You may allocate individual objects and subobjects to
individual tablespaces. A tablespace in SAP Sybase IQ is referred to as a dbspace.
34 SAP Sybase IQ
Index
Index
A Multiplex Grid 1
Unstructured Data Analytics 1
About SAP Sybase IQ 1 Very Large Database Management 1
Adaptive Server Enterprise 31 free list 31
Advanced Security 1 FROM Clause 26
C
Catalog Store 31
G
catalog store transaction log 16 glossary 31–33
component integration services (CIS) 31 GROUPO tables 7
Concepts 9
connection profile 31
connectivity sample applications 6 I
Interactive SQL 5
D IQ
Database, demo See SAP Sybase IQ about
iqdemo 7 IQ database 31
databases IQ message Log 32
very large 19 IQ store
Databases reserving space 20
demo 7 IQ Store 31
dba tables 7 IQ temporary store 32
dbfile 31 IQ transaction log 32
dbisql iq_dummy table 7
See Interactive SQL iqdemo.db file
dbspace 31 about 7
dbspces 18
demo database
starting 6 J
Demo database
java sample applications 6
DBA-owned tables 7
JOIN_PREFERENCE 26
GROUPO tables 7
JOIN_PREFERENCE option 26
iq_dummy table 7
iqdemo 7
Demo Database 7 L
documentation 3
licensing 1
E lightweight processes 21
Enterprise Edition 1
Evaluation Edition 1 M
F MAIN_RESERVED_DBSPACE_MB option 20
make files 6
Features, optional manuals 3
Advanced Security 1
O S
object 32 sample applications 6
ODBC sample applications 6 SAP Control Center 5
Optional features SAP Sybase IQ
Advanced Security 1 components 5
Multiplex Grid 1 Concepts 9
Unstructured Data Analytics 1 demo database 7
Very Large Database Management 1 documentation 3
Options related products 2
JOIN_PREFERENCE 26 Service Manager 6
out-of-space conditions Schema Design
preventing 20 UNION ALL 29
Service Manager 6
shared temporary store 15
P Single Application Server 1
partition key 32 Small Business Edition 1
Partitioned Table 26 SQL Anywhere 33
persistence 17 store 33
process threading model 21 synchronization 33
Product editions System Resources
Enterprise Edition 1 Resource Use Options 22
Evaluation Edition 1
Single Application Server 1 T
Small Business Edition 1
products, related table partitions 33
PowerDesigner 2 tables, iqdemo
SQL Anywhere 2 dba tables 7
WorkSpace 2 GROUPO tables 7
program group 6 iq_dummy table 7
proxy database 32 tablespace 33
Pushdown Join 26
U
R
UNION ALL
range partition 32 Loading 24
Raw Device Access 6 Rules 26
readme file 6 View Performance 29
real-time updating 15 Views 26
36 SAP Sybase IQ
Index
UNION operation 24 V
Unstructured Data Analytics 1
user manuals 3 Very Large Database Management 1
VLDB
managing 19
38 SAP Sybase IQ