From: "Adrian Teasdale" <[EMAIL PROTECTED]>
We have a text file that is 2.2gb in size that we are trying to parse
using PHP to put the content into a mysql database. This file contains
40 million individual lines of data. Basically PHP isn't parsing it.
Any suggestions of how we could do this?
Don
We have a text file that is 2.2gb in size that we are trying to parse
using PHP to put the content into a mysql database. This file contains
40 million individual lines of data. Basically PHP isn't parsing it.
Any suggestions of how we could do this?
Process the file line-by-line instead of all-at
gt; -Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: 31 August 2004 20:29
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Parsing large file
>
>
> [snip]
> We have a text file that is 2.2gb in size that we are trying
>
> We have a text file that is 2.2gb in size that we are trying to parse
> using PHP to put the content into a mysql database. This file contains
> 40 million individual lines of data. Basically PHP isn't parsing it.
> Any suggestions of how we could do this?
Without knowing more information (eg:
[snip]
We have a text file that is 2.2gb in size that we are trying to parse
using PHP to put the content into a mysql database. This file contains
40 million individual lines of data. Basically PHP isn't parsing it.
Any suggestions of how we could do this?
[/snip]
Post some code and we'll see if
Adrian Teasdale wrote:
> Hi there
>
> We have a text file that is 2.2gb in size that we are trying to parse
> using PHP to put the content into a mysql database. This file
> contains 40 million individual lines of data. Basically PHP isn't
> parsing it. Any suggestions of how we could do this?
6 matches
Mail list logo