随笔分类 -  关系型数据库

MySQL---答疑
摘要:1、mysql中允许 唯一索引中包含null 存在多个 阅读全文

posted @ 2021-08-26 18:09 anpeiyong 阅读(21) 评论(0) 推荐(0) 编辑

SqlServer---优化
摘要:1、数据库优化顾问 https://docs.microsoft.com/zh-cn/sql/relational-databases/performance/database-engine-tuning-advisor?view=sql-server-2017 阅读全文

posted @ 2020-11-12 13:03 anpeiyong 阅读(60) 评论(0) 推荐(0) 编辑

SqlServer---概念
摘要:1、SqlServer数据库引擎 数据库引擎 组件是用于 存储、处理数据和保证数据安全的核心服务。 数据库引擎 提供 受控的访问和快速事务处理,以满足企业中要求极高、大量使用数据的应用程序的要求。 阅读全文

posted @ 2020-11-11 20:04 anpeiyong 阅读(260) 评论(0) 推荐(0) 编辑

SqlServer---查询处理体系结构指南
摘要:https://docs.microsoft.com/zh-cn/sql/relational-databases/query-processing-architecture-guide?view=sql-server-2017 1、优化 SELECT 语句 1.1、SELECT 语句是非程序性的, 阅读全文

posted @ 2020-11-02 20:07 anpeiyong 阅读(99) 评论(0) 推荐(0) 编辑

SqlServer---索引体系结构和设计指南
摘要:https://docs.microsoft.com/zh-cn/sql/relational-databases/sql-server-index-design-guide?view=sql-server-2017 1、索引在逻辑上以 组织 为包含行和列的表存储数据; 在物理上以 按行数据格式(称 阅读全文

posted @ 2020-11-02 19:36 anpeiyong 阅读(143) 评论(0) 推荐(0) 编辑

SqlServer---页和区体系结构指南
摘要:https://docs.microsoft.com/zh-cn/sql/relational-databases/pages-and-extents-architecture-guide?view=sql-server-2017 阅读全文

posted @ 2020-10-27 17:35 anpeiyong 阅读(94) 评论(0) 推荐(0) 编辑

Mysql---表数据逻辑结构
摘要:https://baijiahao.baidu.com/s?id=1598257553176708891&wfr=spider&for=pc 阅读全文

posted @ 2020-10-08 17:27 anpeiyong 阅读(162) 评论(0) 推荐(0) 编辑

Mysql---Optimization
该文被密码保护。

posted @ 2020-10-06 17:31 anpeiyong 阅读(12) 评论(0) 推荐(0) 编辑

Mysql---MySQL Server Administration
摘要:1、The Mysql Server mysqld is the MySQL server. 1.1、Configuring the Server a,查看Mysql Server options and configurable system variables mysqld --verbose 阅读全文

posted @ 2020-10-06 10:11 anpeiyong 阅读(275) 评论(0) 推荐(0) 编辑

Mysql---MySQL 8.0
摘要:1、General Information 1.1、What Is New in MySQL 8.0 Features Added in MySQL 8.0 1.2、MySQL Information Sources MySQL Websites: The primary website for M 阅读全文

posted @ 2020-10-06 09:37 anpeiyong 阅读(90) 评论(0) 推荐(0) 编辑

Mysql---索引命中
摘要:1、假设 test_demo表中有个 复合索引 idx(sex,company,job) 1.1、最左前缀原则 explain select * from test_demo where sex='' and job ='' and company='' 结果:type:ref、key:idx ex 阅读全文

posted @ 2020-09-30 16:14 anpeiyong 阅读(344) 评论(0) 推荐(0) 编辑

Mysql---存储过程
摘要:-- 创建循环存储过程 create procedure pro12() begin declare i int; set i = 0; while i<20000 do insert into test_demo (name, job) values ('jack5', 'job'); set i 阅读全文

posted @ 2020-09-30 10:19 anpeiyong 阅读(163) 评论(0) 推荐(0) 编辑

Mysql---MysqlServer信息
摘要:1、锁信息 show status like '%lock%'; show status like 'innodb_row_lock%'; show OPEN TABLES where In_use > 0; show status like 'table%'; 阅读全文

posted @ 2020-09-30 08:53 anpeiyong 阅读(96) 评论(0) 推荐(0) 编辑

Mysql---MySQL sys Schema
摘要:1、概述 1.1、MySQL 5.7.7及更高版本包括sys schema,这是一组 帮助DBA和开发人员解释Performance schema收集的数据的对象。 用途:sys schema对象可用于典型的调优和诊断用例。 此schema中的对象包括: 将Performance Schema数据汇 阅读全文

posted @ 2020-09-29 10:50 anpeiyong 阅读(153) 评论(0) 推荐(0) 编辑

Mysql---MySQL Performance Schema
摘要:1、概述 1.1、The MySQL Performance Schema is a feature for monitoring MySQL Server execution at a low level. MySQL 5.5开始新增一个数据库:PERFORMANCE_SCHEMA,主要用于收集数 阅读全文

posted @ 2020-09-29 10:49 anpeiyong 阅读(99) 评论(0) 推荐(0) 编辑

Mysql---information_schema
摘要:1、概述 1.1、INFORMATION_SCHEMA provides access to database metadata, information about the MySQL server such as the name of a database or table, the data 阅读全文

posted @ 2020-09-27 14:42 anpeiyong 阅读(117) 评论(0) 推荐(0) 编辑

Mysql---The InnoDB Storage Engine
该文被密码保护。

posted @ 2020-09-11 17:33 anpeiyong 阅读(31) 评论(0) 推荐(0) 编辑

索引---拓展
摘要:中文文档:http://www.deituicms.com/mysql8cn/cn/innodb-storage-engine.html#innodb-indexes 英文文档:https://dev.mysql.com/doc/refman/5.7/en/innodb-next-key-locki 阅读全文

posted @ 2020-09-01 09:30 anpeiyong 阅读(108) 评论(0) 推荐(0) 编辑

关系型数据库---优化器
摘要:1、简介 1.1、优化器 在选择访问路径时,并 不向数据库 发起任何select调用; 基于 工具组件收集的 统计信息(表的大小、表上索引大小、索引列值的分布) 来选择访问路径; 排序问题、不必要的表访问 阅读全文

posted @ 2020-05-26 15:04 anpeiyong 阅读(128) 评论(0) 推荐(0) 编辑

Mysql---Explain之Extra
摘要:1、Using filesort 当Query 中包含 ORDER BY 操作,而且 无法利用索引完成排序操作的时候,MySQL Query Optimizer(优化器) 不得不 选择相应的排序算法来实现。 数据较少时从内存排序,否则从磁盘排序。Explain不会显示的告诉客户端用哪种排序。官方解释 阅读全文

posted @ 2020-05-26 14:16 anpeiyong 阅读(137) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示