Search:

Search all manuals
Search this manual
Manual
Couchbase Client Library: PHP 1.1
Community Wiki and Resources
Wiki: PHP Client Library
PHP Client Library
Couchbase Developer Guide 2.0
Couchbase Server Manual 2.0
SDK Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Couchbase Client Library: PHP 1.1
Chapters

Chapter 8. Statistics Operations

Table 8.1. PHP Client Library Statistic Methods

MethodTitle
$object->getStats() Get the database statistics

API Call$object->getStats()
Asynchronousno
Description Get the database statistics
Returnsarray; supported values:
 COUCHBASE_EINTERNALInternal error within the Couchbase extension 
 COUCHBASE_ERRORGeneric error occurred 
 arrayArray of request static data 
Arguments 
 None  
Errors 
CouchbaseAuthenticationException Authentication to the Couchbase cluster failed
CouchbaseException Base exception class for all Couchbase exceptions
CouchbaseIllegalKeyException The key provided is not a legal key identifier
CouchbaseLibcouchbaseException An error occurred within the libcouchbase library used by th PHP extension
CouchbaseServerException An error occurred within the Couchbase cluster