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
Post a Comment