From: Jeff D. <da...@da...> - 2001-03-07 16:18:45
|
>A word of caution: ndbm on Solaris only supports values of 1000 bytes. >This means that a page could not exceed 1000 bytes in length or you got an >internal server error. Good point. Also, I suspect the dbm handler suffers all the problems that the dbm module did in the older PHPs, so both dbm and ndbm are probably best avoided if possible. I don't think db2 (or db3) has a limitation and data value size. (I have not actually tested it though --- I figure Adam will scream if it turns out to be a problem.) The db2 and db3 handlers both use the Sleepycat implementation of the "Berkeley DB" library. (I am not at all sure what the differences between db2 and db3 are.) From http://www.sleepycat.com/docs/ref/program/dbsizes.html: "The largest key or data item that Berkeley DB can support is largely limited by available memory." Jeff |