nmemo

The nmemo table stores the case memo data after upgrading to iProcess Engine 11.6. Since iProcess Engine 11.6, all the new case memo data is stored in the blob data type in the nmemo table.

You can migrate case memo data in the memo table to the nmemo table when upgrading to iProcess Engine 11.6 or migrate them by using the swutil MIGRATEMEMOS command after the upgrades.

Note: A copy of a memo is kept in the pack_nmemo table if the memo is marked on an outstanding form.

Structure

The nmemo table has the following structure:

TABLE nmemo (
node_id number(5)                    NOT NULL,
proc_id number(5)                    NOT NULL,
casenum number(20)               NOT NULL,
memo_id number(4)                    NOT NULL,
memo_index number(10)                   NOT NULL,
memo_size number(10)                   NOT NULL,
memo_data blob       NOT NULL ,
array_idx number(6)                    NOT NULL)

Column

Description

node_id

ID of the node that this memo is hosted on, as defined in the nodes table.

proc_id

ID of the procedure that this memo belongs to, as defined in the proc_index table.

casenum

Case number that this memo belongs to, as defined in the case_information table.

memo_id

Unique (for this case) ID of this memo.

memo_index

Index number into the set of rows that make up this memo.

This value is always 1.

memo_size

Size (in bytes) of the memo data for this row.

memo_data

Memo data.

array_idx

Either:

The array element index number of the memo.
-1, if the memo is not an array memo field.

Primary Key

The following primary key is defined for this table.

Key Name

Column(s)

Index Tablespace

pk_nmemo

casenum
memo_id
memo_index
proc_id
node_id
array_idx

HUGEINDEXSPACE

Foreign Keys

The following foreign key is defined for this table.

Key Name

Column(s)

Referenced in Table...

fk_nmemo1

node_id
proc_id
casenum

case_information

Indexes

The following index is defined for this table.

Index Name

Column(s) Indexed

Tablespace

idx_nmemo_fk

casenum
proc_id
node_id

HUGEINDEXSPACE

Storage

The following STORAGE values are defined for this table.

Value

Definition

Initial

HUGETABLESIZE

Percentage Increase

HUGETABLEPCTINCREASE

Tablespace

HUGETABLESPACE

Table Activity

The nmemo table contains one row for each memo on the system. Rows are added, updated and deleted in the following situations.

A row is...

When...

added

either:

a memo field is first assigned.
a memo field is modified.

updated

never.

deleted

either:

a memo field is modified.
a case is purged.