<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>i漂泊 - MySQL</title>
    <link>https://www.ipiaobo.cn/forum-38-1.html</link>
    <description>Latest 20 threads of MySQL</description>
    <copyright>Copyright(C) i漂泊</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 19 Jul 2026 10:55:03 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.ipiaobo.cn/static/image/common/logo_88_31.gif</url>
      <title>i漂泊</title>
      <link>https://www.ipiaobo.cn/</link>
    </image>
    <item>
      <title>52 条 SQL 语句性能优化策略，建议收藏</title>
      <link>https://www.ipiaobo.cn/thread-402-1-1.html</link>
      <description><![CDATA[本文会提到 52 条 SQL 语句性能优化策略。



1、对查询进行优化，应尽量避免全表扫描，首先应考虑在where及order by涉及的列上建立索引。



2、应尽量避免在where子句中对字段进行null值判断，创建表时NULL是默认值，但大多数时候应该使用NOT NULL，或者使用 ...]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Sun, 27 Dec 2020 13:21:13 +0000</pubDate>
    </item>
    <item>
      <title>mysql查看被锁住的表</title>
      <link>https://www.ipiaobo.cn/thread-361-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Fri, 15 May 2020 09:49:04 +0000</pubDate>
    </item>
    <item>
      <title>MYSQL is marked as crashed and should be repaired解决办法</title>
      <link>https://www.ipiaobo.cn/thread-280-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Sun, 26 Mar 2017 12:19:14 +0000</pubDate>
    </item>
    <item>
      <title>MySQL关键性能监控(QPS/TPS)</title>
      <link>https://www.ipiaobo.cn/thread-276-1-1.html</link>
      <description><![CDATA[以下列出上述两个指标的具体算法：
QPS = Queries/ Seconds
Queries 是系统状态值--总查询次数，可以通过show status查询得出


Seconds是监控的时间区间，单位秒
QPS = (Q2 - Q1)/10   间隔10秒查询两次并记录Q1，Q2，以此计算出QPS值

=================== ...]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Mon, 06 Mar 2017 06:46:32 +0000</pubDate>
    </item>
    <item>
      <title>MySql状态查看方法 MySql如何查看连接数和状态?</title>
      <link>https://www.ipiaobo.cn/thread-275-1-1.html</link>
      <description><![CDATA[Mysql关系型数据库管理系统
MySQL是一个开放源码的小型关联式数据库管理系统，开发者为瑞典MySQL AB公司。MySQL被广泛地应用在Internet上的中小型网站中。由于其体积小、速度快、总体拥有成本低，尤其是开放源码这一特点，许多中小型网站为了降低网站总体拥有成本而选 ...]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Mon, 06 Mar 2017 06:01:27 +0000</pubDate>
    </item>
    <item>
      <title>MySQL数据备份之mysqldump使用</title>
      <link>https://www.ipiaobo.cn/thread-264-1-1.html</link>
      <description><![CDATA[1、各种用法说明
     A. 最简单的用法：
上述命令将指定数据库备份到某dump文件（转储文件）中，比如：生成的test.dump文件中包含建表语句（生成数据库结构哦）和插入数据的insert语句。
     B. --opt
     如果加上--opt参数则生成的dump文件中稍有不同：
    ...]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Thu, 30 Jun 2016 06:10:30 +0000</pubDate>
    </item>
    <item>
      <title>MySQL与Oracle的语法区别详细对比</title>
      <link>https://www.ipiaobo.cn/thread-261-1-1.html</link>
      <description><![CDATA[Oracle和mysql的一些简单命令对比日期函数 

[*]增加一个月



[*]截取字符串： 


在MySQL中from 后的表如果是(select.......)这种，那么后面必须有别名 


连接字符串在Oracle中用|| ,SqlServer中用+,MySQL中用concat(\'a\',\'b\',\'c\') 


在SqlServer中的 ...]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Wed, 25 May 2016 05:21:04 +0000</pubDate>
    </item>
    <item>
      <title>mysql判断字段是否存在的方法</title>
      <link>https://www.ipiaobo.cn/thread-259-1-1.html</link>
      <description><![CDATA[1. desc 命令 
格式: 

例子: 2. show columns 命令 
格式: 
例子:

3. describe 命令 
格式: 
describe 相當于 show columns from 
例子:]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Tue, 10 May 2016 01:03:57 +0000</pubDate>
    </item>
    <item>
      <title>MySQL的btree索引和hash索引的区别</title>
      <link>https://www.ipiaobo.cn/thread-101-1-1.html</link>
      <description><![CDATA[Hash 索引结构的特殊性，其检索效率非常高，索引的检索可以一次定位，不像B-Tree 索引需要从根节点到枝节点，最后才能访问到页节点这样多次的IO访问，所以 Hash 索引的查询效率要远高于 B-Tree 索引。可能很多人又有疑问了，既然 Hash 索引的效率要比 B-Tree 高很多，为 ...]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Wed, 07 Aug 2013 04:29:32 +0000</pubDate>
    </item>
    <item>
      <title>讨人喜欢的 MySQL replace into 用法（insert into 的增强版）</title>
      <link>https://www.ipiaobo.cn/thread-83-1-1.html</link>
      <description><![CDATA[在向表中插入数据的时候，经常遇到这样的情况：1. 首先判断数据是否存在； 2. 如果不存在，则插入；3.如果存在，则更新。在 SQL Server 中可以这样处理：那么 MySQL 中如何实现这样的逻辑呢？别着急！MySQL 中有更简单的方法： replace intoreplace into 跟 insert 功能 ...]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Sun, 19 May 2013 07:57:40 +0000</pubDate>
    </item>
    <item>
      <title>MySQL limit实际用法的详细解析</title>
      <link>https://www.ipiaobo.cn/thread-7-1-1.html</link>
      <description><![CDATA[MySQL limit的实际用法的详细解析，在我们使用相关的查询语句的时候，一般都要返回前几条或是中间的某几行数据，这时你应如何处理呢？不必担心，MySQL数据库已经为我们提供了这样一个功能。LIMIT 子句可以被用于强制 SELECT 语句返回指定的记录数。MySQL LIMIT 接受一个 ...]]></description>
      <category>MySQL</category>
      <author>51漂泊</author>
      <pubDate>Fri, 16 Nov 2012 07:32:11 +0000</pubDate>
    </item>
  </channel>
</rss>