Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-31787

Index disk utilization statistics

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.2, 5.5.2
    • 6.5.0
    • secondary-index

    Description

      Description:

      The index disk utilization metrics on the Admin UI do not match with the actual disk utilization. The UI metrics don't consider the amount of junk data in for a specific index but the disk utilization does include the same.

      Having another UI metric that indicates the amount of junk data would help end users to understand when the index would be compacted and the fragmentation levels for every index.

      This will also help explaining the disk utilization of a specific index and help the customers size their disks accordingly.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build couchbase-server-6.5.0-4188 contains plasma commit 8f52aab with commit message:
          MB-31787 Add checkpoint_used_size stats

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-4188 contains plasma commit 8f52aab with commit message: MB-31787 Add checkpoint_used_size stats
          Dmitriy.Kalugin-Balashov Dmitriy Kalugin-Balashov added a comment - - edited

          Varun Velamuri I have pushed to unstable. It is now exposed to GetStats().CheckpointSize.

          Dmitriy.Kalugin-Balashov Dmitriy Kalugin-Balashov added a comment - - edited Varun Velamuri I have pushed to unstable. It is now exposed to GetStats().CheckpointSize.

          Build couchbase-server-6.5.0-4246 contains indexing commit cc9bde1 with commit message:
          MB-31787 Fix diskSize reporting

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-4246 contains indexing commit cc9bde1 with commit message: MB-31787 Fix diskSize reporting

          Build couchbase-server-6.5.0-4246 contains plasma commit c09b026 with commit message:
          MB-31787 Expose CheckpointSize in GetStats

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-4246 contains plasma commit c09b026 with commit message: MB-31787 Expose CheckpointSize in GetStats

          Validated this on Enterprise Edition 6.5.0 build 4282 ‧ IPv4 © 2019 Couchbase, Inc.

          [root@node4-cb600-centos7 @2i]# cat /opt/couchbase/VERSION.txt 
          6.5.0-4282
          [root@node4-cb600-centos7 @2i]# du -ch travel-sample_def_route_src_dst_day_17451058509388136854_0.index/ | grep total
          4.4M	total
          Balakumarans-MacBook-Pro-2:TAF balakumaran.g$ curl -u Administrator:password http://10.112.190.104:9102/stats | jq | grep "travel-sample:def_route_src_dst_day:disk_size"
            % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                           Dload  Upload   Total   Spent    Left  Speed
          100 54483    0 54483    0     0  6112k      0 --:--:-- --:--:-- --:--:-- 6650k
            "travel-sample:def_route_src_dst_day:disk_size": 4460766,
          Balakumarans-MacBook-Pro-2:TAF balakumaran.g$ 
          

          Balakumaran.Gopal Balakumaran Gopal added a comment - Validated this on Enterprise Edition 6.5.0 build 4282 ‧ IPv4 © 2019 Couchbase, Inc. [root@node4-cb600-centos7 @2i]# cat /opt/couchbase/VERSION.txt 6.5.0-4282 [root@node4-cb600-centos7 @2i]# du -ch travel-sample_def_route_src_dst_day_17451058509388136854_0.index/ | grep total 4.4M total Balakumarans-MacBook-Pro-2:TAF balakumaran.g$ curl -u Administrator:password http://10.112.190.104:9102/stats | jq | grep "travel-sample:def_route_src_dst_day:disk_size" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 54483 0 54483 0 0 6112k 0 --:--:-- --:--:-- --:--:-- 6650k "travel-sample:def_route_src_dst_day:disk_size": 4460766, Balakumarans-MacBook-Pro-2:TAF balakumaran.g$

          People

            varun.velamuri Varun Velamuri
            anji.narra Anji Narra [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty