CodePudding user response:
Several terabytes of data, to query out, however, are slow, you with what conditions?CodePudding user response:
Only with associative table field is the big table's primary keyCodePudding user response:
On a left join b=a.f id b.i d id is the primary key index b b table table data ridiculously sadCodePudding user response:
Have a great god know how to optimizeCodePudding user response:
Only check 1 the first look at what speed, field index, index execution plan is goCodePudding user response:
Should walk NLYour B on the table already has index
The returned result have how old?
No other filtration or filter condition?
CodePudding user response:
Special slow, is how slowWhat is the query result is
CodePudding user response:
Take out your SQL statement execution plan and have a look