{"id":2144,"date":"2017-08-31T10:50:49","date_gmt":"2017-08-31T02:50:49","guid":{"rendered":"https:\/\/ai.zhousir.top\/?p=2144"},"modified":"2026-08-18T12:09:38","modified_gmt":"2026-08-18T04:09:38","slug":"%e5%ad%98%e5%82%a8%e5%bc%95%e6%93%8e","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=2144","title":{"rendered":"Mysql\u5b58\u50a8\u5f15\u64ce"},"content":{"rendered":"<section id=\"wenyan\" style=\"font-family: system-ui, 'Apple Color Emoji', 'Segoe UI', 'Segoe UI Symbol', 'Noto Sans', Roboto, sans-serif; line-height: 1.75; font-size: 16px; color: #000000; caret-color: #000000;\" data-provider=\"WenYan\">\n<p style=\"margin: 1em 0px;\">\u901a\u5e38\u8bf4\u7684\u6570\u636e\u5e93\uff0c\u5c31\u662f\u6570\u636e\u7684\u96c6\u5408\uff1a\u78c1\u76d8\u4e0a\u7684\u4e00\u4e9b\u6587\u4ef6\uff0c\u6216\u5185\u5b58\u91cc\u7684\u4e00\u6279\u6570\u636e\u3002\u6211\u4eec\u5e38\u8bf4\u7684 <strong style=\"color: #4870ac;\">MySQL<\/strong>\u3001SQL Server\uff0c\u5176\u5b9e\u662f\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff0c\u8d1f\u8d23\u5b58\u50a8\uff0c\u5e76\u63d0\u4f9b\u67e5\u8be2\u548c\u66f4\u65b0\u3002<\/p>\n<p style=\"margin: 1em 0px;\">MySQL \u662f\u5f00\u6e90\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\uff0c\u652f\u6301 SQL\u3001\u5b50\u67e5\u8be2\u3001\u5b58\u50a8\u8fc7\u7a0b\u3001\u89e6\u53d1\u5668\u3001\u89c6\u56fe\u3001\u7d22\u5f15\u3001\u4e8b\u52a1\u3001\u9501\u3001\u5916\u952e\u7ea6\u675f\u548c\u5f71\u50cf\u590d\u5236\u7b49\u3002\u5b83\u548c Oracle\u3001SQL Server \u4e00\u6837\u662f\u5ba2\u6237\/\u670d\u52a1\u5668\u7cfb\u7edf\uff0c\u5e76\u4e14\u662f<strong style=\"color: #4870ac;\">\u5355\u8fdb\u7a0b\u591a\u7ebf\u7a0b<\/strong>\u67b6\u6784\u3002\u4e00\u4e2a\u91cd\u8981\u7279\u70b9\u662f\u652f\u6301<strong style=\"color: #4870ac;\">\u63d2\u5165\u5f0f\u5b58\u50a8\u5f15\u64ce<\/strong>\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e00\u3001\u4ec0\u4e48\u662f\u5b58\u50a8\u5f15\u64ce<\/h2>\n<p style=\"margin: 1em 0px;\">\u5173\u7cfb\u5e93\u91cc\u7684\u8868\u662f\u7528\u6765\u5b58\u50a8\u548c\u7ec4\u7ec7\u4fe1\u606f\u7684\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u4ee5\u7406\u89e3\u6210\u7531\u884c\u548c\u5217\u7ec4\u6210\u7684\u8868\u683c\uff0c\u7c7b\u4f3c Excel\u3002\u6709\u7684\u8868\u7b80\u5355\uff0c\u6709\u7684\u590d\u6742\uff1b\u6709\u7684\u6839\u672c\u4e0d\u5b58\u957f\u671f\u6570\u636e\uff1b\u6709\u7684\u8bfb\u5f88\u5feb\u4f46\u63d2\u5165\u5f88\u5dee\u3002\u5b9e\u9645\u5f00\u53d1\u9700\u8981\u5404\u79cd\u5404\u6837\u7684\u8868\uff0c\u5904\u7406\u65b9\u5f0f\u4e5f\u4e0d\u4e00\u6837\u3002<\/p>\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u5b58\u50a8\u5f15\u64ce<\/strong>\u8bf4\u767d\u4e86\u5c31\u662f\uff1a\u5982\u4f55\u5b58\u6570\u636e\u3001\u5982\u4f55\u5efa\u7d22\u5f15\u3001\u5982\u4f55\u66f4\u65b0\u548c\u67e5\u8be2\u3002\u56e0\u4e3a\u6570\u636e\u4ee5\u8868\u7684\u5f62\u5f0f\u5b58\u653e\uff0c\u5b58\u50a8\u5f15\u64ce\u4e5f\u53ef\u4ee5\u53eb\u8868\u7c7b\u578b\u3002Oracle\u3001SQL Server \u901a\u5e38\u53ea\u6709\u4e00\u79cd\u5b58\u50a8\u5f15\u64ce\uff1bMySQL \u63d0\u4f9b\u591a\u79cd\uff0c\u7528\u6237\u53ef\u4ee5\u6309\u8868\u9009\u5f15\u64ce\uff0c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u5199\u5f15\u64ce\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e8c\u3001MySQL \u6709\u54ea\u4e9b\u5b58\u50a8\u5f15\u64ce<\/h2>\n<p style=\"margin: 1em 0px;\">\u5e38\u89c1\u7684\u6709 MyISAM\u3001InnoDB\u3001MEMORY\u3001MERGE \u7b49\u3002\u5ba2\u6237\u7aef\u91cc\u53ef\u4ee5\u7528 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">show engines;<\/code> \u67e5\u770b\u5f53\u524d\u652f\u6301\u7684\u5f15\u64ce\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">1. MyISAM<\/h3>\n<p style=\"margin: 1em 0px;\">MyISAM \u8868\u72ec\u7acb\u4e8e\u64cd\u4f5c\u7cfb\u7edf\uff0c\u53ef\u4ee5\u4ece Windows \u670d\u52a1\u5668\u8f7b\u677e\u79fb\u690d\u5230 Linux\u3002\u6bcf\u5efa\u4e00\u5f20 MyISAM \u8868\uff0c\u672c\u5730\u78c1\u76d8\u4f1a\u751f\u6210\u4e09\u4e2a\u4ee5\u8868\u540d\u4e3a\u540d\u7684\u6587\u4ef6\u3002\u4f8b\u5982\u8868 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">tb_Demo<\/code>\uff1a<\/p>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section><code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">tb_demo.frm<\/code>\uff0c\u5b58\u50a8\u8868\u5b9a\u4e49<\/section>\n<\/li>\n<li>\n<section><code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">tb_demo.MYD<\/code>\uff0c\u5b58\u50a8\u6570\u636e<\/section>\n<\/li>\n<li>\n<section><code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">tb_demo.MYI<\/code>\uff0c\u5b58\u50a8\u7d22\u5f15<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px;\">MyISAM <strong style=\"color: #4870ac;\">\u4e0d\u80fd\u5904\u7406\u4e8b\u52a1<\/strong>\uff0c\u6709\u4e8b\u52a1\u9700\u6c42\u7684\u8868\u4e0d\u8981\u7528\u5b83\u3002\u5b83\u7279\u522b\u9002\u5408\uff1a<\/p>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section>\u9009\u62e9\u5bc6\u96c6\u578b\u7684\u8868\uff1a\u7b5b\u9009\u5927\u91cf\u6570\u636e\u65f6\u975e\u5e38\u8fc5\u901f\uff0c\u8fd9\u662f\u6700\u7a81\u51fa\u7684\u4f18\u70b9\u3002<\/section>\n<\/li>\n<li>\n<section>\u63d2\u5165\u5bc6\u96c6\u578b\u7684\u8868\uff1a\u5e76\u53d1\u63d2\u5165\u5141\u8bb8\u540c\u65f6\u9009\u62e9\u548c\u63d2\u5165\u6570\u636e\u3002\u4f8b\u5982\u7ba1\u7406\u90ae\u4ef6\u6216 Web \u670d\u52a1\u5668\u65e5\u5fd7\u3002<\/section>\n<\/li>\n<\/ul>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">2. InnoDB<\/h3>\n<p style=\"margin: 1em 0px;\">InnoDB \u662f\u5065\u58ee\u7684\u4e8b\u52a1\u578b\u5b58\u50a8\u5f15\u64ce\uff0c\u5f88\u591a\u4e92\u8054\u7f51\u516c\u53f8\u7528\u5b83\u625b\u5f88\u5927\u7684\u6570\u636e\u91cf\u3002MySQL 5.7.11 \u8d77\u5b83\u5c31\u662f\u9ed8\u8ba4\u5f15\u64ce\u3002\u5b83\u8fd8\u5f15\u5165\u4e86<strong style=\"color: #4870ac;\">\u884c\u7ea7\u9501\u5b9a<\/strong>\u548c<strong style=\"color: #4870ac;\">\u5916\u952e\u7ea6\u675f<\/strong>\u3002\u9002\u5408\uff1a<\/p>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section>\u66f4\u65b0\u5bc6\u96c6\u7684\u8868\uff1a\u9002\u5408\u591a\u91cd\u5e76\u53d1\u66f4\u65b0\u3002<\/section>\n<\/li>\n<li>\n<section>\u4e8b\u52a1\uff1a\u652f\u6301\u4e8b\u52a1\u7684\u6807\u51c6 MySQL \u5b58\u50a8\u5f15\u64ce\u3002<\/section>\n<\/li>\n<li>\n<section>\u81ea\u52a8\u707e\u96be\u6062\u590d\uff1a\u80fd\u4ece\u707e\u96be\u4e2d\u81ea\u52a8\u6062\u590d\u3002<\/section>\n<\/li>\n<li>\n<section>\u5916\u952e\u7ea6\u675f\uff1aMySQL \u652f\u6301\u5916\u952e\u7684\u5b58\u50a8\u5f15\u64ce\u53ea\u6709 InnoDB\u3002<\/section>\n<\/li>\n<li>\n<section>\u652f\u6301\u81ea\u52a8\u589e\u52a0\u5217 AUTO_INCREMENT\u3002<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px;\">\u4e00\u822c\u6765\u8bf4\uff0c\u9700\u8981\u4e8b\u52a1\u3001\u53c8\u6709\u8f83\u9ad8\u5e76\u53d1\u8bfb\u53d6\uff0cInnoDB \u662f\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/p>\n<table style=\"display: table; text-align: left; overflow: auto; border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; overflow-wrap: break-word; word-break: break-all;\" width=\"800\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u5bf9\u6bd4<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">MyISAM<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">InnoDB<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u4e8b\u52a1<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u4e0d\u652f\u6301<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u652f\u6301<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u9501<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u8868\u7ea7\u4e3a\u4e3b<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u884c\u7ea7\u9501\u5b9a<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u5916\u952e<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u4e0d\u652f\u6301<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u652f\u6301\uff08MySQL \u4e2d\u4ec5\u6b64\u5f15\u64ce\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u78c1\u76d8\u6587\u4ef6<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">.frm \/ .MYD \/ .MYI<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u8868\u7a7a\u95f4\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u9002\u7528<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u9009\u62e9\/\u63d2\u5165\u5bc6\u96c6\uff0c\u5982\u65e5\u5fd7<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u66f4\u65b0\u5bc6\u96c6\u3001\u8981\u4e8b\u52a1\u4e0e\u5e76\u53d1\u8bfb<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e09\u3001\u5e38\u7528\u64cd\u4f5c<\/h2>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">1. \u67e5\u770b\u9ed8\u8ba4\u5b58\u50a8\u5f15\u64ce<\/h3>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">mysql&gt; SHOW variables like 'default_storage_engine';\n+------------------------+--------+\n| Variable_name          | Value  |\n+------------------------+--------+\n| default_storage_engine | InnoDB |\n+------------------------+--------+<\/code><\/pre>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">2. \u663e\u793a\u5f53\u524d\u5e93\u652f\u6301\u7684\u6240\u6709\u5b58\u50a8\u5f15\u64ce<\/h3>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">mysql&gt; show engines;\n+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+\n| Engine             | Support | Comment                                                        | Transactions | XA   | Savepoints |\n+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+\n| InnoDB             | DEFAULT | Supports transactions, row-level locking, and foreign keys     | YES          | YES  | YES        |\n| MRG_MYISAM         | YES     | Collection of identical MyISAM tables                          | NO           | NO   | NO         |\n| MEMORY             | YES     | Hash based, stored in memory, useful for temporary tables      | NO           | NO   | NO         |\n| BLACKHOLE          | YES     | \/dev\/null storage engine (anything you write to it disappears) | NO           | NO   | NO         |\n| MyISAM             | YES     | MyISAM storage engine                                          | NO           | NO   | NO         |\n| CSV                | YES     | CSV storage engine                                             | NO           | NO   | NO         |\n| ARCHIVE            | YES     | Archive storage engine                                         | NO           | NO   | NO         |\n| PERFORMANCE_SCHEMA | YES     | Performance Schema                                             | NO           | NO   | NO         |\n| FEDERATED          | NO      | Federated MySQL storage engine                                 | NULL         | NULL | NULL       |\n+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+<\/code><\/pre>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">3. \u4fee\u6539\u9ed8\u8ba4\u5f15\u64ce<\/h3>\n<p style=\"margin: 1em 0px;\">\u6539\u914d\u7f6e\u6587\u4ef6 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">my.ini<\/code>\uff08MySQL 5.7\uff09\u91cc\u7684 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">default-storage-engine<\/code>\u3002<\/p>\n<p style=\"margin: 1em 0px;\">MySQL 5.1 \u4ee5\u540e\uff0c<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">INFORMATION_SCHEMA<\/code> \u91cc\u6709 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">ENGINES<\/code> \u8868\uff0c\u4fe1\u606f\u548c <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">show engines;<\/code> \u4e00\u6837\u3002\u67e5\u54ea\u4e9b\u5f15\u64ce\u652f\u6301\u4e8b\u52a1\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">select engine from information_schema.engines where transactions = 'yes';<\/code><\/pre>\n<blockquote style=\"display: block; font-size: 0.9em; border-left: 3px solid #4870ac; padding: 0.5em 1em; margin: 0px; background: #f6f8fa; color: #40464f;\">\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1aMySQL \u6309\u8868\u9009\u5b58\u50a8\u5f15\u64ce\uff1b\u8981\u4e8b\u52a1\u3001\u884c\u9501\u548c\u5916\u952e\u7528 InnoDB\uff0c\u53ea\u8bfb\u7b5b\u9009\u6216\u65e5\u5fd7\u7c7b\u63d2\u5165\u7528 MyISAM\u3002<\/strong><\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u5e38\u8bf4\u7684\u6570\u636e\u5e93\uff0c\u5c31\u662f\u6570\u636e\u7684\u96c6\u5408\uff1a\u78c1\u76d8\u4e0a\u7684\u4e00\u4e9b\u6587\u4ef6\uff0c\u6216\u5185\u5b58\u91cc\u7684\u4e00\u6279\u6570\u636e\u3002\u6211\u4eec\u5e38\u8bf4\u7684 MySQL\u3001SQL Serv [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[61],"tags":[192,62],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2144"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2144"}],"version-history":[{"count":3,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2144\/revisions"}],"predecessor-version":[{"id":2149,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2144\/revisions\/2149"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}