Files
docs.datacontroller.io/docs/tables/mpe_datastatus_libs.md
T
4gl c875ce04b7
Publish to docs.datacontroller.io / Deploy docs (push) Successful in 1m16s
chore(docs): updating data catalog refresh process
2026-08-10 21:51:46 +01:00

1.5 KiB

layout, title, description
layout title description
article MPE_DATASTATUS_LIBS The MPE_DATASTATUS_LIBS table captures frequently changing SAS library attributes such as size (if filesystem based) and the number of tables.

MPE_DATASTATUS_LIBS

The MPE_DATASTATUS_LIBS table captures frequently changing SAS library attributes such as size (if filesystem based) and the number of tables.

To trigger a scan, see the Refresh Data Catalog instructions.

Columns

  • TX_FROM num: SCD2 open datetime
  • 🔑 TX_TO num: SCD2 close datetime
  • 🔑 LIBREF char(8): SAS Libref (8 chars)
  • LIBSIZE num: The size of the library (in bytes), displayed with the SIZEKMG. format. Only applicable to BASE engine libraries.
  • TABLE_CNT num: The number of tables in the library.
  • CATALOG_CNT num: The number of SAS Catalogs in the library (from dictionary.catalogs).

Refresh Process

This table is populated by the mpe_refreshtables macro when a FULL library refresh is performed (all tables). It does not change when a single table is refreshed.

  • LIBSIZE is the sum of filesize across the library members in dictionary.tables - hence it is only applicable to BASE (filesystem) engines. For SQL Server libraries, filesize is not available and row counts are instead taken from sys.partitions via pass-through
  • TABLE_CNT is the count of tables in the library

To trigger a scan, see the Refresh Data Catalog instructions.