System tables and views

Sybase IQ system tables contain all of the information the database server needs to manage your Sybase IQ system. The system tables reside in the Catalog Store, and are sometimes called catalog tables. For some system tables there are also views that make it easier to display the information in the table. The SYS user ID owns the system tables.

Among the information in the system tables is:

System tables include:

System table

Description

DUMMY

A table with exactly one row, useful for extracting information from the database

IQ_MPX_INFO

Contains information describing a server in a multiplex database

IQ_MPX_STATUS

Contains dynamic information about a server in a multiplex database

IQ_MPX_VERSIONLIST

Contains one row for each query server in the multiplex.

IQ_SYSTEM_LOGIN_INFO

Stores system defaults for IQ User Administration

IQ_USER_LOGIN_INFO

Stores password expiration, connection limit, and login lock status for each IQ user ID

SYSARTICLE

Describes an article in a SQL Remote publication

SYSARTICLECOL

Describes columns in each article in a SQL Remote publication

SYSCAPABILITY

Each row identifies a capability of a remote server

SYSCAPABILITYNAME

Each row identifies a capability

SYSCHECK

Each row identifies a named check constraint in a table

SYSCOLLATION

Contains the complete collation sequences available to Sybase IQ

SYSCOLLATIONMAPPINGS

Lists the collation sequences available in Sybase IQ and their GPG and JDK mappings

SYSCOLPERM

Records names of individual columns with UPDATE permission

SYSCOLUMN

Describes each column in every table or view

SYSCONSTRAINT

Each row describes a named constraint

SYSDOMAIN

Lists the number, name, ODBC type, and precision of each predefined data type

SYSEVENT

Describes events created with CREATE EVENT

SYSEVENTTYPE

Describes system event types which can be referenced by CREATE EVENT

SYSEXTERNLOGINS

Describes external logins for remote data access

SYSFILE

Lists operating system files and dbspace names for the database

SYSFKCOL

Associates each foreign key column with a primary key column

SYSFOREIGNKEY

Contains general information about each foreign key

SYSGROUP

Describes a many-to-many relationship between groups and members

SYSINDEX

Describes indexes in the database

SYSINFO

Describes database characteristics

SYSIQCOLUMN

Lists information on columns in every table or view in the IQ Store

SYSIQFILE

Lists information on operating system files for the database

SYSIQINDEX

Lists internal information on indexes in the database

SYSIQINFO

Lists additional database characteristics

SYSIQJOININDEX

Describes join indexes in the database

SYSIQJOINIXCOLUMN

Describes columns that participate in join indexes

SYSIQJOINIXTABLE

Lists the tables that participate in each join index in the database

SYSIQTABLE

Describes each table or view in the IQ Store

SYSIXCOL

Describes each index for each column in the database

SYSJAR

Describes each jar file associated with the database

SYSJARCOMPONENT

Describes each jar component associated with the database

SYSJAVACLASS

Contains all information related to Java classes

SYSLOGIN

Lists User Profile names that can connect to the database with an integrated login

SYSOPTION

Lists current SET OPTION settings for all users including the PUBLIC user

SYSPROCEDURE

Describes each procedure in the database

SYSPROCPARM

Describes each parameter to every procedure in the database

SYSPROCPERM

Lists each user granted permission to call each procedure in the database

SYSPUBLICATION

Describes each SQL Remote publication

SYSREMOTEOPTION

Describes the values of SQL Remote message link parameters

SYSREMOTEOPTIONTYPE

Describes the SQL Remote message link parameters

SYSREMOTETYPE

Contains information about SQL Remote

SYSREMOTEUSER

Describes user IDs with REMOTE permissions and the status of their SQL Remote messages

SYSSCHEDULE

Describes the times at which events are to fire

SYSSERVERS

Describes remote servers

SYSSQLSERVERTYPE

Contains information relating to compatibility with Adaptive Server Enterprise

SYSSUBSCRIPTION

Relates each user ID with REMOTE permissions to a publication

SYSTABLE

Describes one table or view in the database

SYSTABLEPERM

Describes permissions granted on each table in the database

SYSTYPEMAP

Contains the compatibility mapping values for SYSSQLSERVERTYPE

SYSUSERMESSAGES

Lists user-defined error messages and their creators

SYSUSERPERM

Lists characteristics of each user ID. Because it contains passwords, you need DBA permissions to select from this table

SYSUSERTYPE

Describes each user-defined data type

SYSWEBSERVICE

Describes web services

System views present the information from their corresponding system tables in a more readable format. In some cases, they omit password information so that they can be accessible to all users. System views include:

System view

Description

SYSARTICLECOLS

Presents a readable version of the table SYSARTICLECOLS

SYSARTICLES

Presents a readable version of the table SYSARTICLES

SYSCAPABILITIES

Presents a readable version of the data from the tables SYSCAPABILITY and SYSCAPABILITYNAM

SYSCATALOG

Lists all tables and views from SYSTABLE

SYSCOLAUTH

Presents column update permission information from SYSCOLPERM

SYSCOLUMNS

Presents a readable version of the table SYSCOLUMN

SYSFOREIGNKEYS

Presents foreign key information from SYSFOREIGNKEY and SYSFKCOL

SYSGROUPS

Presents group information from SYSGROUP

SYSINDEXES

Presents index information from SYSINDEX and SYSIXCOL

SYSOPTIONS

Displays option settings contained in the table SYSOPTION

SYSPROCAUTH

Presents a readable version of the procedure authorities from SYSUSERPERM

SYSPROCPARMS

Lists all the procedure parameters from SYSPROCPARM

SYSPUBLICATIONS

Presents the user name from SYSUSERPERM for all creators and displays a readable version of the publication name and remarks from SYSPUBLICATION

SYSREMOTEOPTIONS

Presents a readable version of the data from SYSREMOTEOPTION and SYSREMOTEOPTIONTYPE

SYSREMOTETYPES

Presents a readable version of the SQL Remote information from SYSREMOTETYPE

SYSREMOTEUSERS

Lists the information in SYSREMOTEUSER

SYSSUBSCRIPTIONS

Presents a readable version of subscription information from SYSPUBLICATION

SYSTABAUTH

Presents table permission information from SYSTABLEPERM

SYSUSERAUTH

Displays all the information in the table SYSUSERPERM except for user numbers. Because it contains passwords, this system view does not have PUBLIC select permission

SYSUSERLIST

Presents all information in SYSUSERAUTH, except for passwords

SYSUSEROPTIONS

Displays effective permanent option settings for each user

SYSUSERPERMS

Contains exactly the same information as the table SYS.SYSUSERPERM, except the password is omitted

SYSVIEWS

Lists views and their definitions

For a complete description of system tables and views and their contents, see the Sybase IQ Reference Manual.