ID: 21215 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: OCI8 related Operating System: Linux 2.4 PHP Version: 4.2.3 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. >From what I see in CVS ldixon has already fixed this one himself. Will mark it as closed. Previous Comments: ------------------------------------------------------------------------ [2002-12-27 11:23:15] [EMAIL PROTECTED] OCIServerAttach() is used, implying that the module should take advantage of shared data mode, but OCIInitilize() was not passed SHARED_MODE flag (#define PHP_OCI_INIT_MODE OCI_DEFAULT), so I don't believe it's really taking advantage of shared data mode. Excerpt from OCI8 docs: <code> To trigger OCI shared mode functionality, process handle parameters must be set and OCIInitialize() must be called with the mode flag set to OCI_SHARED. For example: ub4 mode = OCI_SHARED | OCI_THREADED; OCIInitialize (mode, 0, 0, 0, 0); The first application that initializes OCI in shared mode starts up the shared subsystem using the parameters set by that OCI application. When subsequent applications initialize using the shared mode, they use the previously started shared subsystem. </code> Using this should reduce memory usage when large number of simultaneous connections are open and large numbers of concurrent statements (differing only by bind values) are running. ref: http://www.csee.umbc.edu/help/oracle8/server.815/a67846/basics.htm#425685 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21215&edit=1
