Professional Documents
Culture Documents
System Tables
Diagram
An entity relationship diagram for SAP
ASE 16.0
The lines represent key relationships and potentially useful joins.
The column names for the relationships appear on the lines, and
the type of relationship (1:1, 1:N, N:N) appears after the column
names. A comma separating column names means that the
relationship requires both columns. Asterisks (*) by table names
denote all-pages-locked (APL) tables. The rest are data-onlylocked (DOL) tables.
Double-S () symbols indicate columns that are used only in nonclustered environments.
syspoolinfo
cache_name
cache_status
cache_type
cache_config_size
cache_run_size
sysconfigures
syscacheinfo
cache_name
io_size
config_size
run_size
apf_percent
wash_size
cacheid
instanceid
scope
cache_overhead
pool_io_size
pool_config_size
pool_run_size
pool_apf_percent
pool_wash_size
cacheid
instanceid
cache_name
cache_status
cache_type
config_size
run_size
config_replacement
run_replacement
config_partitions
run_partitions
overhead
cacheid
instanceid
scope
sysdams
area
type
target
element
oldvalue
newvalue
mode
timestamp
username
sysalternatives.suid =
syslogins.suid (N:1)
sysusermessages.uid =
syslogins.suid (N:1)
sysloginroles.suid =
syslogins.suid (N:1)
sysmessages*
sysloginroles
error
severity
dlevel
description
langid
sqlstate
suid
srid
status
predid
syssrvroles.srid =
sysloginroles.srid (1:N)
suid
status
accdate
totcpu
totio
spacelimit
timelimit
resultlimit
dbname
name
password
language
pwdate
audflags
fullname
srvname
logincount
procid
lastlogindate
crdate
locksuid
lockreason
lockdate
lpid
crsuid
syslanguages
sysengines.cur_kpid, last_kpid =
sysprocesses.kpid (1:1)
type
id
csid
status
name
description
definition
sortfile
sysmessages.langid =
syslanguages.langid
(N:1)
dbid
segmap
lstart
size
vstart
location
unreservedpgs
crdate
vdevno
sysdevices.vdevno =
sysusages.vdevno (N:1)
sysusers.uid =
sysprocesses.uid
(1:N)
sysusages.segmap =
syssegments.segment (N:N)
systestlog*
sysprocesses.spid =
syslogshold.spid (1:1)
sysprocesses.dbid =
sysdatabases.dbid (N:1)
xactkey
starttime
failover
type
coordinator
state
connection
status
status2
spid
masterdbid
loid
namelen
xactname
srvname
nodeid
sysessions*
systransactions.loid =
syssessions.loid
(N:N)
syslogins.name =
syssessions.name
(1:N)
syslogshold.dbid =
sysdatabases.dbid
(1:1)
sysprocesses.program_name =
sysresourcelimits.appname
(1:N)
name
appname
rangeid
limitid
enforced
action
limitvalue
scope
spare
syslogins.name =
sysresourcelimits.name
(1:N)
syslocks*
id
dbid
page
type
spid
class
fid
context
row
loid
partitionid
nodeid
syssecmechs*
sec_mech_name
available_service
sysremotelogins.suid =
syslogins. suid (N:1)
sysremotelogins
remoteserverid
remoteusername
suid
status
syscoordinations. srvname =
sysservers. srvname (N:1)
dbid
reserved
spid
page
xactid
masterxactid
starttime
name
xloid
sysprocesses.block_xloid =
syslocks.loid (N:N)
sysservers.srvid =
sysremotelogins.remoteserverid
(1:1)
syscoordinations.participant =
sysservers. srvid (N:1)
syssrvroles.srid =
sysroles.id (1:1)
id
name
state
starttime
hostname
connections_active
engines_online
syslogshold*
sysprocesses.fid, spid =
syslocks.fid, spid (1:N)
syslogins.dbname =
sysdatabases.name (N:1)
srvid
srvstatus
srvname
srvnetname
srvclass
srvsecmech
srvcost
srvstatus2
srvprincipal
sysinstances
sys_id
ses_id
state
spare
status
dbid
name
nodeid
ses_data
syssessions.dbid =
sysdatabases.dbid (N:1)
sysusages.dbid =
sysdatabases.dbid (N:1)
sysservers
net_type
address_info
spare
nodeid
iterations
kpid
iterdate
sysprocesses.sys_id, ses_id =
sessions.sys_id, ses_id (1:1)
systransactions
sysprocesses.pid =
systransactions.spid (1:1)
syslisteners*
sysservers.srvsecmech =
syssecmechs.sec_mech_name
(N:1)
syslocks.dbid =
sysdatabases.dbid (N:1)
syscoordinations.dbid =
sysdatabases.dbid (N:1)
sysencryptkeys.id =
sysdatabases.encrkeyid (1:N)
syslocks.id =
sysobjects.id (N:1)
sysdatabases
sysresourcelimits.rangeid =
systimeranges.id
(1:N)
name
dbid
suid
status
version
logptr
crdate
dumptrdate
status2
audflags
deftabaud
defvwaud
defpraud
def_remote_type
def_remote_loc
status3
status4
audflags2
spare
durability
lobcomp_lvl
inrowlen
dcompdefaultlevel
encrkeyid
status5
systimeranges
name
id
startday
endday
starttime
endtime
sysreferences.frgndbname, pmrydbname =
sysdatabases.name
(N:1)
sysaudits_01-08
event
eventmod
spid
eventtime
sequence
suid
dbid
objid
xactid
loginname
dbname
objname
extrainfo
nodeid
System Views
Language &
Character Sets
syslanguages.langid =
sysusermessages.langid (1:N)
syslocks.id, partitionid =
syspartitions.id, partitionid (N:1)
sysroles
id
lrid
type
status
Miscellaneous
Remote Servers
Objects
Storage
suid
altsuid
sysusers
sysprotects.id =
sysobjects.id (N:1)
indid
id
activestatid
indexheight
leafcnt
pagecnt
rowcnt
forwrowcnt
delrowcnt
dpagecrcnt
ipagecrcnt
drowcrcnt
oamapgcnt
extent0pgcnt
datarowsize
leafrowsize
status
plljoindegree
rslastoam
rslastpage
frlastoam
frlastpage
conopt_thld
plldegree
emptypgcnt
partitionid
warmcachepgcnt
statmoddate
unusedpgcnt
oampagecnt
pioclmdata
pioclmindex
piocsmdata
piocsmindex
sysroles.lrid =
sysusers.uid (1:1)
sysalternatives.altsuid =
sysusers.suid (N:1)
sysprotects.grantor =
sysusers.uid (N:1)
sysprotects.uid =
sysusers.uid (N:1)
sysqueryplans.uid =
sysusers.uid
(N:1)
sysqueryplans
uid
gid
hashkey
id
sequence
exec_min
exec_max
exec_avg
elap_min
elap_max
elap_avg
lio_min
lio_max
lio_avg
pio_min
pio_max
pio_avg
cnt
abort_cnt
qtext
sysindexes.conditionid =
syscomments.id (1:N)
syscomments
id
number
colid
texttype
language
text
colid2
status
version
partitionid
encrkeyid
name
id
indid
doampg
ioampg
oampgtrips
status3
status2
ipgtrips
first
root
distribution
usagecnt
segment
status
maxrowsperpage
minlen
maxlen
maxirow
keycnt
keys1
keys2
keys3
soid
csid
base_partition
fill_factor
res_page_gap
exp_rowsize
identitygap
crdate
partitiontype
conditionid
syssegments
syssegments.segment =
sysindexes.segment (1:N)
syssegments.segment =
syspartitions.segment (1:N)
segment
name
status
sysindexes.id, indid =
syspartitionkeys.id, indid
(1:N)
systhresholds.segment =
syssegments.segment (N:1)
systhresholds.proc_name =
sysobjects.name (N:1)
sysstatistics
statid
id
sequence
moddate
formatid
usedcount
colidarray
c0 ... c79
indid
ststatus
partitionid
spare2
spare3
sysobjects.id =
sysindexes.id, conditionid
(1:N)
syslogins.suid =
systhresholds.suid (1:N)
systhresholds
segment
free_space
status
proc_name
suid
currauth
sysusers.uid =
sysquerymetrics.uid
(1:N)
uid
usertype
variable
allownulls
type
length
tdefault
domain
name
printfmt
prec
scale
ident
hierarchy
xtypeid
xdbid
accessrule
systypes.usertype =
syscolumns.usertype (1:N)
sysjars.jid =
sysxtypes.xtcontainer (1:N)
sysjars
jstatus
jid
jname
jbinary
xactid
op
sysgams*
sysmonitors*
field_name
group_name
field_id
value
description
nodeid
sysstatistics.id =
syspartitions.id (N:1)
sysstatistics.id, indid, partitionid =
syspartitions.id, indid, partitionid
(N:N)
syspartitionkeys
sysobjects.id =
sysstatistics.id (1:N)
indid
id
colid
position
syscolumns.id, colid =
syspartitionkeys.id, colid (1:1)
syspartitions.partitionid =
syscomments.partitionid (1:N)
syskeys
id
type
depid
keycnt
size
key1 ... key8
depkey1 ... depkey8
spare1
syscomments.id =
sysconstraints.constrid (N:1)
systypes
sysquerymetrics
systabstats.id, indid =
sysindexes.id, indid
(N:1)
sysindexes
name
indid
id
partitionid
segment
status
datoampage
indoampage
firstpage
rootpage
data_partitionid
crdate
cdataptnname
lobcomp_lvl
ptndcompver
systabstats.id =
sysobjects.id (N:1)
sysusers.uid =
systypes.uid (1:N)
uid
gid
hashkey
id
type
sequence
status
text
dbid
qpdate
sprocid
hashkey2
key1...key4
syscharsets.csid, id =
sysindexes.csid, soid (1:N)
systabstats
suid
uid
gid
name
environ
sysroles.id =
systhresholds.currauth
(1:N)
syslogs*
syspartitions.id, indid =
sysindexes.id, indid (N:1)
syslogins.suid =
sysusers.suid (1:1)
sysprotects
id
uid
action
protecttype
columns
grantor
predid
status
syslogshold.xactid =
syslogs.xactid (1:1)
syspartitions
error
uid
description
langid
dlevel
sysalternatives
low
high
status
cntrltype
name
phyname
mirrorname
vdevno
crdate
resizedate
status2
srid
name
password
pwdate
status
logincount
locksuid
lockreason
lockdate
syscharsets
syslanguages.name =
syslogins.language (1:N)
langid
dateformat
datefirst
upgrade
name
alias
months
shortmonths
days
Integrity
Relationships
Configuration
sysoptions.spid =
sysprocesses.spid (N:1)
sysengines.engine =
sysprocesses.enginenum (1:N)
sysdevices
syssrvroles
sysusermessages.error =
sysconstraints.error (1:1)
Messages
spid
kpid
enginenum
status
suid
hostname
program_name
hostprocess
cmd
cpu
physical_io
memusage
blocked
dbid
uid
gid
tran_name
time_blocked
network_pktsz
fid
execlass
priority
affinity
id
stmtnum
linenum
origsuid
block_xloid
clientname
clienthostname
clientapplname
sys_id
ses_id
loggedindatetime
ipaddr
nodeid
sysprocesses.kpid =
systestlog.kpid (1:N)
syslogins.suid =
sysdatabases.suid (1:N)
sysaltusages
num
val
minval
maxval
name
sval
comment
spid
name
category
currentsetting
defaultsetting
scope
number
engine
osprocid
osprocname
status
affinitied
cur_kpid
last_kpid
idle_1
idle_2
idle_3
idle_4
starttime
nodeid
config
value
comment
status
value2
defvalue
minimum_value
maximum_value
memory_used
display_level
datatype
message_num
apf_percent
unit
type
nodeid
sysprocesses*
syslogins.suid =
sysprocesses.suid (1:N)
syslogins
sysmessages.langid =
syslanguages.langid (N:1)
sysauditoptions
sysconfigures.config =
syscurconfigs.config (1:1)
sysoptions*
sysusages
ch_events
dbid
altsuid
lstart
start
size
vstart
vdevno
segmap
config
value
comment
status
name
parent
value2
value3
value4
sysengines
suid =
locksuid (1:N)
DC70204-01-1600-02
participant
starttime
coordtype
owner
protocol
state
bootcount
dbid
logvers
spare
status
xactkey
gtrid
partdata
srvname
nodeid
syscurconfigs*
sysattributes
sysconstraints
sysobjects
sysobjects.id =
syscomments.id (1:N)
systypes.domain =
sysprocedures.id (1:N)
syscomments.id =
sysprocedures.id
(N:N)
systypes.tdefault =
sysprocedures.id (N:N)
sysprocedures
sysusers.uid
sysencryptkeys.uid (1:N)
sysxtypes
xtutid
xtid
xtmetatype
xtstatus
xtcontainer
xtname
xtsource
xtbinaryinrow
xtbinaryoffrow
sysxtypes.xtid =
syscolumns.xtype (1:N)
sysencryptkeys
id
ekalgorithm
type
status
eklen
value
uid
eksalt
ekpairid
pwdate
expdate
ekpwdwarn
sysencryptkeys.id =
syscomments.encrkeyid
(1:N)
type
id
sequence
status
number
version
qp_setting
sysprocedures.id =
syscolumns.accessrule, cdefault, domain (N:N)
sysencryptkeys.id =
syscolumns.encrkeyid (N:N)
syslogins.name =
sysobjects.loginame (1:N)
sysusers.uid =
sysobjects.uid (1:N)
systypes.domain, tdefault =
sysobjects.id (1:1)
sysobjects.id =
sysprocedures.id (1:N)
sysobjects.id =
sysencryptkeys.id (1:N)
name
id
uid
type
userstat
sysstat
indexdel
schemacnt
sysstat2
crdate
expdate
deltrig
instrig
updtrig
seltrig
ckfirst
cache
audflags
objspare
versionts
loginame
identburnmax
spacestate
erlchgts
sysstat3
lobcomp_lvl
systat4
sysobjects.id =
syspartitions.id (1:N)
sysobjects.id =
syspartitionkeys.id (1:N)
sysobjects.id =
syskeys.id, depid (1:N)
sysobjects.id =
sysconstraints.tableid, constrid (1:N)
sysobjects.id =
syscolumns.id, encrkeyid (1:N)
sysobjects.crdate =
syscolumns.encrdate (1:N)
sysobjects.id =
syscolumns.computedcol (1:1)
sysobjects.id =
sysreferences.constrid, reftabid, tableid (1:N)
syscolumns
id
number
colid
status
type
length
offset
usertype
cdefault
domain
name
printfmt
prec
scale
remote_type
remote_name
xstatus
xtype
xdbid
accessrule
status2
status3
computedcol
encrtype
encrlen
encrkeyid
encrkeydb
encrdate
lobcomp_lvl
inrowlen
sysdatabases.dbid =
syscolumns.xdbid (1:N)
syscolumns.encrkeydb =
sysdatabases.name (N:1)
colid
constrid
tableid
error
status
spare2
syscolumns.id, colid =
sysconstraints.tableid, colid (1:1)
sysconstraints.constrid =
sysreferences.constrid
(1:1)
class
attribute
object_type
object_cinfo
object
object_info1
object_info2
object_info3
int_value
char_value
text_value
image_value
comments
object_cinfo2
object_datetime
sysreferences
syscolumns.id, colid =
sysreferences.reftabid, refkey1 ... refkey16 (1:N)
syscolumns.id, colid =
sysreferences.tableid, fokey1 ... fokey16 (1:N)
indexid
constrid
tableid
reftabid
keycnt
status
frgndbid
pmrydbid
spare2
fokey1 ... fokey16
refkey1 ... refkey16
frgndbname
pmrydbname
sysdepends
id
number
depid
depnumber
status
selall
resultobj
readobj
columns
sysobjects.id =
sysdepends.id, depid
(1:N)