PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Very Large text file parsing
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Very Large text file parsing

Réponse
 
LinkBack Outils de la discussion
Vieux 21/09/2007, 07h55   #17
Chris
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Very Large text file parsing


> As for MySQL, if the table that you are inserting to has any indexes at
> all, then each time your insert/update completes MySQL will re-index the
> table.


That'll happen for any database (I don't know that it really re-indexes,
rather it has to update the index instead).

> Therefor, if you can batch the data like Rob suggested, then it will cut
> down on the number of re-indexes and speed the process up substantially.


Only postgres 8.2 supports that syntax so that may be another caveat

--
Postgresql & php tutorials
http://www.designmagick.com/
  Réponse avec citation
Vieux 21/09/2007, 08h07   #18
Paul Scott
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Very Large text file parsing


On Fri, 2007-09-21 at 08:42 +0200, Per Jessen wrote:

> Isn't that just an ALTER ?


Its a little more complex than that, as I have to actually create WKB
from the data, so no, not just an ALTER unfortunately.

--Paul


All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/...imer/index.htm

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h56.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08476 seconds with 10 queries