admin

package
v0.0.0-...-56a5168 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TableSizeData

type TableSizeData struct {
	Schema          string `json:"schema"`
	Table           string `json:"table"`
	RelSizeBytes    int64  `json:"rel_size_bytes"`
	RelSizePretty   string `json:"rel_size_pretty"`
	IndexSizeBytes  int64  `json:"index_size_bytes"`
	IndexSizePretty string `json:"index_size_pretty"`
	TotalSizeBytes  int64  `json:"total_size_bytes"`
	TotalSizePretty string `json:"total_size_pretty"`
	RowsEstimate    int64  `json:"rows_estimate"`
}

func GetTableSizes

func GetTableSizes(ctx context.Context, dbtx db.DBTX) ([]*TableSizeData, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL