How to accelerate a mysql query on vb6? -


i have table in mysql 6.000.000 records.

i executing query:

cmd.commandtext = "select * registro.cedcne trim(cedula) = '" & trim(txtcedula.text) & "' limit 1" 

the problem query slow. result in 15 minutes.

when execute query using phpmyadmin result less 1 minute.

thanks help!


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -