spanner101

package module
v0.0.0-...-21e8389 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 16 Imported by: 0

README

Spanner101

Spanner hands-on materials

Interleaving is an important and unique feature when designing Spanner tables. Hands-on to touch the center.

  • pattern1 no interleaving
  • pattern2 with interleaving
  • pattern3 bonus

I use spanner-cli to view the execution plan.

Singers

Experience interleaving with a simple query using Singers and Albums, which are also available in the official documentation.

DataBoost

Hands-on on DataBoost to run queries without putting any load on Spanner Instance.

The queries that can be executed with DataBoost are limited to PartitionQuery. We will experience the changes in the query that can be made into PartitionQuery with and without interleaving.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelloHandler

func HelloHandler(w http.ResponseWriter, r *http.Request)

func RunServer

func RunServer()

Types

type Handlers

type Handlers struct {
	OrdersStore1 *stores1.OrdersStore
	OrdersStore2 *stores2.OrdersStore
	OrdersStore3 *stores3.OrdersStore
}

func (*Handlers) Insert

func (h *Handlers) Insert(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis
cmd
internal
pattern1
pattern2
pattern3

Jump to

Keyboard shortcuts

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