blob: bf29105b73e704d04d512ba7ac5b1e87b477ff8a [file] [log] [blame]
"use strict";(self.webpackChunkdoris_website=self.webpackChunkdoris_website||[]).push([[47968],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>b});var r=n(296540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=r.createContext({}),c=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=c(e.components);return r.createElement(s.Provider,{value:t},e.children)},d="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,s=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),d=c(n),u=a,b=d["".concat(s,".").concat(u)]||d[u]||m[u]||i;return n?r.createElement(b,l(l({ref:t},p),{},{components:n})):r.createElement(b,l({ref:t},p))}));function b(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,l=new Array(i);l[0]=u;var o={};for(var s in t)hasOwnProperty.call(t,s)&&(o[s]=t[s]);o.originalType=e,o[d]="string"==typeof e?e:a,l[1]=o;for(var c=2;c<i;c++)l[c]=n[c];return r.createElement.apply(null,l)}return r.createElement.apply(null,n)}u.displayName="MDXCreateElement"},158452:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>l,default:()=>m,frontMatter:()=>i,metadata:()=>o,toc:()=>c});var r=n(58168),a=(n(296540),n(15680));const i={title:"ADMIN DIAGNOSE TABLET",language:"en"},l=void 0,o={unversionedId:"sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET",id:"version-2.0/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET",title:"ADMIN DIAGNOSE TABLET",description:"\x3c!--",source:"@site/versioned_docs/version-2.0/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET.md",sourceDirName:"sql-manual/sql-reference/Database-Administration-Statements",slug:"/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET",permalink:"/docs/2.0/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-DIAGNOSE-TABLET",draft:!1,tags:[],version:"2.0",frontMatter:{title:"ADMIN DIAGNOSE TABLET",language:"en"},sidebar:"docs",previous:{title:"ADMIN-CHECK-TABLET",permalink:"/docs/2.0/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-CHECK-TABLET"},next:{title:"ADMIN-COPY-TABLET",permalink:"/docs/2.0/sql-manual/sql-reference/Database-Administration-Statements/ADMIN-COPY-TABLET"}},s={},c=[{value:"ADMIN DIAGNOSE TABLET",id:"admin-diagnose-tablet",level:2},{value:"Description",id:"description",level:3},{value:"Example",id:"example",level:3},{value:"Keywords",id:"keywords",level:3}],p={toc:c},d="wrapper";function m(e){let{components:t,...n}=e;return(0,a.yg)(d,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h2",{id:"admin-diagnose-tablet"},"ADMIN DIAGNOSE TABLET"),(0,a.yg)("h3",{id:"description"},"Description"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"This statement is used to diagnose the specified tablet. The results will show information about the tablet and some potential problems.\n\ngrammar:\n\n ADMIN DIAGNOSE TABLET tblet_id\n\nillustrate:\n\n The lines of information in the result are as follows:\n 1. TabletExist: Whether the Tablet exists\n 2. TabletId: Tablet ID\n 3. Database: The DB to which the Tablet belongs and its ID\n 4. Table: The Table to which Tablet belongs and its ID\n 5. Partition: The Partition to which the Tablet belongs and its ID\n 6. MaterializedIndex: The materialized view to which the Tablet belongs and its ID\n 7. Replicas(ReplicaId -> BackendId): Tablet replicas and their BE.\n 8. ReplicasNum: Whether the number of replicas is correct.\n 9. ReplicaBackendStatus: Whether the BE node where the replica is located is normal.\n 10.ReplicaVersionStatus: Whether the version number of the replica is normal.\n 11.ReplicaStatus: Whether the replica status is normal.\n 12.ReplicaCompactionStatus: Whether the replica Compaction status is normal.\n")),(0,a.yg)("h3",{id:"example"},"Example"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"1. Diagnose tablet 10001\n\n ADMIN DIAGNOSE TABLET 10001;\n")),(0,a.yg)("h3",{id:"keywords"},"Keywords"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre"},"ADMIN,DIAGNOSE,TABLET\n")))}m.isMDXComponent=!0}}]);