|
oci_set_call_timeoutSets a millisecond timeout for database calls 説明
bool oci_set_call_timeout(resource
$connection , int $timeout )Sets a timeout limiting the maximum time a database round-trip using this connection may take.
Each OCI8 operation may make zero or more calls to Oracle's client
library. These internal calls may then may make zero or more
round-trips to Oracle Database. If any one of those round-trips
takes more than
The
When a call is interrupted, Oracle will attempt to clean up the
connection for reuse. This operation is allowed to run for
another When persistent connections are used, the timeout value will be retained across PHP requests. The oci_set_call_timeout function is available when OCI8 uses Oracle 18 (or later) Client libraries. パラメータ
戻り値
成功した場合に 例
例1 Setting the timeout
|