Tim Hieu Ve Couchbase v3
Tim Hieu Ve Couchbase v3
Tim Hieu Ve Couchbase v3
0 Documentation
Contents
Introduction
Couchbase benefits
New features
Pre-installation
Resource requirements
Supported platforms
Network ports
Prerequisites
Installing on RHEL
Ports to change
Requirements
Recommendations
Troubleshooting
Limitations
Uninstalling on RHEL
Upgrading on RHEL
Ubuntu/Debian installation
Upgrading on Ubuntu
Installation wizard
Unattended installation
Uninstalling on Windows
Upgrading on Windows
Mac OS X installation
Installing on Mac OS X
Uninstalling on Mac OS X
Upgrading on Mac OS X
Post-installation
Using hostnames
Hostname errors
Via Couchbase-supplied
command
scripts
Upgrading
Upgrading to 3.0
Upgrading to 2.5
Online upgrades
Offline upgrade
Upgrading servers
Upgrade scenarios
Migrating
Consistent functionality
Changed functionality
Consistent functionality
Changed functionality
Administration
Administration basics
SSL certificate
Warming up a server
CLI example
Installation location
Limits
Cluster-wide diagnostics
Cluster Manager
Rack Awareness
Data storage
RAM quotas
vBuckets
Caching layer
Disk storage
Document deletion
Tombstone purging
Backward compatibility
Tunable memory
Backward compatibility
Expiration
Server warmup
TAP
Client interface
Create
Retrieve
Update
Delete
Deployment considerations
Sizing guidelines
RAM sizing
Working set
Memory quota
Network bandwidth
Data safety
Data distribution
Replication
Hardware requirements
Deployment strategies
Local storage
Swap space
Cluster management
Handling replication
Compaction process
Auto-compaction configuration
Auto-compaction strategies
Cluster maintenance
Adding nodes
Removing nodes
Web Console
Rebalancing
Rebalancing
Performing a rebalance
Rebalancing via UI
Rebalance behind-the-scenes
Swap rebalance
Rebalancing factors
Server maintenance
Failover considerations
Graceful failover
Hard failover
Full recovery
Backing up with
Backup single node, single bucket; backup files stored on same node
Restoring with
Managing XDCR
Stream-based XDCR
Backward compatibility
Monitoring
stats command
dispatcher command
Monitoring a rebalance
View basics
Stream-based views
Views operation
View performance
JSON basics
Document metadata
Non-JSON data
Development views
Production views
Writing views
Map functions
Reduce functions
Built-in _count
Built-in _sum
Built-in _stats
Handling re-reduce
Querying views
Selecting information
Pagination
Grouping in queries
Ordering
Error control
General advice
Secondary index
Simulating transactions
XDCR architecture
Stream-based XDCR
Backward compatibility
Web console
Cluster Overview
Viewing buckets
Viewing servers
Server Nodes
Recovering a node
Data Buckets
Bucket information
Managing documents
Monitoring statistics
Memcached buckets
Views
Publishing views
XDCR
Create replication
Creating replications
SSL certificate
Canceling replication
Log
Log
Collect Information
Managing diagnostics
Settings
Cluster tab
Auto-Failover tab
Alerts tab
Email Settings
Table 4: Email settings
Available Alerts
Auto-Compaction tab
FAQs
Sample buckets
brewery_beers view
by_location view
leaderboard view
playerlist view
Troubleshooting
Common errors
General tips
Reporting issues
Beam.smp
Blocked indexer
Server issues
Timeout errors
Deprecated items
Platforms
REST API
Miscellaneous
CLI reference
CLI overview
Unsupported tools
Managing diagnostics
couchbase-cli tool
couchbase-cli commands
server-list option
server-add options
server-readd options
rebalance options
failover option
cluster-* options
node-init options
bucket-* options
setting-compaction options
setting-autofailover options
setting-xdcr options
xdcr-setup options
xdcr-replicate options
ssl-manage options
Rack-zone awareness
Buckets
Listing bucketss
Creating buckets
Modifying buckets
Deleting buckets
Flushing buckets
Compacting buckets
Server nodes
Removing nodes
Stopping rebalance
Syntax
Recovering nodes
Syntax
XDCR
Syntax
cbanalyze-core tool
cbbackup tool
Backing up incrementally
cbcollect_info tool
cbdocloader tool
cbepctl tool
cbhealthchecker tool
Sample Commands
HTML Report
cbreset_password tool
cbrestore tool
Restoring incrementally
cbstats tool
Toplevel stats
Timing stats
General form
Available stats
Hash stats
Checkpoint stats
Memory stats
Warmup
KV store stats
Stats reset
DCP statistics
Syntax
Tap stats
cbtransfer tool
cbworkloadgen tool
Types of resources
Cluster API
Description
Syntax
Example
Response
Syntax
Example
Response
Syntax
Example
Response
Syntax
Example
Response codes
Syntax
Example
Response codes
Rebalancing nodes
Description
Syntax
Example
Response codes
Syntax
Example
Response
Example: detailed
Response: detailed
Syntax
Example
Description
Response codes
Syntax
Example
Response
Syntax
Example
Response
Syntax
Example: GET
Response
Example: POST
Response
Managing auto-failover
Description
Resetting auto-failover
HTTP method and URI
Syntax
Example
Response codes
Description
Syntax
Example
Response
Syntax
Example
Syntax
Example
Syntax
Example
Syntax
Example
Syntax
Example
Description
Syntax
Example
Response
Provisioning nodes
Description
Syntax
Example
Response codes
Syntax
Response codes
Syntax
Response
Syntax
Example
Response
Syntax
Example
Response codes
Syntax
Example
Response codes
Retrieving statistics
Syntax
Example
Response
Buckets API
Description
Syntax
Example
Response
Deleting buckets
Flushing buckets
Request
Successful response:
Unsuccessful response
Views API
Description
Querying views
Views requests
XDCR API
Description
Retrieving certificates
Regenerating certificates
GET /settings/replications
Syntax
Example
Description
Retrieving
HTTP method and URI
Syntax
stats
Example
Response
Retrieving
HTTP method and URI
Syntax
Example
stats
Response
Retrieving
stats
Response
Response
Syntax
Example
Response
Compaction API
Description
Auto-compaction description
Compacting buckets
HTTP method and URI
Syntax
Example
Cluster-wide syntax
Cluster-wide example
Cluster-wide response
Bucket-level syntax
Bucket-level example
Bucket-level response
Logs API
Description
GET /diag
GET /sasl_logs
GET /sasl_logs/[log_name]
POST /logClientError
Syntax
Response
User API
Description
Table 35: User endpoints
POST /settings/readOnlyUser
PUT /settings/readOnlyUser
DELETE /settings/readOnlyUser
GET /settings/readOnlyAdminName
Release notes
Known issues
Fixed issues