Deploying to pages from @ Charles7c/charles7c.github.io@dc5e159616 🚀
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{_ as c}from"./chunks/ArticleMetadata.Sb1DYAHo.js";import{_ as g,D as p,o as k,c as o,k as s,a as i,I as a,w as y,R as e,b as A,e as _}from"./chunks/framework.FVQzxbLi.js";import"./chunks/md5.RtphNWHi.js";const K=JSON.parse('{"title":"个人 SQL 优化技巧","description":"","frontmatter":{"title":"个人 SQL 优化技巧","author":"查尔斯","date":"2019/12/28 10:00","isTop":true,"categories":["杂碎逆袭史"],"tags":["SQL","SQL优化"]},"headers":[],"relativePath":"categories/fragments/2019/12/28/个人SQL优化技巧.md","filePath":"categories/fragments/2019/12/28/个人SQL优化技巧.md","lastUpdated":1671423875000}'),F={name:"categories/fragments/2019/12/28/个人SQL优化技巧.md"},D={id:"个人-sql-优化技巧",tabindex:"-1"},C=s("a",{class:"header-anchor",href:"#个人-sql-优化技巧","aria-label":'Permalink to "个人 SQL 优化技巧 <Badge text="持续更新" type="warning" />"'},"",-1),b=s("h2",{id:"查询优化",tabindex:"-1"},[i("查询优化 "),s("a",{class:"header-anchor",href:"#查询优化","aria-label":'Permalink to "查询优化"'},"")],-1),E={id:"如果确定结果只有一条-使用-limit-1",tabindex:"-1"},u=s("a",{class:"header-anchor",href:"#如果确定结果只有一条-使用-limit-1","aria-label":'Permalink to "如果确定结果只有一条,使用 LIMIT 1 <Badge text="建议" />"'},"",-1),m=e("",3),v={id:"避免隐式类型转换",tabindex:"-1"},T=s("a",{class:"header-anchor",href:"#避免隐式类型转换","aria-label":'Permalink to "避免隐式类型转换 <Badge text="强制" type="danger" />"'},"",-1),B=e("",3),f={id:"列名带上前缀",tabindex:"-1"},N=s("a",{class:"header-anchor",href:"#列名带上前缀","aria-label":'Permalink to "列名带上前缀 <Badge text="建议" />"'},"",-1),I=e("",2),x={id:"非负数列添加unsigned无符号约束",tabindex:"-1"},S=s("a",{class:"header-anchor",href:"#非负数列添加unsigned无符号约束","aria-label":'Permalink to "非负数列添加UNSIGNED无符号约束 <Badge text="建议" />"'},"",-1),L=e("",2),M={id:"合理采用整数类型",tabindex:"-1"},P=s("a",{class:"header-anchor",href:"#合理采用整数类型","aria-label":'Permalink to "合理采用整数类型 <Badge text="建议" />"'},"",-1),R=e("",3),O={id:"布尔列采用bit类型",tabindex:"-1"},U=s("a",{class:"header-anchor",href:"#布尔列采用bit类型","aria-label":'Permalink to "布尔列采用bit类型 <Badge text="建议" />"'},"",-1),q=e("",3),V={id:"采用utf8mb4编码",tabindex:"-1"},Q=s("a",{class:"header-anchor",href:"#采用utf8mb4编码","aria-label":'Permalink to "采用utf8mb4编码 <Badge text="建议" />"'},"",-1),G=e("",1);function Y(l,j,X,$,W,w){const t=p("Badge"),d=c,r=p("ClientOnly");return k(),o("div",null,[s("h1",D,[i("个人 SQL 优化技巧 "),a(t,{text:"持续更新",type:"warning"}),i(),C]),a(r,null,{default:y(()=>{var n,h;return[(((n=l.$frontmatter)==null?void 0:n.aside)??!0)&&(((h=l.$frontmatter)==null?void 0:h.showArticleMetadata)??!0)?(k(),A(d,{key:0,article:l.$frontmatter},null,8,["article"])):_("",!0)]}),_:1}),b,s("h3",E,[i("如果确定结果只有一条,使用 LIMIT 1 "),a(t,{text:"建议"}),i(),u]),m,s("h3",v,[i("避免隐式类型转换 "),a(t,{text:"强制",type:"danger"}),i(),T]),B,s("h3",f,[i("列名带上前缀 "),a(t,{text:"建议"}),i(),N]),I,s("h3",x,[i("非负数列添加UNSIGNED无符号约束 "),a(t,{text:"建议"}),i(),S]),L,s("h3",M,[i("合理采用整数类型 "),a(t,{text:"建议"}),i(),P]),R,s("h3",O,[i("布尔列采用bit类型 "),a(t,{text:"建议"}),i(),U]),q,s("h3",V,[i("采用utf8mb4编码 "),a(t,{text:"建议"}),i(),Q]),G])}const Z=g(F,[["render",Y]]);export{K as __pageData,Z as default};
|
||||
import{_ as c}from"./chunks/ArticleMetadata.Sb1DYAHo.js";import{_ as g,D as p,o as k,c as o,k as s,a as i,I as a,w as y,R as e,b as A,e as _}from"./chunks/framework.FVQzxbLi.js";import"./chunks/md5.RtphNWHi.js";const X=JSON.parse('{"title":"个人 SQL 优化技巧","description":"","frontmatter":{"title":"个人 SQL 优化技巧","author":"查尔斯","date":"2019/12/28 10:00","isTop":true,"categories":["杂碎逆袭史"],"tags":["SQL","SQL优化"]},"headers":[],"relativePath":"categories/fragments/2019/12/28/个人SQL优化技巧.md","filePath":"categories/fragments/2019/12/28/个人SQL优化技巧.md","lastUpdated":1671423875000}'),F={name:"categories/fragments/2019/12/28/个人SQL优化技巧.md"},D={id:"个人-sql-优化技巧",tabindex:"-1"},C=s("a",{class:"header-anchor",href:"#个人-sql-优化技巧","aria-label":'Permalink to "个人 SQL 优化技巧 <Badge text="持续更新" type="warning" />"'},"",-1),b=s("h2",{id:"查询优化",tabindex:"-1"},[i("查询优化 "),s("a",{class:"header-anchor",href:"#查询优化","aria-label":'Permalink to "查询优化"'},"")],-1),u={id:"如果确定结果只有一条-使用-limit-1",tabindex:"-1"},E=s("a",{class:"header-anchor",href:"#如果确定结果只有一条-使用-limit-1","aria-label":'Permalink to "如果确定结果只有一条,使用 LIMIT 1 <Badge text="建议" />"'},"",-1),m=e("",3),v={id:"避免隐式类型转换",tabindex:"-1"},B=s("a",{class:"header-anchor",href:"#避免隐式类型转换","aria-label":'Permalink to "避免隐式类型转换 <Badge text="强制" type="danger" />"'},"",-1),T=e("",3),f={id:"列名带上前缀",tabindex:"-1"},N=s("a",{class:"header-anchor",href:"#列名带上前缀","aria-label":'Permalink to "列名带上前缀 <Badge text="建议" />"'},"",-1),I=e("",2),x={id:"非负数列添加unsigned无符号约束",tabindex:"-1"},S=s("a",{class:"header-anchor",href:"#非负数列添加unsigned无符号约束","aria-label":'Permalink to "非负数列添加UNSIGNED无符号约束 <Badge text="建议" />"'},"",-1),L=e("",2),M={id:"合理采用整数类型",tabindex:"-1"},P=s("a",{class:"header-anchor",href:"#合理采用整数类型","aria-label":'Permalink to "合理采用整数类型 <Badge text="建议" />"'},"",-1),O=e("",3),R={id:"布尔列采用bit类型",tabindex:"-1"},U=s("a",{class:"header-anchor",href:"#布尔列采用bit类型","aria-label":'Permalink to "布尔列采用bit类型 <Badge text="建议" />"'},"",-1),q=e("",3),V={id:"采用utf8mb4编码",tabindex:"-1"},Q=s("a",{class:"header-anchor",href:"#采用utf8mb4编码","aria-label":'Permalink to "采用utf8mb4编码 <Badge text="建议" />"'},"",-1),G=e("",1);function Y(l,w,H,W,$,j){const t=p("Badge"),d=c,r=p("ClientOnly");return k(),o("div",null,[s("h1",D,[i("个人 SQL 优化技巧 "),a(t,{text:"持续更新",type:"warning"}),i(),C]),a(r,null,{default:y(()=>{var n,h;return[(((n=l.$frontmatter)==null?void 0:n.aside)??!0)&&(((h=l.$frontmatter)==null?void 0:h.showArticleMetadata)??!0)?(k(),A(d,{key:0,article:l.$frontmatter},null,8,["article"])):_("",!0)]}),_:1}),b,s("h3",u,[i("如果确定结果只有一条,使用 LIMIT 1 "),a(t,{text:"建议"}),i(),E]),m,s("h3",v,[i("避免隐式类型转换 "),a(t,{text:"强制",type:"danger"}),i(),B]),T,s("h3",f,[i("列名带上前缀 "),a(t,{text:"建议"}),i(),N]),I,s("h3",x,[i("非负数列添加UNSIGNED无符号约束 "),a(t,{text:"建议"}),i(),S]),L,s("h3",M,[i("合理采用整数类型 "),a(t,{text:"建议"}),i(),P]),O,s("h3",R,[i("布尔列采用bit类型 "),a(t,{text:"建议"}),i(),U]),q,s("h3",V,[i("采用utf8mb4编码 "),a(t,{text:"建议"}),i(),Q]),G])}const Z=g(F,[["render",Y]]);export{X as __pageData,Z as default};
|
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{_ as p}from"./chunks/ArticleMetadata.Sb1DYAHo.js";import{_ as k,D as e,o as n,c as r,I as d,w as g,k as l,a as A,R as y,b as D,e as C}from"./chunks/framework.FVQzxbLi.js";import"./chunks/md5.RtphNWHi.js";const o="/assets/202301062024211.XSdkEyRK.png",c="/assets/202301062027985.qIIuam8H.png",S=JSON.parse('{"title":"阿里巴巴的Code Review方法论与实践总结","description":"","frontmatter":{"title":"阿里巴巴的Code Review方法论与实践总结","isOriginal":false,"author":"方基成(润甫)","date":"2023/01/06 20:12","articleTitle":"一文梳理Code Review方法论与实践总结","articleLink":"https://mp.weixin.qq.com/s/_4MFrQSYOIGYRdDGOJPDKQ","categories":["杂碎逆袭史"],"tags":["Code Review","卓越工程文化"]},"headers":[],"relativePath":"categories/fragments/2023/01/06/CodeReview方法论与实践总结.md","filePath":"categories/fragments/2023/01/06/CodeReview方法论与实践总结.md","lastUpdated":1673010072000}'),B={name:"categories/fragments/2023/01/06/CodeReview方法论与实践总结.md"},F=l("h1",{id:"阿里巴巴的code-review方法论与实践总结",tabindex:"-1"},[A("阿里巴巴的Code Review方法论与实践总结 "),l("a",{class:"header-anchor",href:"#阿里巴巴的code-review方法论与实践总结","aria-label":'Permalink to "阿里巴巴的Code Review方法论与实践总结"'},"")],-1),E=y("",68);function u(s,b,v,m,q,O){const h=p,t=e("ClientOnly");return n(),r("div",null,[F,d(t,null,{default:g(()=>{var i,a;return[(((i=s.$frontmatter)==null?void 0:i.aside)??!0)&&(((a=s.$frontmatter)==null?void 0:a.showArticleMetadata)??!0)?(n(),D(h,{key:0,article:s.$frontmatter},null,8,["article"])):C("",!0)]}),_:1}),E])}const P=k(B,[["render",u]]);export{S as __pageData,P as default};
|
||||
import{_ as p}from"./chunks/ArticleMetadata.Sb1DYAHo.js";import{_ as k,D as e,o as n,c as r,I as d,w as g,k as l,a as A,R as y,b as D,e as C}from"./chunks/framework.FVQzxbLi.js";import"./chunks/md5.RtphNWHi.js";const o="/assets/202301062024211.XSdkEyRK.png",c="/assets/202301062027985.qIIuam8H.png",P=JSON.parse('{"title":"阿里巴巴的Code Review方法论与实践总结","description":"","frontmatter":{"title":"阿里巴巴的Code Review方法论与实践总结","isOriginal":false,"author":"方基成(润甫)","date":"2023/01/06 20:12","articleTitle":"一文梳理Code Review方法论与实践总结","articleLink":"https://mp.weixin.qq.com/s/_4MFrQSYOIGYRdDGOJPDKQ","categories":["杂碎逆袭史"],"tags":["Code Review","卓越工程文化"]},"headers":[],"relativePath":"categories/fragments/2023/01/06/CodeReview方法论与实践总结.md","filePath":"categories/fragments/2023/01/06/CodeReview方法论与实践总结.md","lastUpdated":1673010072000}'),B={name:"categories/fragments/2023/01/06/CodeReview方法论与实践总结.md"},F=l("h1",{id:"阿里巴巴的code-review方法论与实践总结",tabindex:"-1"},[A("阿里巴巴的Code Review方法论与实践总结 "),l("a",{class:"header-anchor",href:"#阿里巴巴的code-review方法论与实践总结","aria-label":'Permalink to "阿里巴巴的Code Review方法论与实践总结"'},"")],-1),E=y("",68);function u(s,b,v,m,q,T){const h=p,t=e("ClientOnly");return n(),r("div",null,[F,d(t,null,{default:g(()=>{var i,a;return[(((i=s.$frontmatter)==null?void 0:i.aside)??!0)&&(((a=s.$frontmatter)==null?void 0:a.showArticleMetadata)??!0)?(n(),D(h,{key:0,article:s.$frontmatter},null,8,["article"])):C("",!0)]}),_:1}),E])}const S=k(B,[["render",u]]);export{P as __pageData,S as default};
|
Reference in New Issue
Block a user