Is this community edition (or) enterprise edition?
Enterprise Edition, but I haven’t bought the license, need to do evaluation first
Cache resident percent is the stat I am looking for. It describes the percent of index that is resident in memory. 100% means that all the index is in memory
0.0613 for now, since previous index is done, and now continue to next indexes
I mean, the CPU and RSS while the drain rate is only 1k mutations/sec. This will help to understand whether all the resources are being fully utilised or not.
How to check this? My server is linux red hat
My couchbase instance is using docker and deploy to OCP
You can use iostat
utility (E.g., iostat -x -p ALL 1 10 || iostat -x 1 10
) This will give the output iostat executed 10 times each with an interval of 1 sec. As all the index is resident in memory, I think this is not required now
avg-cpu:
%user | %nice| %system| %iowait| %steal| %idle
18.26 | 0.00 | 3.89 | 0.00 | 0.00 | 77.85
This is current condition now, also processing another index now
Do you mean 2 billion mutations (or) the total size of all the mutations is 2 giga bytes. Can you share the num_docs_pending
and num_docs_indexed
stat for this index. You can get these stats in /opt/couchbase/var/lib/couchbase/indexer.log
when the drain rate is 1k mutations/sec
Yes, 2G means 2bio ?
num_docs_pending : 1221611732
num_docs_indexed : 0
This is sample my current index stats:
“xxx:avg_disk_bps”:1675,“xxx:avg_drain_rate”:0,“xxx:avg_item_size”:0,“xxx:avg_mutation_rate”:0,“xxx:avg_scan_latency”:0,“xxx:avg_scan_rate”:0,“xxx:avg_scan_request_latency”:0,“xxx:avg_scan_wait_latency”:0,“xxx:avg_ts_interval”:600013718783,“xxx:avg_ts_items_count”:0,“xxx:backstore_raw_data_size”:0,“xxx:build_progress”:17,“xxx:cache_hit_percent”:0,“xxx:cache_hits”:0,“xxx:cache_misses”:0,“xxx:client_cancel_errcount”:0,“xxx:data_size”:124534,“xxx:data_size_on_disk”:155668,“xxx:delete_bytes”:0,“xxx:disk_load_duration”:0,“xxx:disk_size”:5349714,“xxx:disk_store_duration”:299,“xxx:flush_queue_size”:0,“xxx:frag_percent”:97,“xxx:get_bytes”:0,“xxx:insert_bytes”:5349376,“xxx:items_count”:0,“xxx:key_size_distribution”:{“(0-64)”:0,“(102401-max)”:0,“(1025-4096)”:0,“(257-1024)”:0,“(4097-102400)”:0,“(65-256)”:0},“xxx:key_size_stats_since”:0,“xxx:last_known_scan_time”:0,“xxx:last_rollback_time”:“1592622862898722075”,“xxx:log_space_on_disk”:5349376,“xxx:memory_used”:16,“xxx:not_ready_errcount”:0,“xxx:num_commits”:8,“xxx:num_compactions”:0,“xxx:num_completed_requests”:0,“xxx:num_docs_indexed”:0,“xxx:num_docs_pending”:1221611732,“xxx:num_docs_processed”:258211218,“xxx:num_docs_queued”:0,“xxx:num_flush_queued”:0,“xxx:num_items_flushed”:0,“xxx:num_items_restored”:0,“xxx:num_last_snapshot_reply”:0,“xxx:num_open_snapshots”:1,“xxx:num_requests”:0,“xxx:num_rows_returned”:0,“xxx:num_rows_scanned”:0,“xxx:num_scan_errors”:0,“xxx:num_scan_timeouts”:0,“xxx:num_snapshot_waiters”:0,“xxx:num_snapshots”:8,“xxx:progress_stat_time”:“1592885655267708829”,“xxx:raw_data_size”:0,“xxx:recs_in_mem”:0,“xxx:recs_on_disk”:0,“xxx:resident_percent”:0,“xxx:scan_bytes_read”:0,“xxx:scan_wait_duration”:0,“xxx:since_last_snapshot”:600018554387,“xxx:total_scan_duration”:0,“xxx:total_scan_request_duration”:0