bonjour a tous .
bon voila , j'ai une base de donnée assez simple qui contient un tableau et deux champs
dedans il existes des emails , je veux filtrer les emails dans les deux champs et dégager les emails non commun dans ceux table .
voila :
la table s'appelle concour.
le champs 1 s'appelle email ( qui contient < 40 000 mails)
et le champs 2 s'appelle vipe_email ( qui contient < 800 mails)
le requete est :
jusqu'à la tout marche bien
Code : Sélectionner tout - Visualiser dans une fenêtre à part SELECT email FROM `concour` WHERE email not in (select vipe_email from concour)
je travaille en localhost avec phpmyadmin
et quand j'execute la requete
elle prend jusqu'à 4 heures d'exécutions puis ca donne un message d'erreur:
bon j'ai naicessairement due au nombre important d'itération :Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\phpmyadmin\libraries\dbi\mysql.dbi.lib.php on line 140
40 000 * 800 = 35 000 000 ==> 35 millions d'itérations
j'ai chercher sur le net pour faire augmenter le max execution time
j'ai trouvé la solution :
j'ai fait ce que j'avais a faire et j'ai redemarrer le serveur xampLook for this line and adjust as required:
$cfg['ExecTimeLimit'] = 300; // maximum execution time in seconds (0 for no limit)
If your config-inc.php file is small and missing the above line or missing altogether then the file config.default.php in the .\xampp\phpMyAdmin\libraries folder is used.
/**
* maximum execution time in seconds (0 for no limit)
*
* @global integer $cfg['ExecTimeLimit']
*/
$cfg['ExecTimeLimit'] = 300;
Copy this file in to the phpMyAdmin main folder and rename it config-inc.php or copy the contents into the existing config-inc.php file and then do your editing in this new file not in the config-default.php file – this procedure makes it easier, as now all phpMyAdmin configs will be in the one place not in 2 locations with one being editable (config-inc.php) and the other not editable (config-default.php).
mais bon j'ai eu le meme resultat après certaines heures .
des suggestions ??
merci.
Partager