Re: How Much Data Can Be Written to a Database In One Instance?
| From: | Robert Cummings | Date: | Wed, 04 Mar 2009 20:26:38 +0000 |
| Subject: | Re: How Much Data Can Be Written to a Database In One Instance? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289271@lists.php.net to get a copy of this message | ||
On Wed, 2009-03-04 at 15:05 -0500, Alice Wei wrote:
> Hi,
>
> I am working on a series of long files that contain 4 or 5 MB each, each of them is encoded
> in UTF-8 saved as .dat format.
> However, I have noticed that when I do insert statements, the file only reads up to around
> 1MB and then would stop. If I split the file into 3 or 4 files, that would hold no more than 1.2 MB
> each, then I won't have problems.
>
> Is there a limitation on how much data can be read and written in PHP within one instance?
See this setting in your php.ini:
memory_limit = ???M
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP