Perguntas com a marcação «query-performance»

Para perguntas sobre como melhorar o desempenho e / ou a eficiência das consultas ao banco de dados.



4
A subconsulta do MySQL diminui drasticamente, mas eles funcionam bem independentemente
Consulta 1: select distinct email from mybigtable where account_id=345 leva 0.1s Consulta 2: Select count(*) as total from mybigtable where account_id=123 and email IN (<include all from above result>) leva 0.2s Consulta 3: Select count(*) as total from mybigtable where account_id=123 and email IN (select distinct email from mybigtable where …

Ao utilizar nosso site, você reconhece que leu e compreendeu nossa Política de Cookies e nossa Política de Privacidade.
Licensed under cc by-sa 3.0 with attribution required.