cockroach: github.com/cockroachdb/cockroach/pkg/workload/bank Index | Files

package bank

import "github.com/cockroachdb/cockroach/pkg/workload/bank"

Index

Package Files

bank.go

func FromConfig Uses

func FromConfig(rows int, batchSize int, payloadBytes int, ranges int) workload.Generator

FromConfig returns a one table testdata with three columns: an `id INT PRIMARY KEY` representing an account number, a `balance` INT, and a `payload` BYTES to pad the size of the rows for various tests.

func FromRows Uses

func FromRows(rows int) workload.Generator

FromRows returns Bank testdata with the given number of rows and default payload size and range count.

Package bank imports 13 packages (graph) and is imported by 3 packages. Updated 2019-09-01. Refresh now. Tools for package owners.