Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

131
Visualizações
Magento 1 to Magento 2 Migration Optimization

I am running the migration script for a Magento 1.9.3.7 to a Magento 2.3 install.

The store has less than 700 products and maybe 20K customers.

The script is stuck on log step and when I run Mytop, this is the SQL that I see for the past 3 days:

SELECT lv.visitor_id, lc.customer_id, lv.session_id, lv.last_visit_at FROM log_visitor AS lv LEFT JOIN log_customer AS lc ON lv.visitor_id = lc.visitor_id GROUP BY lv.visitor_id ORDER BY lv.visitor_id ASC LIMIT 10000 OFFSET 5440000

My question is, if I wanted to create an index on visitor_id in both tables before this step and drop the index after this step, what do I need to do? What do I have to change and where? Obviously having an index on vistor_id in both tables will help this query run a lot faster

any help is appreciated.

Thank you

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda