Home > database > Excuse me, triggers and stored procedures can be optimized query speed?
Excuse me, triggers and stored procedures can be optimized query speed?
Time:10-11
A million + data tables, has set up a field index, through this field queries will need about 1 s, combined with the background of records returned as average, extremum process take about 1 s +, total business layer a load data need to use more than 10 fields, so the request data totally takes about 10 s +, but party a think slowly slowly, to optimize, director (not understand), said other projects built by triggers and stored procedures to achieve the effect of instant return, may I ask you BBS under bosses, whether can really?
CodePudding user response:
Why don't query the 10 fields, 10 times to request?
CodePudding user response:
Associated with the query, one million data of article 10 s is very slow