Stop caching after creating temp tables

Signed-off-by: Andres Taylor <andres@planetscale.com>
This commit is contained in:
Andres Taylor 2021-02-09 11:46:35 +01:00
Родитель 4c0a763617
Коммит 4c7f08fdf4
10 изменённых файлов: 321 добавлений и 297 удалений

Просмотреть файл

@ -335,7 +335,7 @@ func TestTempTable(t *testing.T) {
_ = exec(t, conn1, `create temporary table temp_t(id bigint primary key)`)
_ = exec(t, conn1, `insert into temp_t(id) values (1),(2),(3)`)
// assertMatches(t, conn1, `select id from temp_t order by id`, `[[INT64(1)] [INT64(2)] [INT64(3)]]`)
assertMatches(t, conn1, `select id from temp_t order by id`, `[[INT64(1)] [INT64(2)] [INT64(3)]]`)
assertMatches(t, conn1, `select count(table_id) from information_schema.innodb_temp_table_info`, `[[INT64(1)]]`)
conn2, err := mysql.Connect(ctx, &vtParams)

Просмотреть файл

@ -897,10 +897,14 @@ type ExecuteOptions struct {
SkipQueryPlanCache bool `protobuf:"varint,10,opt,name=skip_query_plan_cache,json=skipQueryPlanCache,proto3" json:"skip_query_plan_cache,omitempty"`
// PlannerVersion specifies which planner to use.
// If DEFAULT is chosen, whatever vtgate was started with will be used
PlannerVersion ExecuteOptions_PlannerVersion `protobuf:"varint,11,opt,name=planner_version,json=plannerVersion,proto3,enum=query.ExecuteOptions_PlannerVersion" json:"planner_version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
PlannerVersion ExecuteOptions_PlannerVersion `protobuf:"varint,11,opt,name=planner_version,json=plannerVersion,proto3,enum=query.ExecuteOptions_PlannerVersion" json:"planner_version,omitempty"`
// has_created_temp_tables signals whether plans created in this session should be cached or not
// if the user has created temp tables, Vitess will not reuse plans created for this session in other sessions.
// The current session can still use other sessions cached plans.
HasCreatedTempTables bool `protobuf:"varint,12,opt,name=has_created_temp_tables,json=hasCreatedTempTables,proto3" json:"has_created_temp_tables,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecuteOptions) Reset() { *m = ExecuteOptions{} }
@ -977,6 +981,13 @@ func (m *ExecuteOptions) GetPlannerVersion() ExecuteOptions_PlannerVersion {
return ExecuteOptions_DEFAULT_PLANNER
}
func (m *ExecuteOptions) GetHasCreatedTempTables() bool {
if m != nil {
return m.HasCreatedTempTables
}
return false
}
// Field describes a single column returned by a query
type Field struct {
// name of the field as returned by mysql C API
@ -4373,209 +4384,211 @@ func init() {
func init() { proto.RegisterFile("query.proto", fileDescriptor_5c6ac9b241082464) }
var fileDescriptor_5c6ac9b241082464 = []byte{
// 3249 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0x4b, 0x70, 0x23, 0x49,
0x5a, 0xee, 0x2a, 0x3d, 0x2c, 0xfd, 0xb2, 0xe4, 0x74, 0xda, 0xee, 0xd1, 0xb8, 0xe7, 0xe1, 0xad,
0xdd, 0xd9, 0x6d, 0x0c, 0xb8, 0x7b, 0xdc, 0xbd, 0x4d, 0x33, 0xbb, 0xc0, 0x94, 0xe5, 0xb2, 0x47,
0xdd, 0x52, 0x49, 0x9d, 0x2a, 0xb9, 0xb7, 0x27, 0x88, 0xa8, 0x28, 0x4b, 0xd9, 0x72, 0x85, 0x4b,
0x55, 0x72, 0x55, 0xd9, 0x3d, 0xba, 0x35, 0x2c, 0xcb, 0xf2, 0x66, 0x79, 0xb3, 0x6c, 0xb0, 0x41,
0x04, 0x07, 0x82, 0x0b, 0x67, 0xce, 0x1c, 0xe6, 0xc0, 0x81, 0x08, 0x8e, 0xc0, 0x01, 0x38, 0x10,
0x70, 0xda, 0x20, 0x38, 0x70, 0xd8, 0x03, 0x41, 0xe4, 0xa3, 0x4a, 0x92, 0xad, 0xe9, 0xf6, 0xf6,
0xb2, 0x41, 0x74, 0xcf, 0xdc, 0xf2, 0x7f, 0xe4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a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x4b, 0x90, 0x1b, 0x49,
0x5a, 0x76, 0x95, 0x1e, 0x2d, 0xfd, 0x6a, 0xa9, 0xb3, 0xb3, 0xbb, 0x6d, 0x4d, 0x7b, 0x1e, 0xbd,
0xb5, 0x3b, 0xbb, 0xc6, 0x40, 0xdb, 0xd3, 0xf6, 0x18, 0x33, 0xbb, 0xc0, 0x54, 0xab, 0xab, 0x7b,
0x64, 0x4b, 0x25, 0x39, 0x55, 0x6a, 0xaf, 0x27, 0x88, 0xa8, 0xa8, 0x96, 0xd2, 0xea, 0x8a, 0x2e,
0x55, 0xa9, 0xab, 0xaa, 0xdb, 0xa3, 0x9b, 0x61, 0x59, 0x96, 0x37, 0xcb, 0x9b, 0x65, 0x83, 0x0d,
0x22, 0x38, 0x10, 0x5c, 0x88, 0xe0, 0xc6, 0x99, 0xc3, 0x1c, 0x38, 0x10, 0xc1, 0x11, 0x38, 0x00,
0x07, 0x02, 0x4e, 0x1b, 0x04, 0x07, 0x0e, 0x1c, 0x08, 0x22, 0x1f, 0x55, 0x92, 0xba, 0x35, 0x76,
0xaf, 0x97, 0x09, 0xc2, 0x9e, 0xb9, 0xe5, 0xff, 0xc8, 0xc7, 0xff, 0xe5, 0x9f, 0xff, 0xff, 0x57,
0x2a, 0x05, 0xa5, 0xe3, 0x13, 0x1a, 0x8e, 0x37, 0x47, 0x61, 0x10, 0x07, 0x38, 0xc7, 0x89, 0xf5,
0x4a, 0x1c, 0x8c, 0x82, 0xbe, 0x13, 0x3b, 0x82, 0xbd, 0x5e, 0x3a, 0x8d, 0xc3, 0x51, 0x4f, 0x10,
0xda, 0x37, 0x15, 0xc8, 0x5b, 0x4e, 0x38, 0xa0, 0x31, 0x5e, 0x87, 0xc2, 0x11, 0x1d, 0x47, 0x23,
0xa7, 0x47, 0xab, 0xca, 0x86, 0x72, 0xad, 0x48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0x20, 0xb3, 0x5d, 0xb7, 0xd0,
0x77, 0xf8, 0x6c, 0xcc, 0x45, 0xd1, 0x1f, 0x21, 0xc6, 0xec, 0x18, 0x16, 0xfa, 0x2e, 0x63, 0xe6,
0xac, 0x6e, 0xbb, 0x61, 0xa0, 0xd7, 0xd9, 0xe2, 0xf6, 0x8c, 0x56, 0xd3, 0xb0, 0xc8, 0x23, 0xf4,
0xc7, 0x5c, 0xfd, 0x5e, 0xa7, 0x65, 0xa2, 0xef, 0x21, 0x5c, 0x01, 0x30, 0xbe, 0xde, 0x26, 0x46,
0xa7, 0x53, 0x6f, 0x99, 0xe8, 0xad, 0xeb, 0xbb, 0x80, 0xce, 0x86, 0x03, 0x66, 0x40, 0xd7, 0xbc,
0x6f, 0xb6, 0x1e, 0x9a, 0xe8, 0x12, 0x23, 0xda, 0xc4, 0x68, 0xeb, 0xc4, 0x40, 0x0a, 0x06, 0xc8,
0xcb, 0x27, 0xa4, 0x2a, 0x5e, 0x84, 0x02, 0x69, 0x35, 0x1a, 0xdb, 0x7a, 0xed, 0x3e, 0xca, 0x6c,
0xbf, 0x0b, 0x4b, 0x6e, 0xb0, 0x79, 0xea, 0xc6, 0x34, 0x8a, 0xc4, 0x1f, 0x06, 0x3e, 0xd4, 0x24,
0xe5, 0x06, 0x37, 0x44, 0xeb, 0xc6, 0x20, 0xb8, 0x71, 0x1a, 0xdf, 0xe0, 0xd2, 0x1b, 0x3c, 0x62,
0x1c, 0xe4, 0x39, 0x71, 0xeb, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x5e, 0x0c, 0x52, 0xdd, 0x8e,
0x30, 0x00, 0x00,
}

Просмотреть файл

@ -37,64 +37,76 @@ type DDL struct {
NormalDDL *Send
OnlineDDL *OnlineDDL
CreateTempTable bool
noTxNeeded
noInputs
}
func (v *DDL) description() PrimitiveDescription {
func (ddl *DDL) description() PrimitiveDescription {
other := map[string]interface{}{
"Query": ddl.SQL,
}
if ddl.CreateTempTable {
other["TempTable"] = true
}
return PrimitiveDescription{
OperatorType: "DDL",
Keyspace: v.Keyspace,
Other: map[string]interface{}{
"Query": v.SQL,
},
Keyspace: ddl.Keyspace,
Other: other,
}
}
// RouteType implements the Primitive interface
func (v *DDL) RouteType() string {
func (ddl *DDL) RouteType() string {
return "DDL"
}
// GetKeyspaceName implements the Primitive interface
func (v *DDL) GetKeyspaceName() string {
return v.Keyspace.Name
func (ddl *DDL) GetKeyspaceName() string {
return ddl.Keyspace.Name
}
// GetTableName implements the Primitive interface
func (v *DDL) GetTableName() string {
return v.DDL.GetTable().Name.String()
func (ddl *DDL) GetTableName() string {
return ddl.DDL.GetTable().Name.String()
}
// IsOnlineSchemaDDL returns true if the query is an online schema change DDL
func (v *DDL) isOnlineSchemaDDL() bool {
switch v.DDL.GetAction() {
func (ddl *DDL) isOnlineSchemaDDL() bool {
switch ddl.DDL.GetAction() {
case sqlparser.CreateDDLAction, sqlparser.DropDDLAction, sqlparser.AlterDDLAction:
return !v.OnlineDDL.Strategy.IsDirect()
return !ddl.OnlineDDL.Strategy.IsDirect()
}
return false
}
// Execute implements the Primitive interface
func (v *DDL) Execute(vcursor VCursor, bindVars map[string]*query.BindVariable, wantfields bool) (result *sqltypes.Result, err error) {
func (ddl *DDL) Execute(vcursor VCursor, bindVars map[string]*query.BindVariable, wantfields bool) (result *sqltypes.Result, err error) {
if ddl.CreateTempTable {
vcursor.Session().HasCreatedTempTable()
vcursor.Session().NeedsReservedConn()
return ddl.NormalDDL.Execute(vcursor, bindVars, wantfields)
}
strategy, options, err := schema.ParseDDLStrategy(vcursor.Session().GetDDLStrategy())
if err != nil {
return nil, err
}
v.OnlineDDL.Strategy = strategy
v.OnlineDDL.Options = options
ddl.OnlineDDL.Strategy = strategy
ddl.OnlineDDL.Options = options
if v.isOnlineSchemaDDL() {
return v.OnlineDDL.Execute(vcursor, bindVars, wantfields)
if ddl.isOnlineSchemaDDL() {
return ddl.OnlineDDL.Execute(vcursor, bindVars, wantfields)
}
return v.NormalDDL.Execute(vcursor, bindVars, wantfields)
return ddl.NormalDDL.Execute(vcursor, bindVars, wantfields)
}
// StreamExecute implements the Primitive interface
func (v *DDL) StreamExecute(vcursor VCursor, bindVars map[string]*query.BindVariable, wantfields bool, callback func(*sqltypes.Result) error) error {
results, err := v.Execute(vcursor, bindVars, wantfields)
func (ddl *DDL) StreamExecute(vcursor VCursor, bindVars map[string]*query.BindVariable, wantfields bool, callback func(*sqltypes.Result) error) error {
results, err := ddl.Execute(vcursor, bindVars, wantfields)
if err != nil {
return err
}
@ -102,6 +114,6 @@ func (v *DDL) StreamExecute(vcursor VCursor, bindVars map[string]*query.BindVari
}
// GetFields implements the Primitive interface
func (v *DDL) GetFields(vcursor VCursor, bindVars map[string]*query.BindVariable) (*sqltypes.Result, error) {
func (ddl *DDL) GetFields(vcursor VCursor, bindVars map[string]*query.BindVariable) (*sqltypes.Result, error) {
return nil, vterrors.Errorf(vtrpcpb.Code_INTERNAL, "not reachable")
}

Просмотреть файл

@ -89,6 +89,10 @@ func (t noopVCursor) SetSessionTrackGTIDs(b bool) {
panic("implement me")
}
func (t noopVCursor) HasCreatedTempTable() {
panic("implement me")
}
func (t noopVCursor) LookupRowLockShardSession() vtgatepb.CommitOrder {
panic("implement me")
}

Просмотреть файл

@ -141,6 +141,9 @@ type (
SetReadAfterWriteGTID(string)
SetReadAfterWriteTimeout(float64)
SetSessionTrackGTIDs(bool)
// HasCreatedTempTable will mark the session as having created temp tables
HasCreatedTempTable()
}
// Plan represents the execution strategy for a given query.

Просмотреть файл

@ -45,9 +45,6 @@ type Send struct {
// SingleShardOnly specifies that the query must be send to only single shard
SingleShardOnly bool
// ReservedConn specifies that the query to be executed in a reserved connection
ReservedConn bool
noInputs
}
@ -90,10 +87,6 @@ func (s *Send) Execute(vcursor VCursor, bindVars map[string]*querypb.BindVariabl
return nil, vterrors.Errorf(vtrpcpb.Code_INVALID_ARGUMENT, "Unexpected error, DestinationKeyspaceID mapping to multiple shards: %s, got: %v", s.Query, s.TargetDestination)
}
if s.ReservedConn {
vcursor.Session().NeedsReservedConn()
}
queries := make([]*querypb.BoundQuery, len(rss))
for i := range rss {
queries[i] = &querypb.BoundQuery{
@ -131,10 +124,6 @@ func (s *Send) StreamExecute(vcursor VCursor, bindVars map[string]*querypb.BindV
return vterrors.Errorf(vtrpcpb.Code_INVALID_ARGUMENT, "Unexpected error, DestinationKeyspaceID mapping to multiple shards: %s, got: %v", s.Query, s.TargetDestination)
}
if s.ReservedConn {
vcursor.Session().NeedsReservedConn()
}
queries := make([]*querypb.BoundQuery, len(rss))
for i := range rss {
queries[i] = &querypb.BoundQuery{

Просмотреть файл

@ -26,64 +26,25 @@ const (
// This is why we return a compound primitive (DDL) which contains fully populated primitives (Send & OnlineDDL),
// and which chooses which of the two to invoke at runtime.
func buildGeneralDDLPlan(sql string, ddlStatement sqlparser.DDLStatement, vschema ContextVSchema) (engine.Primitive, error) {
if ddlStatement.IsTemporary() {
return buildTempTablePlan(sql, ddlStatement, vschema)
}
normalDDLPlan, onlineDDLPlan, err := buildDDLPlans(sql, ddlStatement, vschema)
if err != nil {
return nil, err
}
if ddlStatement.IsTemporary() {
if normalDDLPlan.Keyspace.Sharded {
return nil, vterrors.Errorf(vtrpcpb.Code_UNIMPLEMENTED, "Temporary table not supported in sharded keyspace: %s", normalDDLPlan.Keyspace.Name)
}
onlineDDLPlan = nil // emptying this so it does not accidentally gets used somewhere
}
return &engine.DDL{
Keyspace: normalDDLPlan.Keyspace,
SQL: normalDDLPlan.Query,
DDL: ddlStatement,
NormalDDL: normalDDLPlan,
OnlineDDL: onlineDDLPlan,
}, nil
}
func buildTempTablePlan(sql string, stmt sqlparser.DDLStatement, vschema ContextVSchema) (engine.Primitive, error) {
var destination key.Destination
var keyspace *vindexes.Keyspace
var err error
switch stmt.(type) {
case *sqlparser.CreateTable:
destination, keyspace, _, err = vschema.TargetDestination(stmt.GetTable().Qualifier.String())
// Remove the keyspace name as the database name might be different.
stmt.SetTable("", stmt.GetTable().Name.String())
if err != nil {
return nil, err
}
case *sqlparser.DropTable:
destination, keyspace, err = buildDropViewOrTable(vschema, stmt)
if err != nil {
return nil, err
}
default:
return nil, vterrors.Errorf(vtrpcpb.Code_INTERNAL, "BUG: Temporary table not planned for %s", sql)
}
if keyspace.Sharded {
return nil, vterrors.Errorf(vtrpcpb.Code_UNIMPLEMENTED, "Temporary table not supported in sharded keyspace: %s", keyspace.Name)
}
if destination == nil {
destination = key.DestinationAllShards{}
}
query := sql
// If the query is fully parsed, generate the query from the ast. Otherwise, use the original query
if stmt.IsFullyParsed() {
query = sqlparser.String(stmt)
}
return &engine.Send{
Keyspace: keyspace,
TargetDestination: destination,
Query: query,
ReservedConn: true,
Keyspace: normalDDLPlan.Keyspace,
SQL: normalDDLPlan.Query,
DDL: ddlStatement,
NormalDDL: normalDDLPlan,
OnlineDDL: onlineDDLPlan,
CreateTempTable: ddlStatement.IsTemporary(),
}, nil
}

Просмотреть файл

@ -323,3 +323,35 @@
"Query": "rename table a to b"
}
}
# CREATE temp TABLE
"create temporary table a(id int)"
{
"QueryType": "DDL",
"Original": "create temporary table a(id int)",
"Instructions": {
"OperatorType": "DDL",
"Keyspace": {
"Name": "main",
"Sharded": false
},
"Query": "create temporary table a (\n\tid int\n)",
"TempTable": true
}
}
# DROP temp TABLE
"drop temporary table a"
{
"QueryType": "DDL",
"Original": "drop temporary table a",
"Instructions": {
"OperatorType": "DDL",
"Keyspace": {
"Name": "main",
"Sharded": false
},
"Query": "drop temporary table a",
"TempTable": true
}
}

Просмотреть файл

@ -679,16 +679,21 @@ func (vc *vcursorImpl) SetReadAfterWriteGTID(vtgtid string) {
vc.safeSession.SetReadAfterWriteGTID(vtgtid)
}
//SetReadAfterWriteTimeout implements the SessionActions interface
// SetReadAfterWriteTimeout implements the SessionActions interface
func (vc *vcursorImpl) SetReadAfterWriteTimeout(timeout float64) {
vc.safeSession.SetReadAfterWriteTimeout(timeout)
}
//SetSessionTrackGTIDs implements the SessionActions interface
// SetSessionTrackGTIDs implements the SessionActions interface
func (vc *vcursorImpl) SetSessionTrackGTIDs(enable bool) {
vc.safeSession.SetSessionTrackGtids(enable)
}
// HasCreatedTempTable implements the SessionActions interface
func (vc *vcursorImpl) HasCreatedTempTable() {
vc.safeSession.GetOrCreateOptions().HasCreatedTempTables = true
}
// ParseDestinationTarget parses destination target string and sets default keyspace if possible.
func parseDestinationTarget(targetString string, vschema *vindexes.VSchema) (string, topodatapb.TabletType, key.Destination, error) {
destKeyspace, destTabletType, dest, err := topoprotopb.ParseDestination(targetString, defaultTabletType)

Просмотреть файл

@ -310,6 +310,11 @@ message ExecuteOptions {
// PlannerVersion specifies which planner to use.
// If DEFAULT is chosen, whatever vtgate was started with will be used
PlannerVersion planner_version = 11;
// has_created_temp_tables signals whether plans created in this session should be cached or not
// if the user has created temp tables, Vitess will not reuse plans created for this session in other sessions.
// The current session can still use other sessions cached plans.
bool has_created_temp_tables = 12;
}
// Field describes a single column returned by a query