{"id":3024,"date":"2023-07-28T14:06:08","date_gmt":"2023-07-28T06:06:08","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=3024"},"modified":"2023-07-28T14:06:09","modified_gmt":"2023-07-28T06:06:09","slug":"%e9%9d%a2%e8%af%95%e5%ae%98%ef%bc%9amysql-%e4%b8%8a%e4%ba%bf%e5%a4%a7%e8%a1%a8%ef%bc%8c%e5%a6%82%e4%bd%95%e6%b7%b1%e5%ba%a6%e4%bc%98%e5%8c%96%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/mysql\/%e9%9d%a2%e8%af%95%e5%ae%98%ef%bc%9amysql-%e4%b8%8a%e4%ba%bf%e5%a4%a7%e8%a1%a8%ef%bc%8c%e5%a6%82%e4%bd%95%e6%b7%b1%e5%ba%a6%e4%bc%98%e5%8c%96%ef%bc%9f\/","title":{"rendered":"\u9762\u8bd5\u5b98\uff1aMySQL \u4e0a\u4ebf\u5927\u8868\uff0c\u5982\u4f55\u6df1\u5ea6\u4f18\u5316\uff1f"},"content":{"rendered":"<section style=\"margin-bottom: 0px;\" data-role=\"outer\" data-mpa-powered-by=\"yiban.io\">\n<section data-role=\"paragraph\">\n<section style=\"margin-bottom: 0px;\" data-role=\"outer\">\n<section data-role=\"paragraph\">\n<p style=\"text-align: justify; margin: 0px; padding: 0px; clear: both; min-height: 1em; color: #333333; font-size: 17px; text-decoration-thickness: initial; font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\"><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1, 'Microsoft YaHei';\"><strong style=\"margin: 0px; padding: 0px; max-width: 100%; color: #4a4a4a; text-align: left; letter-spacing: 0.544px; font-size: 18px; box-sizing: border-box !important; overflow-wrap: break-word !important; font-family: \u5fae\u8f6f\u96c5\u9ed1, 'Microsoft YaHei';\">\u5927\u5bb6\u597d\uff0c\u6211\u662f\u78ca\u54e5\u3002<\/strong><\/span><\/p>\n<section style=\"line-height: 3em;\"><\/section>\n<section style=\"margin-bottom: 0px; max-width: 100%; white-space: normal; line-height: 3em; visibility: visible; overflow-wrap: break-word !important; box-sizing: border-box !important;\"><\/section>\n<section style=\"margin-bottom: 0px; outline: 0px; max-width: 100%; color: #222222; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; line-height: 3em; visibility: visible; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><a style=\"outline: 0px; max-width: 100%; visibility: visible; letter-spacing: normal; color: #0052ff; text-decoration: underline; box-sizing: border-box !important; overflow-wrap: break-word !important;\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247535848&amp;idx=1&amp;sn=61d695a75d523d5e78ecd9539146c044&amp;scene=21#wechat_redirect\" target=\"_blank\" rel=\"noopener\" data-linktype=\"2\" rel=\"nofollow\" ><span style=\"outline: 0px; max-width: 100%; visibility: visible; letter-spacing: normal; color: #0052ff; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><strong style=\"outline: 0px; max-width: 100%; visibility: visible; box-sizing: border-box !important; overflow-wrap: break-word !important;\">2023 \u5e74 Java \u67b6\u6784\u5e08\uff1a\u89c6\u9891\u8bfe\u7a0b<\/strong><\/span><\/a><\/section>\n<section style=\"margin-bottom: 0px; outline: 0px; max-width: 100%; color: #222222; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; line-height: 3em; visibility: visible; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><a style=\"color: #0052ff; text-decoration: underline; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: pointer; outline: 0px; max-width: 100%; visibility: visible; letter-spacing: normal; box-sizing: border-box !important; overflow-wrap: break-word !important;\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247532317&amp;idx=1&amp;sn=de1171ee0780525befa4e33c7b1833da&amp;scene=21#wechat_redirect\" target=\"_blank\" rel=\"noopener\" data-linktype=\"2\" rel=\"nofollow\" ><span style=\"outline: 0px; max-width: 100%; visibility: visible; letter-spacing: normal; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><strong style=\"outline: 0px; max-width: 100%; visibility: visible; box-sizing: border-box !important; overflow-wrap: break-word !important;\">2023 \u5e74 Java \u6210\u795e\u4e4b\u8def\uff1a\u89c6\u9891\u8bfe\u7a0b<\/strong><\/span><\/a><\/section>\n<section style=\"margin-bottom: 0px; outline: 0px; max-width: 100%; color: #222222; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; line-height: 3em; visibility: visible; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><a style=\"color: #0052ff; text-decoration: underline; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: pointer; outline: 0px; max-width: 100%; visibility: visible; letter-spacing: normal; box-sizing: border-box !important; overflow-wrap: break-word !important;\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247532589&amp;idx=1&amp;sn=de4b22cbcfc28bd2856a1117f9b8727b&amp;scene=21#wechat_redirect\" target=\"_blank\" rel=\"noopener\" data-linktype=\"2\" rel=\"nofollow\" ><span style=\"outline: 0px; max-width: 100%; visibility: visible; letter-spacing: normal; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><strong style=\"outline: 0px; max-width: 100%; visibility: visible; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\u4e70 Flowable 400\u8bb2\uff0c\u9001 Camunda \u89c6\u9891\u5b9e\u6218<\/strong><\/span><\/a><\/section>\n<p style=\"text-align: justify; margin: 0px; padding: 0px; clear: both; min-height: 1em; color: #333333; font-size: 17px; text-decoration-thickness: initial; font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\">\n<p style=\"margin-bottom: 0px; text-wrap: wrap; outline: 0px; color: #222222; letter-spacing: 0.544px; background-color: #ffffff; visibility: visible; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\"><span style=\"color: #4a4a4a; font-size: 15px; text-align: left; white-space-collapse: preserve; letter-spacing: 0.034em;\">XX \u5b9e\u4f8b\uff08\u4e00\u4e3b\u4e00\u4ece\uff09xxx \u544a\u8b66\u4e2d\u6bcf\u5929\u51cc\u6668\u5728\u62a5 SLA \u62a5\u8b66\uff0c\u8be5\u62a5\u8b66\u7684\u610f\u601d\u662f\u5b58\u5728\u4e00\u5b9a\u7684\u4e3b\u4ece\u5ef6\u8fdf\u3002\uff08\u82e5\u5728\u6b64\u65f6\u53d1\u751f\u4e3b\u4ece\u5207\u6362\uff0c\u9700\u8981\u957f\u65f6\u95f4\u624d\u53ef\u4ee5\u5b8c\u6210\u5207\u6362\uff0c\u8981\u8ffd\u5ef6\u8fdf\u6765\u4fdd\u8bc1\u4e3b\u4ece\u6570\u636e\u7684\u4e00\u81f4\u6027\uff09<\/span><\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">XX\u5b9e\u4f8b\u7684\u6162\u67e5\u8be2\u6570\u91cf\u6700\u591a\uff08\u6267\u884c\u65f6\u95f4\u8d85\u8fc7 1s \u7684 SQL \u4f1a\u88ab\u8bb0\u5f55\uff09\uff0cXX \u5e94\u7528\u90a3\u65b9\u6bcf\u5929\u665a\u4e0a\u5728\u505a\u5220\u9664\u4e00\u4e2a\u6708\u524d\u6570\u636e\u7684\u4efb\u52a1\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><strong style=\"color: black;\">\u5206\u6790<\/strong><\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u4f7f\u7528<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">pt-query-digest<\/code> \u5de5\u5177\u5206\u6790\u6700\u8fd1\u4e00\u5468\u7684 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">mysql-slow.log<\/code>\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">pt-query-digest\u00a0--since=<span style=\"line-height: 26px;\">148<\/span>h\u00a0mysql-slow.log\u00a0|\u00a0less\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u7ed3\u679c\u7b2c\u4e00\u90e8\u5206\uff1a<\/p>\n<figure style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; white-space: pre-wrap; color: #000000; font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 16px; text-align: left; background-color: #ffffff; display: flex; flex-direction: column; justify-content: center; align-items: center;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" style=\"margin-right: auto; margin-left: auto; display: block;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-ratio=\"0.31118493909191586\" data-type=\"png\" data-w=\"903\" \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"margin-right: auto; margin-left: auto; display: block;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png\" data-ratio=\"0.31118493909191586\" data-type=\"png\" data-w=\"903\" \/><\/noscript><figcaption style=\"margin-top: 5px; text-align: center; color: #888888; font-size: 14px;\">\u00a0<\/figcaption><\/figure>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u6700\u8fd1\u4e00\u4e2a\u661f\u671f\u5185\uff0c\u603b\u5171\u8bb0\u5f55\u7684\u6162\u67e5\u8be2\u6267\u884c\u82b1\u8d39\u65f6\u95f4\u4e3a 25403s\uff0c\u6700\u5927\u7684\u6162 SQL \u6267\u884c\u65f6\u95f4\u4e3a 266s\uff0c\u5e73\u5747\u6bcf\u4e2a\u6162 SQL \u6267\u884c\u65f6\u95f4 5s\uff0c\u5e73\u5747\u626b\u63cf\u7684\u884c\u6570\u4e3a 1766 \u4e07\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u7ed3\u679c\u7b2c\u4e8c\u90e8\u5206\uff1a<\/p>\n<figure style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; white-space: pre-wrap; color: #000000; font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 16px; text-align: left; background-color: #ffffff; display: flex; flex-direction: column; justify-content: center; align-items: center;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" style=\"margin-right: auto; margin-left: auto; display: block;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/202307240950503232f3421.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-ratio=\"0.27685185185185185\" data-type=\"png\" data-w=\"1080\" \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"margin-right: auto; margin-left: auto; display: block;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/202307240950503232f3421.png\" data-ratio=\"0.27685185185185185\" data-type=\"png\" data-w=\"1080\" \/><\/noscript><figcaption style=\"margin-top: 5px; text-align: center; color: #888888; font-size: 14px;\">\u00a0<\/figcaption><\/figure>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">select arrival_record<\/code>\u64cd\u4f5c\u8bb0\u5f55\u7684\u6162\u67e5\u8be2\u6570\u91cf\u6700\u591a\u6709 4 \u4e07\u591a\u6b21\uff0c\u5e73\u5747\u54cd\u5e94\u65f6\u95f4\u4e3a 4s\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">delete arrival_record<\/code> \u8bb0\u5f55\u4e86 6 \u6b21\uff0c\u5e73\u5747\u54cd\u5e94\u65f6\u95f4 258s\u3002<\/p>\n<h3 style=\"margin-top: 30px; margin-bottom: 15px; font-weight: bold; font-size: 17px; letter-spacing: 0.578px; white-space: pre-wrap; font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, 'Open Sans', 'Helvetica Neue', sans-serif; text-align: left; background-color: #ffffff; color: #ffa900;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">select xxx_record \u8bed\u53e5<\/h3>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">select arrival_record<\/code> \u6162\u67e5\u8be2\u8bed\u53e5\u90fd\u7c7b\u4f3c\u4e8e\u5982\u4e0b\u6240\u793a\uff0cwhere \u8bed\u53e5\u4e2d\u7684\u53c2\u6570\u5b57\u6bb5\u662f\u4e00\u6837\u7684\uff0c\u4f20\u5165\u7684\u53c2\u6570\u503c\u4e0d\u4e00\u6837\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\"><span style=\"line-height: 26px;\">select\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">count<\/span><span style=\"line-height: 26px;\">(*)<\/span>\u00a0from\u00a0arrival_record\u00a0where\u00a0product_id<\/span>=<span style=\"line-height: 26px;\">26<\/span>\u00a0and\u00a0receive_time\u00a0between\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-25\u00a014:00:00'<\/span>\u00a0and\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-25\u00a015:00:00'<\/span>\u00a0and\u00a0receive_spend_ms&gt;=<span style=\"line-height: 26px;\">0<\/span>\\G\n\n<\/code><\/pre>\n<figure style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; white-space: pre-wrap; color: #000000; font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 16px; text-align: left; background-color: #ffffff; display: flex; flex-direction: column; justify-content: center; align-items: center;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" style=\"margin-right: auto; margin-left: auto; display: block;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/20230724095051f8f855dbf.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-ratio=\"0.2794811320754717\" data-type=\"png\" data-w=\"848\" \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"margin-right: auto; margin-left: auto; display: block;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/20230724095051f8f855dbf.png\" data-ratio=\"0.2794811320754717\" data-type=\"png\" data-w=\"848\" \/><\/noscript><figcaption style=\"margin-top: 5px; text-align: center; color: #888888; font-size: 14px;\">\u00a0<\/figcaption><\/figure>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">select arrival_record<\/code> \u8bed\u53e5\u5728 MySQL \u4e2d\u6700\u591a\u626b\u63cf\u7684\u884c\u6570\u4e3a 5600 \u4e07\u3001\u5e73\u5747\u626b\u63cf\u7684\u884c\u6570\u4e3a 172 \u4e07\uff0c\u63a8\u65ad\u7531\u4e8e\u626b\u63cf\u7684\u884c\u6570\u591a\u5bfc\u81f4\u7684\u6267\u884c\u65f6\u95f4\u957f\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u67e5\u770b\u6267\u884c\u8ba1\u5212\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\"><span style=\"line-height: 26px;\">explain\u00a0select\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">count<\/span><span style=\"line-height: 26px;\">(*)<\/span>\u00a0from\u00a0arrival_record\u00a0where\u00a0product_id<\/span>=<span style=\"line-height: 26px;\">26<\/span>\u00a0and\u00a0receive_time\u00a0between\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-25\u00a014:00:00'<\/span>\u00a0and\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-25\u00a015:00:00'<\/span>\u00a0and\u00a0receive_spend_ms&gt;=<span style=\"line-height: 26px;\">0<\/span>\\G;\n***************************\u00a0<span style=\"line-height: 26px;\">1<\/span>.\u00a0row\u00a0***************************\nid:\u00a0<span style=\"line-height: 26px;\">1<\/span>\nselect_type:\u00a0SIMPLE\ntable:\u00a0arrival_record\npartitions:\u00a0NULL\ntype:\u00a0ref\npossible_keys:\u00a0IXFK_arrival_record\nkey:\u00a0IXFK_arrival_record\nkey_len:\u00a0<span style=\"line-height: 26px;\">8<\/span>\nref:\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">const<\/span>\nrows:\u00a0<span style=\"line-height: 26px;\">32261320<\/span>\nfiltered:\u00a0<span style=\"line-height: 26px;\">3.70<\/span>\nExtra:\u00a0Using\u00a0index\u00a0condition;\u00a0Using\u00a0where\n<span style=\"line-height: 26px;\">1<\/span>\u00a0row\u00a0in\u00a0set,\u00a0<span style=\"line-height: 26px;\">1<\/span>\u00a0warning\u00a0(<span style=\"line-height: 26px;\">0.00<\/span>\u00a0sec)\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u7528\u5230\u4e86\u7d22\u5f15 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">IXFK_arrival_record<\/code>\uff0c\u4f46\u9884\u8ba1\u626b\u63cf\u7684\u884c\u6570\u5f88\u591a\u6709 3000 \u591a\u4e07\u884c\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">show\u00a0index\u00a0from\u00a0arrival_record;\n+----------------+------------+---------------------+--------------+--------------+-----------+-------------+----------+--------+------+------------+---------+---------------+\n|\u00a0Table\u00a0|\u00a0Non_unique\u00a0|\u00a0Key_name\u00a0|\u00a0Seq_in_index\u00a0|\u00a0Column_name\u00a0|\u00a0Collation\u00a0|\u00a0Cardinality\u00a0|\u00a0Sub_part\u00a0|\u00a0Packed\u00a0|\u00a0Null\u00a0|\u00a0Index_type\u00a0|\u00a0Comment\u00a0|\u00a0Index_comment\u00a0|\n+----------------+------------+---------------------+--------------+--------------+-----------+-------------+----------+--------+------+------------+---------+---------------+\n|\u00a0arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">0<\/span>\u00a0|\u00a0PRIMARY\u00a0|\u00a0<span style=\"line-height: 26px;\">1<\/span>\u00a0|\u00a0id\u00a0|\u00a0A\u00a0|\u00a0<span style=\"line-height: 26px;\">107990720<\/span>\u00a0|\u00a0NULL\u00a0|\u00a0NULL\u00a0|\u00a0|\u00a0BTREE\u00a0|\u00a0|\u00a0|\n|\u00a0arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">1<\/span>\u00a0|\u00a0IXFK_arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">1<\/span>\u00a0|\u00a0product_id\u00a0|\u00a0A\u00a0|\u00a0<span style=\"line-height: 26px;\">1344<\/span>\u00a0|\u00a0NULL\u00a0|\u00a0NULL\u00a0|\u00a0|\u00a0BTREE\u00a0|\u00a0|\u00a0|\n|\u00a0arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">1<\/span>\u00a0|\u00a0IXFK_arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">2<\/span>\u00a0|\u00a0station_no\u00a0|\u00a0A\u00a0|\u00a0<span style=\"line-height: 26px;\">22161<\/span>\u00a0|\u00a0NULL\u00a0|\u00a0NULL\u00a0|\u00a0YES\u00a0|\u00a0BTREE\u00a0|\u00a0|\u00a0|\n|\u00a0arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">1<\/span>\u00a0|\u00a0IXFK_arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">3<\/span>\u00a0|\u00a0sequence\u00a0|\u00a0A\u00a0|\u00a0<span style=\"line-height: 26px;\">77233384<\/span>\u00a0|\u00a0NULL\u00a0|\u00a0NULL\u00a0|\u00a0|\u00a0BTREE\u00a0|\u00a0|\u00a0|\n|\u00a0arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">1<\/span>\u00a0|\u00a0IXFK_arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">4<\/span>\u00a0|\u00a0receive_time\u00a0|\u00a0A\u00a0|\u00a0<span style=\"line-height: 26px;\">65854652<\/span>\u00a0|\u00a0NULL\u00a0|\u00a0NULL\u00a0|\u00a0YES\u00a0|\u00a0BTREE\u00a0|\u00a0|\u00a0|\n|\u00a0arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">1<\/span>\u00a0|\u00a0IXFK_arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">5<\/span>\u00a0|\u00a0arrival_time\u00a0|\u00a0A\u00a0|\u00a0<span style=\"line-height: 26px;\">73861904<\/span>\u00a0|\u00a0NULL\u00a0|\u00a0NULL\u00a0|\u00a0YES\u00a0|\u00a0BTREE\u00a0|\u00a0|\u00a0|\n+----------------+------------+---------------------+--------------+--------------+-----------+-------------+----------+--------+------+------------+---------+---------------+\n\nshow\u00a0create\u00a0table\u00a0arrival_record;\n..........\n<span style=\"line-height: 26px;\">arrival_spend_ms\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">bigint<\/span><span style=\"line-height: 26px;\">(<span style=\"line-height: 26px;\">20<\/span>)<\/span>\u00a0DEFAULT\u00a0NULL,\ntotal_spend_ms\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">bigint<\/span><span style=\"line-height: 26px;\">(<span style=\"line-height: 26px;\">20<\/span>)<\/span>\u00a0DEFAULT\u00a0NULL,\nPRIMARY\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">KEY<\/span>\u00a0<span style=\"line-height: 26px;\">(id)<\/span>,\nKEY\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">IXFK_arrival_record<\/span>\u00a0<span style=\"line-height: 26px;\">(product_id,station_no,sequence,receive_time,arrival_time)<\/span>\u00a0USING\u00a0BTREE,\nCONSTRAINT\u00a0FK_arrival_record_product\u00a0FOREIGN\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">KEY<\/span>\u00a0<span style=\"line-height: 26px;\">(product_id)<\/span>\u00a0REFERENCES\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">product<\/span>\u00a0<span style=\"line-height: 26px;\">(id)<\/span>\u00a0ON\u00a0DELETE\u00a0NO\u00a0ACTION\u00a0ON\u00a0UPDATE\u00a0NO\u00a0ACTION\n)\u00a0ENGINE<\/span>=InnoDB\u00a0AUTO_INCREMENT=<span style=\"line-height: 26px;\">614538979<\/span>\u00a0DEFAULT\u00a0CHARSET=utf8\u00a0COLLATE=utf8_bin\u00a0|\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u2460\u8be5\u8868\u603b\u8bb0\u5f55\u6570\u7ea6 1 \u4ebf\u591a\u6761\uff0c\u8868\u4e0a\u53ea\u6709\u4e00\u4e2a\u590d\u5408\u7d22\u5f15\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">product_id<\/code> \u5b57\u6bb5\u57fa\u6570\u5f88\u5c0f\uff0c\u9009\u62e9\u6027\u4e0d\u597d\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u2461\u4f20\u5165\u7684\u8fc7\u6ee4\u6761\u4ef6\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">where\u00a0product_id=<span style=\"line-height: 26px;\">26<\/span>\u00a0and\u00a0receive_time\u00a0between\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-25\u00a014:00:00'<\/span>\u00a0and\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-25\u00a015:00:00'<\/span>\u00a0and\u00a0receive_spend_ms&gt;=<span style=\"line-height: 26px;\">0<\/span>\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u6ca1\u6709<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">station_nu<\/code> \u5b57\u6bb5\uff0c\u4f7f\u7528\u4e0d\u5230\u590d\u5408\u7d22\u5f15 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">IXFK_arrival_record<\/code> \u7684 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">product_id<\/code>\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">station_no<\/code>\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">sequence<\/code>\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">receive_time<\/code> \u8fd9\u51e0\u4e2a\u5b57\u6bb5\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u2462\u6839\u636e\u6700\u5de6\u524d\u7f00\u539f\u5219\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">select arrival_record<\/code> \u53ea\u7528\u5230\u4e86\u590d\u5408\u7d22\u5f15 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">IXFK_arrival_record<\/code> \u7684\u7b2c\u4e00\u4e2a\u5b57\u6bb5 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">product_id<\/code>\uff0c\u800c\u8be5\u5b57\u6bb5\u9009\u62e9\u6027\u5f88\u5dee\uff0c\u5bfc\u81f4\u626b\u63cf\u7684\u884c\u6570\u5f88\u591a\uff0c\u6267\u884c\u65f6\u95f4\u957f\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u2463<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">receive_time<\/code> \u5b57\u6bb5\u7684\u57fa\u6570\u5927\uff0c\u9009\u62e9\u6027\u597d\uff0c\u53ef\u5bf9\u8be5\u5b57\u6bb5\u5355\u72ec\u5efa\u7acb\u7d22\u5f15\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">select arrival_record sql<\/code> \u5c31\u4f1a\u4f7f\u7528\u5230\u8be5\u7d22\u5f15\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u73b0\u5728\u5df2\u7ecf\u77e5\u9053\u4e86\u5728\u6162\u67e5\u8be2\u4e2d\u8bb0\u5f55\u7684 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">select arrival_record where<\/code> \u8bed\u53e5\u4f20\u5165\u7684\u53c2\u6570\u5b57\u6bb5\u6709 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">product_id<\/code>\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">receive_time<\/code>\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">receive_spend_ms<\/code>\uff0c\u8fd8\u60f3\u77e5\u9053\u5bf9\u8be5\u8868\u7684\u8bbf\u95ee\u6709\u6ca1\u6709\u901a\u8fc7\u5176\u4ed6\u5b57\u6bb5\u6765\u8fc7\u6ee4\u4e86<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u795e\u5668<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">tcpdump<\/code> \u51fa\u573a\u7684\u65f6\u5019\u5230\u4e86\uff0c\u4f7f\u7528 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">tcpdump<\/code> \u6293\u5305\u4e00\u6bb5\u65f6\u95f4\u5bf9\u8be5\u8868\u7684 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">select<\/code> \u8bed\u53e5\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">tcpdump\u00a0-i\u00a0bond0\u00a0-s\u00a0<span style=\"line-height: 26px;\">0<\/span>\u00a0-l\u00a0-w\u00a0-\u00a0dst\u00a0port\u00a0<span style=\"line-height: 26px;\">3316<\/span>\u00a0|\u00a0strings\u00a0|\u00a0grep\u00a0select\u00a0|\u00a0egrep\u00a0-i\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'arrival_record'<\/span>\u00a0&gt;\/tmp\/select_arri.log\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u83b7\u53d6select \u8bed\u53e5\u4e2d from \u540e\u9762\u7684 where \u6761\u4ef6\u8bed\u53e5\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">IFS_OLD=$IFS\nIFS=$<span style=\"color: #a6e22e; line-height: 26px;\">'\\n'<\/span>\n<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">for<\/span>\u00a0i\u00a0in\u00a0cat\u00a0\/tmp\/select_arri.log\u00a0;<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">do<\/span>\u00a0echo\u00a0${i#*<span style=\"color: #a6e22e; line-height: 26px;\">'from'<\/span>};\u00a0done\u00a0|\u00a0less\nIFS=$IFS_OLD\n\narrival_record\u00a0arrivalrec0_\u00a0where\u00a0arrivalrec0_.sequence=<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-27\u00a008:40'<\/span>\u00a0and\u00a0arrivalrec0_.product_id=<span style=\"line-height: 26px;\">17<\/span>\u00a0and\u00a0arrivalrec0_.station_no=<span style=\"color: #a6e22e; line-height: 26px;\">'56742'<\/span>\narrival_record\u00a0arrivalrec0_\u00a0where\u00a0arrivalrec0_.sequence=<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-27\u00a008:40'<\/span>\u00a0and\u00a0arrivalrec0_.product_id=<span style=\"line-height: 26px;\">22<\/span>\u00a0and\u00a0arrivalrec0_.station_no=<span style=\"color: #a6e22e; line-height: 26px;\">'S7100'<\/span>\narrival_record\u00a0arrivalrec0_\u00a0where\u00a0arrivalrec0_.sequence=<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-27\u00a008:40'<\/span>\u00a0and\u00a0arrivalrec0_.product_id=<span style=\"line-height: 26px;\">24<\/span>\u00a0and\u00a0arrivalrec0_.station_no=<span style=\"color: #a6e22e; line-height: 26px;\">'V4631'<\/span>\narrival_record\u00a0arrivalrec0_\u00a0where\u00a0arrivalrec0_.sequence=<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-27\u00a008:40'<\/span>\u00a0and\u00a0arrivalrec0_.product_id=<span style=\"line-height: 26px;\">22<\/span>\u00a0and\u00a0arrivalrec0_.station_no=<span style=\"color: #a6e22e; line-height: 26px;\">'S9466'<\/span>\narrival_record\u00a0arrivalrec0_\u00a0where\u00a0arrivalrec0_.sequence=<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-27\u00a008:40'<\/span>\u00a0and\u00a0arrivalrec0_.product_id=<span style=\"line-height: 26px;\">24<\/span>\u00a0and\u00a0arrivalrec0_.station_no=<span style=\"color: #a6e22e; line-height: 26px;\">'V4205'<\/span>\narrival_record\u00a0arrivalrec0_\u00a0where\u00a0arrivalrec0_.sequence=<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-27\u00a008:40'<\/span>\u00a0and\u00a0arrivalrec0_.product_id=<span style=\"line-height: 26px;\">24<\/span>\u00a0and\u00a0arrivalrec0_.station_no=<span style=\"color: #a6e22e; line-height: 26px;\">'V4105'<\/span>\narrival_record\u00a0arrivalrec0_\u00a0where\u00a0arrivalrec0_.sequence=<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-27\u00a008:40'<\/span>\u00a0and\u00a0arrivalrec0_.product_id=<span style=\"line-height: 26px;\">24<\/span>\u00a0and\u00a0arrivalrec0_.station_no=<span style=\"color: #a6e22e; line-height: 26px;\">'V4506'<\/span>\narrival_record\u00a0arrivalrec0_\u00a0where\u00a0arrivalrec0_.sequence=<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-27\u00a008:40'<\/span>\u00a0and\u00a0arrivalrec0_.product_id=<span style=\"line-height: 26px;\">24<\/span>\u00a0and\u00a0arrivalrec0_.station_no=<span style=\"color: #a6e22e; line-height: 26px;\">'V4617'<\/span>\narrival_record\u00a0arrivalrec0_\u00a0where\u00a0arrivalrec0_.sequence=<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-27\u00a008:40'<\/span>\u00a0and\u00a0arrivalrec0_.product_id=<span style=\"line-height: 26px;\">22<\/span>\u00a0and\u00a0arrivalrec0_.station_no=<span style=\"color: #a6e22e; line-height: 26px;\">'S8356'<\/span>\narrival_record\u00a0arrivalrec0_\u00a0where\u00a0arrivalrec0_.sequence=<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-27\u00a008:40'<\/span>\u00a0and\u00a0arrivalrec0_.product_id=<span style=\"line-height: 26px;\">22<\/span>\u00a0and\u00a0arrivalrec0_.station_no=<span style=\"color: #a6e22e; line-height: 26px;\">'S8356'<\/span>\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">select<\/code> \u8be5\u8868 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">where<\/code> \u6761\u4ef6\u4e2d\u6709 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">product_id<\/code>\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">station_no<\/code>\uff0c<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">sequence<\/code> \u5b57\u6bb5\uff0c\u53ef\u4ee5\u4f7f\u7528\u5230\u590d\u5408\u7d22\u5f15 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">IXFK_arrival_record<\/code> \u7684\u524d\u4e09\u4e2a\u5b57\u6bb5\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u7efc\u4e0a\u6240\u793a\uff0c\u4f18\u5316\u65b9\u6cd5\u4e3a\uff1a<\/p>\n<ul class=\"list-paddingleft-1\" style=\"margin-top: 8px; margin-bottom: 8px; padding-left: 25px; width: 577.422px; letter-spacing: 0.578px; white-space: pre-wrap; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\n<li>\n<section style=\"margin-top: 5px; margin-bottom: 5px; line-height: 26px; font-size: 15px; color: #4a4a4a;\">\u5220\u9664\u590d\u5408\u7d22\u5f15 \u00a0IXFK_arrival_record<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px; margin-bottom: 5px; line-height: 26px; font-size: 15px; color: #4a4a4a;\">\u5efa\u7acb\u590d\u5408\u7d22\u5f15 \u00a0idx_sequence_station_no_product_id<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px; margin-bottom: 5px; line-height: 26px; font-size: 15px; color: #4a4a4a;\">\u5efa\u7acb\u5355\u72ec\u7d22\u5f15 \u00a0indx_receive_time<\/section>\n<\/li>\n<\/ul>\n<h3 style=\"margin-top: 30px; margin-bottom: 15px; font-weight: bold; font-size: 17px; letter-spacing: 0.578px; white-space: pre-wrap; font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, 'Open Sans', 'Helvetica Neue', sans-serif; text-align: left; background-color: #ffffff; color: #ffa900;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">delete xxx_record \u8bed\u53e5<\/h3>\n<figure style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; white-space: pre-wrap; color: #000000; font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 16px; text-align: left; background-color: #ffffff; display: flex; flex-direction: column; justify-content: center; align-items: center;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" style=\"margin-right: auto; margin-left: auto; display: block;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/2023072409505189899ff2a.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-ratio=\"0.2529002320185615\" data-type=\"png\" data-w=\"862\" \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"margin-right: auto; margin-left: auto; display: block;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/2023072409505189899ff2a.png\" data-ratio=\"0.2529002320185615\" data-type=\"png\" data-w=\"862\" \/><\/noscript><figcaption style=\"margin-top: 5px; text-align: center; color: #888888; font-size: 14px;\">\u00a0<\/figcaption><\/figure>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u8be5<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">delete<\/code> \u64cd\u4f5c\u5e73\u5747\u626b\u63cf\u884c\u6570\u4e3a 1.1 \u4ebf\u884c\uff0c\u5e73\u5747\u6267\u884c\u65f6\u95f4\u662f 262s\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">delete<\/code> \u8bed\u53e5\u5982\u4e0b\u6240\u793a\uff0c\u6bcf\u6b21\u8bb0\u5f55\u7684\u6162\u67e5\u8be2\u4f20\u5165\u7684\u53c2\u6570\u503c\u4e0d\u4e00\u6837\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">delete\u00a0from\u00a0arrival_record\u00a0where\u00a0receive_time\u00a0&lt;\u00a0STR_TO_DATE(<span style=\"color: #a6e22e; line-height: 26px;\">'2019-02-23'<\/span>,\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'%Y-%m-%d'<\/span>)\\G\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u6267\u884c\u8ba1\u5212\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">explain\u00a0select\u00a0*\u00a0from\u00a0arrival_record\u00a0where\u00a0receive_time\u00a0&lt;\u00a0STR_TO_DATE(<span style=\"color: #a6e22e; line-height: 26px;\">'2019-02-23'<\/span>,\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'%Y-%m-%d'<\/span>)\\G\n***************************\u00a0<span style=\"line-height: 26px;\">1<\/span>.\u00a0row\u00a0***************************\nid:\u00a0<span style=\"line-height: 26px;\">1<\/span>\nselect_type:\u00a0SIMPLE\ntable:\u00a0arrival_record\npartitions:\u00a0NULL\ntype:\u00a0ALL\npossible_keys:\u00a0NULL\nkey:\u00a0NULL\nkey_len:\u00a0NULL\nref:\u00a0NULL\nrows:\u00a0<span style=\"line-height: 26px;\">109501508<\/span>\nfiltered:\u00a0<span style=\"line-height: 26px;\">33.33<\/span>\nExtra:\u00a0Using\u00a0where\n<span style=\"line-height: 26px;\">1<\/span>\u00a0row\u00a0in\u00a0set,\u00a0<span style=\"line-height: 26px;\">1<\/span>\u00a0warning\u00a0(<span style=\"line-height: 26px;\">0.00<\/span>\u00a0sec)\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u8be5<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">delete<\/code> \u8bed\u53e5\u6ca1\u6709\u4f7f\u7528\u7d22\u5f15\uff08\u6ca1\u6709\u5408\u9002\u7684\u7d22\u5f15\u53ef\u7528\uff09\uff0c\u8d70\u7684\u5168\u8868\u626b\u63cf\uff0c\u5bfc\u81f4\u6267\u884c\u65f6\u95f4\u957f\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u4f18\u5316\u65b9\u6cd5\u4e5f\u662f\uff1a\u5efa\u7acb\u5355\u72ec\u7d22\u5f15 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">indx_receive_time(receive_time)<\/code>\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><strong style=\"color: black;\">\u6d4b\u8bd5<\/strong><\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u62f7\u8d1d<code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">arrival_record<\/code> \u8868\u5230\u6d4b\u8bd5\u5b9e\u4f8b\u4e0a\u8fdb\u884c\u5220\u9664\u91cd\u65b0\u7d22\u5f15\u64cd\u4f5c\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">XX\u5b9e\u4f8b <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">arrival_record<\/code> \u8868\u4fe1\u606f\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">du\u00a0-sh\u00a0\/datas\/mysql\/data\/<span style=\"line-height: 26px;\">3316<\/span>\/cq_new_cimiss\/arrival_record*\n<span style=\"line-height: 26px;\">12<\/span>K\u00a0\u00a0\u00a0\u00a0\/datas\/mysql\/data\/<span style=\"line-height: 26px;\">3316<\/span>\/cq_new_cimiss\/arrival_record.frm\n<span style=\"line-height: 26px;\">48<\/span>G\u00a0\u00a0\u00a0\u00a0\/datas\/mysql\/data\/<span style=\"line-height: 26px;\">3316<\/span>\/cq_new_cimiss\/arrival_record.<span style=\"line-height: 26px;\">ibd\n\nselect\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">count<\/span><span style=\"line-height: 26px;\">()<\/span>\u00a0from\u00a0cq_new_cimiss.arrival_record<\/span>;\n+-----------+\n|\u00a0count()\u00a0|\n+-----------+\n|\u00a0<span style=\"line-height: 26px;\">112294946<\/span>\u00a0|\n+-----------+\n<span style=\"line-height: 26px;\">1<\/span>\u4ebf\u591a\u8bb0\u5f55\u6570\n\nSELECT\ntable_name,\nCONCAT(FORMAT(SUM(data_length)\u00a0\/\u00a0<span style=\"line-height: 26px;\">1024<\/span>\u00a0\/\u00a0<span style=\"line-height: 26px;\">1024<\/span>,<span style=\"line-height: 26px;\">2<\/span>),<span style=\"color: #a6e22e; line-height: 26px;\">'M'<\/span>)\u00a0AS\u00a0dbdata_size,\nCONCAT(FORMAT(SUM(index_length)\u00a0\/\u00a0<span style=\"line-height: 26px;\">1024<\/span>\u00a0\/\u00a0<span style=\"line-height: 26px;\">1024<\/span>,<span style=\"line-height: 26px;\">2<\/span>),<span style=\"color: #a6e22e; line-height: 26px;\">'M'<\/span>)\u00a0AS\u00a0dbindex_size,\nCONCAT(FORMAT(SUM(data_length\u00a0+\u00a0index_length)\u00a0\/\u00a0<span style=\"line-height: 26px;\">1024<\/span>\u00a0\/\u00a0<span style=\"line-height: 26px;\">1024<\/span>\u00a0\/\u00a0<span style=\"line-height: 26px;\">1024<\/span>,<span style=\"line-height: 26px;\">2<\/span>),<span style=\"color: #a6e22e; line-height: 26px;\">'G'<\/span>)\u00a0<span style=\"line-height: 26px;\">AS\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">table_size<\/span><span style=\"line-height: 26px;\">(G)<\/span>,\nAVG_ROW_LENGTH,table_rows,update_time\nFROM\ninformation_schema.tables\nWHERE\u00a0table_schema\u00a0<\/span>=\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'cq_new_cimiss'<\/span>\u00a0and\u00a0table_name=<span style=\"color: #a6e22e; line-height: 26px;\">'arrival_record'<\/span>;\n\n+----------------+-------------+--------------+------------+----------------+------------+---------------------+\n|\u00a0table_name\u00a0|\u00a0dbdata_size\u00a0|\u00a0dbindex_size\u00a0|\u00a0table_size(G)\u00a0|\u00a0AVG_ROW_LENGTH\u00a0|\u00a0table_rows\u00a0|\u00a0update_time\u00a0|\n+----------------+-------------+--------------+------------+----------------+------------+---------------------+\n|\u00a0arrival_record\u00a0|\u00a0<span style=\"line-height: 26px;\">18<\/span>,<span style=\"line-height: 26px;\">268.02<\/span>M\u00a0|\u00a0<span style=\"line-height: 26px;\">13<\/span>,<span style=\"line-height: 26px;\">868.05<\/span>M\u00a0|\u00a0<span style=\"line-height: 26px;\">31.38<\/span>G\u00a0|\u00a0<span style=\"line-height: 26px;\">175<\/span>\u00a0|\u00a0<span style=\"line-height: 26px;\">109155053<\/span>\u00a0|\u00a0<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">03<\/span>-<span style=\"line-height: 26px;\">26<\/span>\u00a0<span style=\"line-height: 26px;\">12<\/span>:<span style=\"line-height: 26px;\">40<\/span>:<span style=\"line-height: 26px;\">17<\/span>\u00a0|\n+----------------+-------------+--------------+------------+----------------+------------+---------------------+\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u78c1\u76d8\u5360\u7528\u7a7a\u95f4 48G\uff0cMySQL \u4e2d\u8be5\u8868\u5927\u5c0f\u4e3a 31G\uff0c\u5b58\u5728 17G \u5de6\u53f3\u7684\u788e\u7247\uff0c\u5927\u591a\u7531\u4e8e\u5220\u9664\u64cd\u4f5c\u9020\u6210\u7684\u3002\uff08\u8bb0\u5f55\u88ab\u5220\u9664\u4e86\uff0c\u7a7a\u95f4\u6ca1\u6709\u56de\u6536)<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5907\u4efd\u8fd8\u539f\u8be5\u8868\u5230\u65b0\u7684\u5b9e\u4f8b\u4e2d\uff0c\u5220\u9664\u539f\u6765\u7684\u590d\u5408\u7d22\u5f15\uff0c\u91cd\u65b0\u6dfb\u52a0\u7d22\u5f15\u8fdb\u884c\u6d4b\u8bd5\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">mydumper \u5e76\u884c\u538b\u7f29\u5907\u4efd\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">\u00a0user=root\n\u00a0\u00a0passwd=xxxx\n\u00a0socket=\/datas\/mysql\/data\/<span style=\"line-height: 26px;\">3316<\/span>\/mysqld.sock\n\u00a0db=cq_new_cimiss\n\u00a0table_name=arrival_record\n\u00a0backupdir=\/datas\/dump_$table_name\n\u00a0mkdir\u00a0-p\u00a0$backupdir\n\n\u00a0\u00a0\u00a0nohup\u00a0echo\u00a0date\u00a0+%T\u00a0&amp;&amp;\u00a0mydumper\u00a0-u\u00a0$user\u00a0-p\u00a0$passwd\u00a0-S\u00a0$socket\u00a0\u00a0-B\u00a0$db\u00a0-c\u00a0\u00a0-T\u00a0$table_name\u00a0\u00a0-o\u00a0$backupdir\u00a0\u00a0-t\u00a0<span style=\"line-height: 26px;\">32<\/span>\u00a0-r\u00a0<span style=\"line-height: 26px;\">2000000<\/span>\u00a0&amp;&amp;\u00a0echo\u00a0date\u00a0+%T\u00a0&amp;\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5e76\u884c\u538b\u7f29\u5907\u4efd\u6240\u82b1\u65f6\u95f4\uff0852s\uff09\u548c\u5360\u7528\u7a7a\u95f4\uff081.2G\uff0c\u5b9e\u9645\u8be5\u8868\u5360\u7528\u78c1\u76d8\u7a7a\u95f4\u4e3a 48G\uff0cmydumper \u5e76\u884c\u538b\u7f29\u5907\u4efd\u538b\u7f29\u6bd4\u76f8\u5f53\u9ad8\uff09\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">Started\u00a0dump\u00a0at:\u00a0<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">03<\/span>-<span style=\"line-height: 26px;\">26<\/span>\u00a0<span style=\"line-height: 26px;\">12<\/span>:<span style=\"line-height: 26px;\">46<\/span>:<span style=\"line-height: 26px;\">04<\/span>\n........\n\nFinished\u00a0dump\u00a0at:\u00a0<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">03<\/span>-<span style=\"line-height: 26px;\">26<\/span>\u00a0<span style=\"line-height: 26px;\">12<\/span>:<span style=\"line-height: 26px;\">46<\/span>:<span style=\"line-height: 26px;\">56<\/span>\n\ndu\u00a0-sh\u00a0\u00a0\u00a0\/datas\/dump_arrival_record\/\n<span style=\"line-height: 26px;\">1.2<\/span>G\u00a0\u00a0\u00a0\u00a0\/datas\/dump_arrival_record\/\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u62f7\u8d1ddump \u6570\u636e\u5230\u6d4b\u8bd5\u8282\u70b9\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">scp\u00a0-rp\u00a0\/datas\/dump_arrival_record\u00a0root@<span style=\"line-height: 26px;\">10.230<\/span><span style=\"line-height: 26px;\">.124<\/span><span style=\"line-height: 26px;\">.19<\/span>:\/datas\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u591a\u7ebf\u7a0b\u5bfc\u5165\u6570\u636e\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">time\u00a0myloader\u00a0-u\u00a0root\u00a0-S\u00a0\/datas\/mysql\/data\/<span style=\"line-height: 26px;\">3308<\/span>\/mysqld.sock\u00a0-P\u00a0<span style=\"line-height: 26px;\">3308<\/span>\u00a0-p\u00a0root\u00a0-B\u00a0test\u00a0-d\u00a0\/datas\/dump_arrival_record\u00a0-t\u00a0<span style=\"line-height: 26px;\">32<\/span>\n\nreal\u00a0<span style=\"line-height: 26px;\">126<\/span>m42<span style=\"line-height: 26px;\">.885<\/span>s\nuser\u00a0<span style=\"line-height: 26px;\">1<\/span>m4<span style=\"line-height: 26px;\">.543<\/span>s\nsys\u00a0<span style=\"line-height: 26px;\">0<\/span>m4<span style=\"line-height: 26px;\">.267<\/span>s\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u903b\u8f91\u5bfc\u5165\u8be5\u8868\u540e\u78c1\u76d8\u5360\u7528\u7a7a\u95f4\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">du\u00a0-h\u00a0-d\u00a0<span style=\"line-height: 26px;\">1<\/span>\u00a0\/datas\/mysql\/data\/<span style=\"line-height: 26px;\">3308<\/span>\/test\/arrival_record.*\n<span style=\"line-height: 26px;\">12<\/span>K\u00a0\/datas\/mysql\/data\/<span style=\"line-height: 26px;\">3308<\/span>\/test\/arrival_record.frm\n<span style=\"line-height: 26px;\">30<\/span>G\u00a0\/datas\/mysql\/data\/<span style=\"line-height: 26px;\">3308<\/span>\/test\/arrival_record.ibd\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u6ca1\u6709\u788e\u7247\uff0c\u548cmysql\u7684\u8be5\u8868\u7684\u5927\u5c0f\u4e00\u81f4<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">cp\u00a0-rp\u00a0\/datas\/mysql\/data\/<span style=\"line-height: 26px;\">3308<\/span>\u00a0\/datas\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5206\u522b\u4f7f\u7528 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">online DDL<\/code> \u548c <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">pt-osc<\/code> \u5de5\u5177\u6765\u505a\u5220\u9664\u91cd\u5efa\u7d22\u5f15\u64cd\u4f5c\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5148\u5220\u9664\u5916\u952e\uff0c\u4e0d\u5220\u9664\u5916\u952e\uff0c\u65e0\u6cd5\u5220\u9664\u590d\u5408\u7d22\u5f15\uff0c\u5916\u952e\u5217\u5c5e\u4e8e\u590d\u5408\u7d22\u5f15\u4e2d\u7b2c\u4e00\u5217\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">nohup\u00a0bash\u00a0\/tmp\/ddl_index.sh\u00a0&amp;\n<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">41<\/span>:<span style=\"line-height: 26px;\">39<\/span>\u00a0begin\u00a0stop\u00a0mysqld_3308\n<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">41<\/span>:<span style=\"line-height: 26px;\">41<\/span>\u00a0begin\u00a0rm\u00a0-rf\u00a0datadir\u00a0and\u00a0cp\u00a0-rp\u00a0datadir_bak\n<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">46<\/span>:<span style=\"line-height: 26px;\">53<\/span>\u00a0start\u00a0mysqld_3308\n<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">46<\/span>:<span style=\"line-height: 26px;\">59<\/span>\u00a0online\u00a0ddl\u00a0begin\n<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">11<\/span>:<span style=\"line-height: 26px;\">20<\/span>:<span style=\"line-height: 26px;\">34<\/span>\u00a0onlie\u00a0ddl\u00a0stop\n<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">11<\/span>:<span style=\"line-height: 26px;\">20<\/span>:<span style=\"line-height: 26px;\">34<\/span>\u00a0begin\u00a0stop\u00a0mysqld_3308\n<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">11<\/span>:<span style=\"line-height: 26px;\">20<\/span>:<span style=\"line-height: 26px;\">36<\/span>\u00a0begin\u00a0rm\u00a0-rf\u00a0datadir\u00a0and\u00a0cp\u00a0-rp\u00a0datadir_bak\n<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">11<\/span>:<span style=\"line-height: 26px;\">22<\/span>:<span style=\"line-height: 26px;\">48<\/span>\u00a0start\u00a0mysqld_3308\n<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">11<\/span>:<span style=\"line-height: 26px;\">22<\/span>:<span style=\"line-height: 26px;\">53<\/span>\u00a0pt-osc\u00a0begin\n<span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">12<\/span>:<span style=\"line-height: 26px;\">19<\/span>:<span style=\"line-height: 26px;\">15<\/span>\u00a0pt-osc\u00a0stop\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">online DDL<\/code> \u82b1\u8d39\u65f6\u95f4\u4e3a 34 \u5206\u949f\uff0cpt-osc \u82b1\u8d39\u65f6\u95f4\u4e3a 57 \u5206\u949f\uff0c\u4f7f\u7528 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">onlne DDL<\/code> \u65f6\u95f4\u7ea6\u4e3a <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">pt-osc<\/code> \u5de5\u5177\u65f6\u95f4\u7684\u4e00\u534a\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u505aDDL \u53c2\u8003\uff1a<\/p>\n<figure style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; white-space: pre-wrap; color: #000000; font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 16px; text-align: left; background-color: #ffffff; display: flex; flex-direction: column; justify-content: center; align-items: center;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" style=\"margin-right: auto; margin-left: auto; display: block;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/202307240950516d6d7461a.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-ratio=\"0.7115384615384616\" data-type=\"png\" data-w=\"832\" \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"margin-right: auto; margin-left: auto; display: block;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/202307240950516d6d7461a.png\" data-ratio=\"0.7115384615384616\" data-type=\"png\" data-w=\"832\" \/><\/noscript><figcaption style=\"margin-top: 5px; text-align: center; color: #888888; font-size: 14px;\">\u00a0<\/figcaption><\/figure>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u7531\u4e8e\u662f\u4e00\u4e3b\u4e00\u4ece\u5b9e\u4f8b\uff0c\u5e94\u7528\u662f\u8fde\u63a5\u7684 vip\uff0c\u5220\u9664\u91cd\u5efa\u7d22\u5f15\u91c7\u7528 online DDL \u6765\u505a\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u505c\u6b62\u4e3b\u4ece\u590d\u5236\u540e\uff0c\u5148\u5728\u4ece\u5b9e\u4f8b\u4e0a\u505a\uff08\u4e0d\u8bb0\u5f55 binlog\uff09\uff0c\u4e3b\u4ece\u5207\u6362\uff0c\u518d\u5728\u65b0\u5207\u6362\u7684\u4ece\u5b9e\u4f8b\u4e0a\u505a\uff08\u4e0d\u8bb0\u5f55 binlog)\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\"><span style=\"line-height: 26px;\">function\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">red_echo<\/span>\u00a0<span style=\"line-height: 26px;\">()<\/span>\u00a0<\/span>{\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0local\u00a0what=<span style=\"color: #a6e22e; line-height: 26px;\">\"$*\"<\/span>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0echo\u00a0-e\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"$(date\u00a0+%F-%T)\u00a0\u00a0${what}\"<\/span>\n}\n\n<span style=\"line-height: 26px;\">function\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">check_las_comm<\/span><span style=\"line-height: 26px;\">()<\/span><\/span>{\n\u00a0\u00a0\u00a0\u00a0<span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">if<\/span>\u00a0[\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"$1\"<\/span>\u00a0!=\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"0\"<\/span>\u00a0];then\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0red_echo\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"$2\"<\/span>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0echo\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"exit\u00a01\"<\/span>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0exit\u00a0<span style=\"line-height: 26px;\">1<\/span>\n\u00a0\u00a0\u00a0\u00a0fi\n}\n\nred_echo\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"stop\u00a0slave\"<\/span>\nmysql\u00a0-uroot\u00a0-p$passwd\u00a0--socket=\/datas\/mysql\/data\/${port}\/mysqld.sock\u00a0-e<span style=\"color: #a6e22e; line-height: 26px;\">\"stop\u00a0slave\"<\/span>\ncheck_las_comm\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"$?\"<\/span>\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"stop\u00a0slave\u00a0failed\"<\/span>\n\nred_echo\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"online\u00a0ddl\u00a0begin\"<\/span>\n\u00a0mysql\u00a0-uroot\u00a0-p$passwd\u00a0--socket=\/datas\/mysql\/data\/${port}\/mysqld.sock\u00a0-e<span style=\"color: #a6e22e; line-height: 26px;\">\"set\u00a0sql_log_bin=0;select\u00a0now()\u00a0as\u00a0\u00a0ddl_start;ALTER\u00a0TABLE\u00a0$db_.\\${table_name}\\\u00a0DROP\u00a0FOREIGN\u00a0KEY\u00a0FK_arrival_record_product,drop\u00a0index\u00a0IXFK_arrival_record,add\u00a0index\u00a0idx_product_id_sequence_station_no(product_id,sequence,station_no),add\u00a0index\u00a0idx_receive_time(receive_time);select\u00a0now()\u00a0as\u00a0ddl_stop\"<\/span>\u00a0&gt;&gt;`${log_file}\u00a0<span style=\"line-height: 26px;\">2<\/span>&gt;`&amp;\u00a0<span style=\"line-height: 26px;\">1<\/span>\n\u00a0red_echo\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"onlie\u00a0ddl\u00a0stop\"<\/span>\n\u00a0red_echo\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"add\u00a0foreign\u00a0key\"<\/span>\n\u00a0mysql\u00a0-uroot\u00a0-p$passwd\u00a0--socket=\/datas\/mysql\/data\/${port}\/mysqld.sock\u00a0-e<span style=\"color: #a6e22e; line-height: 26px;\">\"set\u00a0sql_log_bin=0;ALTER\u00a0TABLE\u00a0$db_.${table_name}\u00a0ADD\u00a0CONSTRAINT\u00a0_FK_${table_name}_product\u00a0FOREIGN\u00a0KEY\u00a0(product_id)\u00a0REFERENCES\u00a0cq_new_cimiss.product\u00a0(id)\u00a0ON\u00a0DELETE\u00a0NO\u00a0ACTION\u00a0ON\u00a0UPDATE\u00a0NO\u00a0ACTION;\"<\/span>\u00a0&gt;&gt;${log_file}\u00a0<span style=\"line-height: 26px;\">2<\/span>&gt;&amp;\u00a0<span style=\"line-height: 26px;\">1<\/span>\n\u00a0check_las_comm\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"$?\"<\/span>\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"add\u00a0foreign\u00a0key\u00a0error\"<\/span>\n\u00a0red_echo\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"add\u00a0foreign\u00a0key\u00a0stop\"<\/span>\n\nred_echo\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"start\u00a0slave\"<\/span>\nmysql\u00a0-uroot\u00a0-p$passwd\u00a0--socket=\/datas\/mysql\/data\/${port}\/mysqld.sock\u00a0-e<span style=\"color: #a6e22e; line-height: 26px;\">\"start\u00a0slave\"<\/span>\ncheck_las_comm\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"$?\"<\/span>\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">\"start\u00a0slave\u00a0failed\"<\/span>\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u6267\u884c\u65f6\u95f4\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\"><span style=\"line-height: 26px;\">2019<\/span>-<span style=\"line-height: 26px;\">04<\/span>-<span style=\"line-height: 26px;\">08<\/span>-<span style=\"line-height: 26px;\">11<\/span>:<span style=\"line-height: 26px;\">17<\/span>:<span style=\"line-height: 26px;\">36<\/span>\u00a0stop\u00a0slave\nmysql:\u00a0[Warning]\u00a0Using\u00a0a\u00a0password\u00a0on\u00a0the\u00a0command\u00a0line\u00a0<span style=\"line-height: 26px;\"><span style=\"color: #f92672; font-weight: bold; line-height: 26px;\">interface<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">can<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">be<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">insecure<\/span>.\n<span style=\"font-weight: bold; color: white; line-height: 26px;\">ddl_start<\/span>\n2019-04-08\u00a011:17:36\n<span style=\"font-weight: bold; color: white; line-height: 26px;\">ddl_stop<\/span>\n2019-04-08\u00a011:45:13\n2019-04-08-11:45:13\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">onlie<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">ddl<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">stop<\/span>\n2019-04-08-11:45:13\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">add<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">foreign<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">key<\/span>\n<span style=\"font-weight: bold; color: white; line-height: 26px;\">mysql<\/span>:\u00a0[<span style=\"font-weight: bold; color: white; line-height: 26px;\">Warning<\/span>]\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">Using<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">a<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">password<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">on<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">the<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">command<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">line<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">interface<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">can<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">be<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">insecure<\/span>.\n2019-04-08-12:33:48\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">add<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">foreign<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">key<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">stop<\/span>\n2019-04-08-12:33:48\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">start<\/span>\u00a0<span style=\"font-weight: bold; color: white; line-height: 26px;\">slave<\/span>\n\n<\/span><\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5220\u9664\u91cd\u5efa\u7d22\u5f15\u82b1\u8d39\u65f6\u95f4\u4e3a 28 \u5206\u949f\uff0c\u6dfb\u52a0\u5916\u952e\u7ea6\u675f\u65f6\u95f4\u4e3a 48 \u5206\u949f\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u518d\u6b21\u67e5\u770b <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">delete<\/code> \u548c <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">select<\/code> \u8bed\u53e5\u7684\u6267\u884c\u8ba1\u5212\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\"><span style=\"line-height: 26px;\">explain\u00a0select\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">count<\/span><span style=\"line-height: 26px;\">(*)<\/span>\u00a0from\u00a0arrival_record\u00a0where\u00a0receive_time\u00a0&lt;\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">STR_TO_DATE<\/span><span style=\"line-height: 26px;\">(<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-10'<\/span>,\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'%Y-%m-%d'<\/span>)<\/span>\\G\n***************************\u00a01.\u00a0row\u00a0***************************\nid:\u00a01\nselect_type:\u00a0SIMPLE\ntable:\u00a0arrival_record\npartitions:\u00a0NULL\ntype:\u00a0range\npossible_keys:\u00a0idx_receive_time\nkey:\u00a0idx_receive_time\nkey_len:\u00a06\nref:\u00a0NULL\nrows:\u00a07540948\nfiltered:\u00a0100.00\nExtra:\u00a0Using\u00a0where<\/span>;\u00a0<span style=\"line-height: 26px;\">Using\u00a0index\n\nexplain\u00a0select\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">count<\/span><span style=\"line-height: 26px;\">(*)<\/span>\u00a0from\u00a0arrival_record\u00a0where\u00a0product_id<\/span>=<span style=\"line-height: 26px;\">26<\/span>\u00a0and\u00a0receive_time\u00a0between\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-25\u00a014:00:00'<\/span>\u00a0and\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-25\u00a015:00:00'<\/span>\u00a0and\u00a0receive_spend_ms&gt;=<span style=\"line-height: 26px;\">0<\/span>\\G;\n***************************\u00a0<span style=\"line-height: 26px;\">1<\/span>.\u00a0row\u00a0***************************\nid:\u00a0<span style=\"line-height: 26px;\">1<\/span>\nselect_type:\u00a0SIMPLE\ntable:\u00a0arrival_record\npartitions:\u00a0NULL\ntype:\u00a0range\npossible_keys:\u00a0idx_product_id_sequence_station_no,idx_receive_time\nkey:\u00a0idx_receive_time\nkey_len:\u00a0<span style=\"line-height: 26px;\">6<\/span>\nref:\u00a0NULL\nrows:\u00a0<span style=\"line-height: 26px;\">291448<\/span>\nfiltered:\u00a0<span style=\"line-height: 26px;\">16.66<\/span>\nExtra:\u00a0Using\u00a0index\u00a0condition;\u00a0Using\u00a0where\n\n<\/code><\/pre>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u90fd\u4f7f\u7528\u5230\u4e86 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">idx_receive_time<\/code> \u7d22\u5f15\uff0c\u626b\u63cf\u7684\u884c\u6570\u5927\u5927\u964d\u4f4e\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><strong style=\"color: black;\">\u7d22\u5f15\u4f18\u5316\u540e<\/strong><\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">delete \u8fd8\u662f\u82b1\u8d39\u4e86 77s \u65f6\u95f4\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">delete\u00a0from\u00a0arrival_record\u00a0where\u00a0receive_time\u00a0&lt;\u00a0STR_TO_DATE(<span style=\"color: #a6e22e; line-height: 26px;\">'2019-03-10'<\/span>,\u00a0<span style=\"color: #a6e22e; line-height: 26px;\">'%Y-%m-%d'<\/span>)\\G\n\n<\/code><\/pre>\n<figure style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; white-space: pre-wrap; color: #000000; font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 16px; text-align: left; background-color: #ffffff; display: flex; flex-direction: column; justify-content: center; align-items: center;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" style=\"margin-right: auto; margin-left: auto; display: block;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-52\/20230724095052c6c6a68bd.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-ratio=\"0.31767955801104975\" data-type=\"png\" data-w=\"724\" \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"margin-right: auto; margin-left: auto; display: block;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-52\/20230724095052c6c6a68bd.png\" data-ratio=\"0.31767955801104975\" data-type=\"png\" data-w=\"724\" \/><\/noscript><figcaption style=\"margin-top: 5px; text-align: center; color: #888888; font-size: 14px;\">\u00a0<\/figcaption><\/figure>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">delete \u8bed\u53e5\u901a\u8fc7 <code style=\"margin-right: 2px; margin-left: 2px; padding: 2px 4px; font-size: 14px; border-radius: 4px; background-color: rgba(27, 31, 35, 0.05); font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; word-break: break-all; color: #0080ff;\">receive_time<\/code> \u7684\u7d22\u5f15\u5220\u9664 300 \u591a\u4e07\u7684\u8bb0\u5f55\u82b1\u8d39 77s \u65f6\u95f4\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><strong style=\"color: black;\">delete \u5927\u8868\u4f18\u5316\u4e3a\u5c0f\u6279\u91cf\u5220\u9664<\/strong><\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5e94\u7528\u7aef\u5df2\u4f18\u5316\u6210\u6bcf\u6b21\u5220\u9664 10 \u5206\u949f\u7684\u6570\u636e\uff08\u6bcf\u6b21\u6267\u884c\u65f6\u95f4 1s \u5de6\u53f3\uff09\uff0cxxx \u4e2d\u6ca1\u5728\u51fa\u73b0 SLA\uff08\u4e3b\u4ece\u5ef6\u8fdf\u544a\u8b66\uff09\uff1a<\/p>\n<figure style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; white-space: pre-wrap; color: #000000; font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 16px; text-align: left; background-color: #ffffff; display: flex; flex-direction: column; justify-content: center; align-items: center;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" style=\"margin-right: auto; margin-left: auto; display: block;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-52\/202307240950522323808ed.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-ratio=\"0.6502525252525253\" data-type=\"png\" data-w=\"792\" \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"margin-right: auto; margin-left: auto; display: block;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-52\/202307240950522323808ed.png\" data-ratio=\"0.6502525252525253\" data-type=\"png\" data-w=\"792\" \/><\/noscript><figcaption style=\"margin-top: 5px; text-align: center; color: #888888; font-size: 14px;\">\u00a0<\/figcaption><\/figure>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u53e6\u4e00\u4e2a\u65b9\u6cd5\u662f\u901a\u8fc7\u4e3b\u952e\u7684\u987a\u5e8f\u6bcf\u6b21\u5220\u9664 20000 \u6761\u8bb0\u5f55\uff1a<\/p>\n<pre style=\"margin-top: 10px; margin-bottom: 10px; letter-spacing: 0.578px; color: #000000; font-size: 16px; text-align: left; background-color: #ffffff;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><code style=\"padding: 16px; overflow-x: auto; background: #272822; color: #dddddd; display: -webkit-box; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; border-radius: 0px; font-size: 12px;\">#\u5f97\u5230\u6ee1\u8db3\u65f6\u95f4\u6761\u4ef6\u7684\u6700\u5927\u4e3b\u952eID\n#\u901a\u8fc7\u6309\u7167\u4e3b\u952e\u7684\u987a\u5e8f\u53bb\u00a0\u987a\u5e8f\u626b\u63cf\u5c0f\u6279\u91cf\u5220\u9664\u6570\u636e\n#\u5148\u6267\u884c\u4e00\u6b21\u4ee5\u4e0b\u8bed\u53e5\n\u00a0<span style=\"line-height: 26px;\">SELECT\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">MAX<\/span><span style=\"line-height: 26px;\">(id)<\/span>\u00a0INTO\u00a0@need_delete_max_id\u00a0FROM\u00a0arrival_record\u00a0WHERE\u00a0receive_time`&lt;'2019-03-01'\u00a0<\/span>;\n\u00a0DELETE\u00a0FROM\u00a0arrival_record\u00a0WHERE\u00a0id&lt;<span style=\"color: #75715e; line-height: 26px;\">@need<\/span>_delete_max_id\u00a0LIMIT\u00a0<span style=\"line-height: 26px;\">20000<\/span>;\n\u00a0<span style=\"line-height: 26px;\">select\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">ROW_COUNT<\/span><span style=\"line-height: 26px;\">()<\/span><\/span>;\u00a0\u00a0#\u8fd4\u56de<span style=\"line-height: 26px;\">20000<\/span>\n#\u6267\u884c\u5c0f\u6279\u91cfdelete\u540e\u4f1a\u8fd4\u56derow_count(),\u00a0\u5220\u9664\u7684\u884c\u6570\n#\u7a0b\u5e8f\u5224\u65ad\u8fd4\u56de\u7684row_count()\u662f\u5426\u4e3a<span style=\"line-height: 26px;\">0<\/span>\uff0c\u4e0d\u4e3a<span style=\"line-height: 26px;\">0<\/span>\u6267\u884c\u4ee5\u4e0b\u5faa\u73af\uff0c\u4e3a<span style=\"line-height: 26px;\">0<\/span>\u9000\u51fa\u5faa\u73af\uff0c\u5220\u9664\u64cd\u4f5c\u5b8c\u6210\n\u00a0DELETE\u00a0FROM\u00a0arrival_record\u00a0WHERE\u00a0id&lt;<span style=\"color: #75715e; line-height: 26px;\">@need<\/span>_delete_max_id\u00a0LIMIT\u00a0<span style=\"line-height: 26px;\">20000<\/span>;\n\u00a0<span style=\"line-height: 26px;\">select\u00a0<span style=\"color: #a6e22e; font-weight: bold; line-height: 26px;\">ROW_COUNT<\/span><span style=\"line-height: 26px;\">()<\/span><\/span>;\n#\u7a0b\u5e8f\u7761\u7720<span style=\"line-height: 26px;\">0.5<\/span>s\n\n<\/code><\/pre>\n<h2 style=\"margin-top: 30px; margin-bottom: 15px; font-weight: bold; font-size: 18px; letter-spacing: 0.578px; white-space: pre-wrap; font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, 'Open Sans', 'Helvetica Neue', sans-serif; text-align: left; background-color: #ffffff; color: #ffa900;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u603b\u7ed3<\/h2>\n<h2 style=\"letter-spacing: 0.578px; text-wrap: wrap;\" data-tool=\"mdnice\u7f16\u8f91\u5668\"><strong>\u8868\u6570\u636e\u91cf\u592a\u5927\u65f6\uff0c\u9664\u4e86\u5173\u6ce8\u8bbf\u95ee\u8be5\u8868\u7684\u54cd\u5e94\u65f6\u95f4\u5916\uff0c\u8fd8\u8981\u5173\u6ce8\u5bf9\u8be5\u8868\u7684\u7ef4\u62a4\u6210\u672c\uff08\u5982\u505a DDL \u8868\u66f4\u65f6\u95f4\u592a\u957f\uff0cdelete \u5386\u53f2\u6570\u636e\uff09\u3002<\/strong><\/h2>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5bf9\u5927\u8868\u8fdb\u884c DDL \u64cd\u4f5c\u65f6\uff0c\u8981\u8003\u8651\u8868\u7684\u5b9e\u9645\u60c5\u51b5\uff08\u5982\u5bf9\u8be5\u8868\u7684\u5e76\u53d1\u8868\uff0c\u662f\u5426\u6709\u5916\u952e\uff09\u6765\u9009\u62e9\u5408\u9002\u7684 DDL \u53d8\u66f4\u65b9\u5f0f\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u5bf9\u5927\u6570\u636e\u91cf\u8868\u8fdb\u884c delete\uff0c\u7528\u5c0f\u6279\u91cf\u5220\u9664\u7684\u65b9\u5f0f\uff0c\u51cf\u5c11\u5bf9\u4e3b\u5b9e\u4f8b\u7684\u538b\u529b\u548c\u4e3b\u4ece\u5ef6\u8fdf\u3002<\/p>\n<p style=\"margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.578px; white-space: pre-wrap; text-align: left; background-color: #ffffff; line-height: 26px; font-size: 15px; color: #4a4a4a; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\" data-tool=\"mdnice\u7f16\u8f91\u5668\">\u539f\u6587\uff1acnblogs.com\/YangJiaXin\/p\/10828244.html<\/p>\n<section style=\"margin-bottom: 0px; text-wrap: wrap; outline: 0px; background-color: #ffffff; letter-spacing: 0px; font-size: 16px; text-align: left; color: #3e3e3e; line-height: 2em; font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;\"><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"display: none;\">\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4f5c\u8005\uff1a\u67b6\u6784\u5e08\u6280\u672f\u6808 \u67b6\u6784\u5e08\u6280\u672f\u6808 \u5fae\u4fe1\u53f7 souyunku \u529f\u80fd\u4ecb\u7ecd Java\u540e\u7aef\u3001\u5fae\u670d\u52a1\u3001\u5206\u5e03\u5f0f\u3001\u5bb9\u5668\u5316\u7f16\u7a0b\u3001\u7b49\u6280\u672f\u6808\uff01 \u53d1\u8868\u4e8e<br \/>\n\u8f6c\u8f7d\u5730\u5740\uff1ahttps:\/\/mp.weixin.qq.com\/s\/wZCS11BGGJ_J4CcxTzkOrw<\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u78ca\u54e5\u3002 2023 \u5e74 Java \u67b6\u6784\u5e08\uff1a\u89c6\u9891\u8bfe\u7a0b 2023 \u5e74 Java \u6210\u795e\u4e4b\u8def\uff1a\u89c6\u9891\u8bfe\u7a0b \u4e70 Flowable 4 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-3024","post","type-post","status-publish","format-standard","hentry","category-mysql"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/2023072409505058587af0f.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/202307240950503232f3421.png","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-50\/202307240950503232f3421.png","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/20230724095051f8f855dbf.png","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/20230724095051f8f855dbf.png","id":"image5"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/2023072409505189899ff2a.png","id":"image6"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/2023072409505189899ff2a.png","id":"image7"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/202307240950516d6d7461a.png","id":"image8"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-51\/202307240950516d6d7461a.png","id":"image9"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-52\/20230724095052c6c6a68bd.png","id":"image10"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-52\/20230724095052c6c6a68bd.png","id":"image11"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-52\/202307240950522323808ed.png","id":"image12"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-24\/09-50-52\/202307240950522323808ed.png","id":"image13"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"MySQL","post_date":"2023-07-28","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":337,"next_post_id":3049,"next_post_title":"MySQL\u4e2d\u7684\u5b58\u50a8\u8fc7\u7a0b\uff08\u8be6\u7ec6\u7bc7\uff09","previous_post_id":3038,"previous_post_title":"Mysql\u7edf\u8ba1\u4e0d\u540c\u533a\u95f4\u7684\u6570\u636eSum\u548cCount","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/3024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=3024"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/3024\/revisions"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=3024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=3024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=3024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}