Option
|
Description
|
||||||
---|---|---|---|---|---|---|---|
LOCALE
|
LOCALE=SAS
locale identifer Specifies the locale
for message text and character conversion, both ‘to’
and ‘from’.
|
||||||
ENCODING
|
ENCODING=encoding-value Specifies character encoding for the MDS table. The default is the encoding used for
the SAS session. If SAS is not used,
the operating system encoding is used as the default.
|
||||||
DB | DATABASE
|
DATABASE=database
name Specifies the in-memory
database instance.
DATABASE must be specified
if CONOPTS= is not specified. The database
defaults to the catalog name if a database name is not specified.
|
||||||
CATALOG
|
CATALOG=catalog
name ;
Specifies the catalog
name.
CATALOG must be specified if CONOPTS= is
not specified.
|
||||||
CONOPTS
|
CONOPTS=connection
string options Specifies the connection string options for the driver to cache in memory. If a connection string is not specified, the default is in memory
only.
|
||||||
COMMIT
|
COMMIT=Y|N Specifies if the in-memory
changes are written to the
CONOPTS= driver. COMMIT must
be used with the CONOPTS= option.
|
||||||
BULKLOAD
|
BULKLOAD=Y|N Specifies if data is
inserted immediately, which bypasses transactions. The
BULKLOAD option
is valid only when CONOPTS= is not specified.
|
||||||
NUMERICS
|
NUMERICS=Y|N Allows numeric data
types or treats them as double precision. The default is Y (Yes).
|
||||||
RETAIN
|
RETAIN=Y|N Specifies if the in-memory
database is dropped after the last client disconnects. The default
is N (No).
|
||||||
CT_PRESERVE
|
CT_PRESERVE = STRICT | SAFE | FORCE | FORCE_COL_SIZE Allows users to control how data types are mapped. Note that data type mapping is disabled when CT_PRESERVE is set to STRICT. If the requested type does not exist on the target database, an error is returned. The options are as follows:
|
||||||
IDCASE
|
IDCASE=SENSITIVE
| INSENSITIVE Specifies if schema,
table, column, and alias identifiers are case-sensitive or insensitive.
The default is case sensitive.
IDCASE is
valid only when CONOPTS= is not specified.
|
||||||
DEFAULT_ATTR
|
DEFAULT_ATTR=(attr=value;...) Used to specify connection handle
or statement handle attributes supported for initial connect-time
configuration, where
attr=value corresponds
to any of the following options:
|
||||||
DEFSCHEMA
|
DEFSCHEMA=schema
name Specifies the default
schema for identifiers with no schema qualifier. The default is the
first
SCHEMA= in the connection string. This option is valid only when CONOPTS= is not
specified.
|
||||||
SCHEMAS
|
SCHEMAS=(“schema1”;”schema2”;”schema3”) Specifies a list of
schemas defined in the database. Identify schema names with double
quotation marks and separate each name by a semicolon.
|
||||||
SCHEMA
|
SCHEMA=(NAME=schema-name1);SCHEMA=(NAME=schema-name2);... Defines one or more
schemas in the database. The default is a single schema using the
defined catalog name.
|
||||||
REFTYPE
|
REFTYPE=VARCHAR
| NVARCHAR | VARBINARY Indicates that duplicate
column data should be stored once and referenced by result sets rather
than having separate instances in each row. This reduces memory usage
with large numbers of duplicate data but might slow down performance.
VARCHAR Create a
REFCHAR instead
of a VARCHAR when specified. The default
is create VARCHAR .
NVARCHAR Create an
NREFCHAR instead
of an NVARCHAR when specified. The default
is create NVARCHAR .
VARBINARY Create a
REFBINARY instead
of a VARBINARY when specified. The default
is create VARBINARY .
Note: A
REFCHAR(32) uses
less space than a VARCHAR(32) if there are
many duplicate values in the table or if the data is less than 32
characters. However, a REFCHAR(1) generally
uses more memory than a VARCHAR(1) because
an extra pointer has to be stored instead of a single character.
|
||||||
MAXDBMEM
|
MAXDBMEM=number
of bytes Specifies the maximum
amount of memory the database can use to store all row data for all
tables. The default is
0 which specifies
that there is no limit to the amount of memory used. MAXDBMEM=0 .
|
SYSTEMINFO.MEMORY
, contains information about memory usage and is always available. The table does
not actually reflect how much data is in the table. Instead, it shows how much memory
is being used by MDS to store the table, along with MEM_PEAK
and MEM_LIMIT
,
if specified. The first row contains statistics about the MDS database.
Subsequent rows provide information about each of the tables in the
MDS database.
Column Name
|
Description
|
---|---|
DB_NAME
|
The name of the current
database. This will be the same as the catalog name.
|
SCHEMA_NAME
|
The name of the schema
for the table (NULL for the database info row).
|
TABLE_NAME
|
The name of the table
(NULL for the database info row).
|
ROW_COUNT
|
The number of rows in
the table (NULL for the database info row).
|
ROW_SIZE
|
The size of a single
row in the table (NULL for the database info row).
|
MEM_SIZE
|
The current memory used
by the table and database for data.
|
MEM_PEAK
|
The peak memory used
by the table and database since creation.
|
MEM_LIMIT
|
The maximum memory this
database can use (NULL for table info rows). This value corresponds
to the MAXDBMEM= option specified when the database was created.
|