Results for “cs_kb_set_used_sums”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

CS_KB_SET_USED_SUMS is a Service (CS) module table in the Oracle E-Business Suite database, owned by the CS schema. It functions as a Knowledge Base set used summaries table, maintaining cumulative usage counters for knowledge base content sets over configurable time periods. The measurement window that governs each counter is defined externally in the CS_KB_USED_SUM_DEFS_VL view, meaning this table stores the observed counts while the definition object determines the interval (for example daily, weekly, or monthly) over which those counts accumulate.

The table is therefore a supporting analytics object rather than a transactional store. It enables Oracle Knowledge Base administrators and reporting components to evaluate how frequently individual content sets are accessed, without rescanning the underlying usage or transaction data. Its primary key, CS_KB_SET_USED_SUMS_PK, is a composite of SET_ID and DEF_ID, which enforces one summary row per knowledge base set per used-sum definition. Under the heuristic Data Vault classification supplied in the metadata, the object is a link: it records associations between knowledge base sets and usage-period definitions, with USED_COUNT acting as the measure attached to that link.

Key Information Stored

The documented physical schema contains 29 columns. The most significant are:

  • SET_ID — Part of the composite primary key; identifies the knowledge base set whose usage is being summarized. Foreign key to CS_KB_SETS_B.
  • DEF_ID — Part of the composite primary key; identifies the used-sum definition (period definition) under which the count was gathered. Foreign key to CS_KB_USED_SUM_DEFS_B.
  • USED_COUNT — The accumulated usage count for the set over the period defined by the matching definition row.
  • SECURITY_GROUP_ID — Foreign key to FND_SECURITY_GROUPS, supporting multi-organization or security-group partitioning of summary rows.
  • CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — Standard Oracle EBS Who columns recording row creation and the last modification audit trail.
  • REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE — Concurrent program context identifying the request and program that created or last updated the summary row. These columns confirm that the table is populated by scheduled concurrent processes.
  • ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 — Descriptive flexfield storage for customer-specific extensions.

Two unique indexes are documented. CS_KB_SET_USED_SUMS_U1 (SET_ID, DEF_ID) is the business-key candidate and mirrors the primary key definition, guaranteeing uniqueness of each set/definition pairing. The surrogate PK CS_KB_SET_USED_SUMS_PK is likewise defined on SET_ID and DEF_ID, so in this object the primary key and the business key coincide.

Common Use Cases and Queries

The most common reporting scenario is ranking knowledge base sets by popularity within a given period definition. A representative query joins the summary to its parent set and definition:

  • SELECT s.name, u.USED_COUNT FROM CS_KB_SET_USED_SUMS u, CS_KB_SETS_B s WHERE u.SET_ID = s.SET_ID AND u.DEF_ID = :def_id ORDER BY u.USED_COUNT DESC; — produces a top-N set usage report for one measurement window.
  • SELECT SUM(USED_COUNT) FROM CS_KB_SET_USED_SUMS WHERE SET_ID = :set_id; — aggregates total recorded usage across all definitions for one set.
  • SELECT DEF_ID, COUNT(*) FROM CS_KB_SET_USED_SUMS GROUP BY DEF_ID; — verifies population coverage per definition, useful when validating that concurrent summarization ran.
  • SELECT * FROM CS_KB_SET_USED_SUMS WHERE SECURITY_GROUP_ID = :sgid; — filters summaries to a single security group in multi-group environments.

Because the Who and concurrent program columns are present, the table also supports audit queries that trace which concurrent request last refreshed a given counter, and comparisons of PROGRAM_UPDATE_DATE against expected summarization schedules to detect stale metrics.

Related Objects

  • CS_KB_SETS_B — Parent knowledge base set definition; joined on CS_KB_SET_USED_SUMS.SET_ID = CS_KB_SETS_B.SET_ID.
  • CS_KB_USED_SUM_DEFS_B / CS_KB_USED_SUM_DEFS_VL — Base table and view supplying the period definitions; joined on CS_KB_SET_USED_SUMS.DEF_ID = CS_KB_USED_SUM_DEFS_B.DEF_ID. The _VL view is the documented source for the time period governing the counters.
  • FND_SECURITY_GROUPS — Security group reference; joined on SECURITY_GROUP_ID.
  • CS_KB_SET_USED_SUMS_PK / CS_KB_SET_USED_SUMS_U1 — Primary key constraint and unique index enforcing one row per set/definition pair.
  • FND_CONCURRENT_REQUESTS / FND_CONCURRENT_PROGRAMS — Referenced indirectly through REQUEST_ID, PROGRAM_APPLICATION_ID, and PROGRAM_ID to identify the summarization job that populated each row.
  • FND_USER — Referenced indirectly through CREATED_BY and LAST_UPDATED_BY for audit attribution.