package
20.2.19+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
MakeSystemDatabaseDesc constructs a copy of the system database descriptor.
ShouldSplitAtDesc determines whether a specific descriptor should be considered for a split.
# Constants
comments stores comments(database, table, column...).
These system tables are part of the system config.
These system tables are part of the system config.
These system tables are not part of the system config.
Note: this schema is changed in a migration (a progress column is added in a separate family).
These system tables are not part of the system config.
locations are used to map a locality specified by a node to geographic latitude, longitude coordinates, specified as degrees.
These system tables are part of the system config.
protected_ts_meta stores a single row of metadata for the protectedts subsystem.
These system tables are not part of the system config.
rangelog is currently envisioned as a wide table; many different event types can be recorded to the table.
role_members stores relationships between roles (role->role and role->user).
These system tables are part of the system config.
These system tables are not part of the system config.
These system tables are part of the system config.
These system tables are not part of the system config.
These system tables are not part of the system config.
These system tables are not part of the system config.
These system tables are not part of the system config.
SystemDatabaseName is the name of the system database.
table_statistics is used to track statistics collected about individual columns or groups of columns from every table in the database.
These system tables are part of the system config.
These system tables are not part of the system config.
These system tables are part of the system config.
web_sessions are used to track authenticated user actions over stateless connections, such as the cookie-based authentication used by the Admin UI.
Zone settings per DB/Table.
# Variables
CommentsTable is the descriptor for the comments table.
DeprecatedNamespaceTable is the descriptor for the deprecated namespace table.
DescIDSequence is the descriptor for the descriptor ID sequence.
DescriptorTable is the descriptor for the descriptor table.
EventLogTable is the descriptor for the event log table.
JobsTable is the descriptor for the jobs table.
LeaseTable is the descriptor for the leases table.
LocationsTable is the descriptor for the locations table.
NamespaceTable is the descriptor for the namespace table.
NamespaceTableName is "namespace", which is always and forever the user-visible name of the system.namespace table.
These system descpb.TableDescriptor literals should match the descriptor that would be produced by evaluating one of the above `CREATE TABLE` statements for system tables that are not system config tables.
These system descpb.TableDescriptor literals should match the descriptor that would be produced by evaluating one of the above `CREATE TABLE` statements for system tables that are not system config tables.
RangeEventTable is the descriptor for the range log table.
TODO(andrei): In 20.1 we should add a foreign key reference to the reports_meta table.
These system descpb.TableDescriptor literals should match the descriptor that would be produced by evaluating one of the above `CREATE TABLE` statements for system tables that are not system config tables.
TODO(andrei): In 20.1 we should add a foreign key reference to the reports_meta table.
TODO(andrei): In 20.1 we should add a foreign key reference to the reports_meta table.
These system descpb.TableDescriptor literals should match the descriptor that would be produced by evaluating one of the above `CREATE TABLE` statements for system tables that are not system config tables.
These system descpb.TableDescriptor literals should match the descriptor that would be produced by evaluating one of the above `CREATE TABLE` statements for system tables that are not system config tables.
RoleMembersTable is the descriptor for the role_members table.
RoleOptionsTable is the descriptor for the role_options table.
ScheduledJobsTable is the descriptor for the scheduled jobs table.
SettingsTable is the descriptor for the settings table.
SqllivenessTable is the descriptor for the sqlliveness table.
These system descpb.TableDescriptor literals should match the descriptor that would be produced by evaluating one of the above `CREATE TABLE` statements for system tables that are not system config tables.
TODO(andrei): Add a foreign key reference to the statement_diagnostics table when it no longer requires us to create an index on statement_diagnostics_id.
These system descpb.TableDescriptor literals should match the descriptor that would be produced by evaluating one of the above `CREATE TABLE` statements for system tables that are not system config tables.
SystemDB is the descriptor for the system database.
TableStatistics table to hold statistics about columns and column groups.
These system config descpb.TableDescriptor literals should match the descriptor that would be produced by evaluating one of the above `CREATE TABLE` statements.
UITable is the descriptor for the ui table.
UsersTable is the descriptor for the users table.
WebSessions table to authenticate sessions over stateless connections.
ZonesTable is the descriptor for the zones table.