Skip to content

Latest commit

 

History

History
653 lines (381 loc) · 19.8 KB

File metadata and controls

653 lines (381 loc) · 19.8 KB

minisql.server.database_manager.ManagedDatabase

Home · Source file

ManagedDatabase

struct ManagedDatabase

Groups the managed database state and preserves the field relationships documented below.

View source

Members

auditLog

auditLog

Stores the audit log associated with this value.

View source

cancelledStatements

cancelledStatements

Statements terminated by an administrative cancellation token.

View source

catalogHandle

catalogHandle

Stores the catalog handle associated with this value.

View source

checkpointFile

checkpointFile

Stores the filesystem checkpoint file.

View source

checkpointResets

checkpointResets

Counts successful automatic WAL resets for diagnostics and tests.

View source

checkpointWalBytes

checkpointWalBytes

Maximum current-WAL size before a statement boundary performs a reset.

View source

closed

closed

Indicates whether the closed condition is active.

View source

executionGate

executionGate

Stores the execution gate associated with this value.

View source

failedStatements

failedStatements

Counts logical SQL statements ending in an error.

View source

fencingClockSkewMs

fencingClockSkewMs

Clock-error allowance subtracted from the externally supplied expiry.

View source

fencingEnabled

fencingEnabled

Enables fail-closed validation of a controller-owned leader lease.

View source

fencingEpoch

fencingEpoch

Immutable leadership term assigned when this server process starts.

View source

fencingLeasePath

fencingLeasePath

Shared, atomically replaced lease record consulted before every write.

View source

fencingNodeId

fencingNodeId

Immutable numeric identity of the node owning this server process.

View source

fencingRejections

fencingRejections

Counts write attempts rejected after a missing, stale, or foreign lease.

View source

idleTimeoutMs

idleTimeoutMs

Maximum inactive lifetime for one network session.

View source

indexesReady

indexesReady

Indicates that process-local index readiness checks or repair completed.

View source

lastRecovery

lastRecovery

Stores the last recovery associated with this value.

View source

lockFile

lockFile

Stores the filesystem lock file.

View source

lockManager

lockManager

Synchronizes access through the lock manager.

View source

lockToken

lockToken

Synchronizes access through the lock token.

View source

maxFrameBytes

maxFrameBytes

Maximum encoded response payload accepted by the configured server.

View source

maximumExecutionMs

maximumExecutionMs

Greatest completed statement execution duration in milliseconds.

View source

maxResultBytes

maxResultBytes

Aggregate encoded response byte ceiling for one statement.

View source

maxResultRows

maxResultRows

Maximum number of rows produced by one network statement.

View source

maxStatementBytes

maxStatementBytes

Hard protocol and result limits inherited by attached sessions.

View source

nextSessionId

nextSessionId

Tracks the next session identifier numeric value.

View source

path

path

Stores the filesystem path.

View source

planningEpoch

planningEpoch

Process-local generation invalidating optimizer metadata across sessions.

View source

processMemoryBytes

processMemoryBytes

Managed-heap admission ceiling shared by all sessions.

View source

queryMemoryBytes

queryMemoryBytes

Soft per-query memory budget inherited by every attached session.

View source

queryTimeoutMs

queryTimeoutMs

Maximum execution time for a statement, excluding response delivery.

View source

readCache

readCache

Database-owned concurrent cache for committed table pages.

View source

readHandles

readHandles

Database-owned persistent read handles for hot table and index paths.

View source

resourceRejectedStatements

resourceRejectedStatements

Statements rejected by a managed resource policy.

View source

resultBytesReturned

resultBytesReturned

Complete encoded response bytes returned by completed statements.

View source

rowsReturned

rowsReturned

Counts result rows produced by completed statements.

View source

schemaState

schemaState

Immutable process-local snapshot of the durable schema sidecar. DDL

View source

sessions

sessions

Process-local operational registry and cumulative counters.

View source

shutdownRequested

shutdownRequested

Records a cooperative administrative listener-stop request.

View source

slowQueryCount

slowQueryCount

Statements whose duration met the configured slow-query threshold.

View source

slowQueryMs

slowQueryMs

Millisecond threshold used for slow-query warnings and accounting.

View source

standby

standby

Indicates whether the standby condition is active.

View source

startedAt

startedAt

Monotonic timestamp captured after successful database open.

View source

temporaryPeakBytes

temporaryPeakBytes

Greatest concurrent spill reservation observed since database open.

View source

temporaryReservedBytes

temporaryReservedBytes

Bytes currently reserved by all query spill runs.

View source

temporaryStorageBytes

temporaryStorageBytes

Spill byte reservations shared by all concurrent statements.

View source

timedOutStatements

timedOutStatements

Statements terminated after their absolute execution deadline.

View source

totalConnections

totalConnections

Counts all engines attached since this database opened.

View source

totalExecutionMs

totalExecutionMs

Sum of completed statement execution durations in milliseconds.

View source

totalStatements

totalStatements

Counts completed logical SQL statements.

View source

walEpoch

walEpoch

True after the database has entered bounded-WAL epoch replay mode.

View source

walWriter

walWriter

Stores the WAL writer associated with this value.

View source