DMRANKINGSTAT

This table stores collected information used to generate a ranking list. For example, when a relevant product is purchased or browsed, the data will be recorded in this table.

Column Descriptions:

NameTypeDescription
DMRANKINGSTAT_IDBIGINT NOT NULLThe ranking statistic identifier. This is the primary key.
OBJECT_IDBIGINT NOT NULLThe object for which the statistic is being gathered. For most purchased products in a category, this is the product catalog entry ID. For most browsed products in a category, this is the product catalog entry ID.
OBJECT_TYPESMALLINT NOT NULLThe type of the statistic. 0 = purchased in a category 1 = browsed in a category
STOREENT_IDINTEGER NOT NULLThe store identifier.
DMELEMENT_IDINTEGER NOT NULLThe campaign element associated with this ranking list.
GROUP_IDBIGINT NOT NULLThe group to which the object belongs. For most purchased products in a category, this is the category ID. For most browsed products in a category, this is the category ID.
AMOUNTDOUBLE NOT NULL DEFAULT 0The amount related to the statistic. For example, the number of time browsed, or the number of times purchased.
FLAGSMALLINT NOT NULL DEFAULT 0A flag to indicate the type of the statistic record. 0 = New 1 = Summarized 2 = Unknown
TIMECREATEDTIMESTAMPThe time of when the statistic is recorded.
FIELD1INTEGERCustomizable field.
FIELD2BIGINTCustomizable field.
FIELD3DECIMAL (20,5)Customizable field.
FIELD4VARCHAR (254)Customizable field.
OPTCOUNTERSMALLINT NOT NULL DEFAULT 0The optimistic concurrency control counter for the table. Every time there is an update to the table, the counter is incremented.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>DMRANKINGSTAT_IDPrimary Key
I0001303STOREENT_ID+DMELEMENT_ID+GROUP_ID+TIMECREATEDNon-Unique Index