在PHP中打开文件是否有大小限制? [英] Is there a size limit to opening files in PHP?
问题描述
我在PHP中使用dbase扩展打开一个4.5+ GB的大型DBF,但似乎给从960万以上的烧录记录,即使数据库看起来完美的任何查看器等。
$你提到一个4.5 gigdbf数据库文件。从dBASE(回溯)和FoxPro / Visual FoxPro的历史发展来看,它们基于一个32位O / S,并且最大单个文件大小为2千兆位。通过使用4.5 gig,我怀疑.dbf由另一个程序处理...例如Sybase Database-Advantage-Server,它支持和扩展旧的.dbf格式,并允许超过2 gig文件限制。我会确保你正在使用哪个数据库连接处理程序。
I am using a dbase extension in PHP to open up a large DBF of 4.5+ GB but it seems to give bum records from 9.6 million onward even though the database looks perfectly fine in any viewer, etc.
Do I need to somehow crank up a memory limit somewhere?
You mention a 4.5 gig "dbf" database file. From a historical development of dBASE (way back), and FoxPro / Visual FoxPro, they were based one 32-bit O/S and the maximum individual file size was 2 gig. By having a 4.5 gig, I would suspect the .dbf is handled by another program... Such as Sybase Database-Advantage-Server which supports and extends older .dbf formats and allows exceeding that 2 gig file limit. I would make sure which database connection handlers you are working with.
这篇关于在PHP中打开文件是否有大小限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!