表示 进入内容 81 去 90 的 628 « 先前的 10 新的记录 | 下一步 10 较早的记录 » Displaying posts with tag: CTO (reset) Nov 22 2017 mysql查询优化-Show命令 Posted by mysql-云栖社区 on Wed 22 Nov 2017 08:38 UTC Tags: sql, Blog, innodb, shell, variables, MySQL, CTO, 存储, 查询优化 mysql查询优化-Show命令 Show命令 我们可以通过show命令查看MySQL状态及变量,找到系统的瓶颈: Mysql> show status ——显示状态信息(扩展show status like ‘XXX’) Mysql> show variables ——显示系统变量(扩展sh... 【mysql】 【innodb】 【SQL】 【shell】 【variables】 【查询优化】 …[获取更多] Nov 22 2017 Linux网络工程师资料集--2014-11-25 Posted by mysql-云栖社区 on Wed 22 Nov 2017 07:28 UTC Tags: html, Linux, MySQL, CTO, 配置, 服务器, 性能优化, 安全, 监控, 集群, 企业应用, 培训 一、Linux系统管理与网络服务 1、Ubuntu Linux 基础视频教程 http://www.***/down.php?id=756 Linux专题视频讲座(ubuntu8.04) http://pan. 【linux】 【安全】 【监控】 【性能优化】 【服务器】 【mysql】 【配置】 【集群】 …[获取更多] Nov 22 2017 mysql 性能参数 innodb_flush_log_at_trx_commit Posted by mysql-云栖社区 on Wed 22 Nov 2017 07:23 UTC Tags: Blog, flash, variables, commit, MySQL, CTO, 日志, 性能, 安全, 磁盘 每次innodb_flush_log_at_trx_commit 这个参数的几个值表示的意思老是记不清,现在整理下来,方便查看。 0 --- 每秒把Logbuffer的内容写到日志文件,并且Flash到磁盘。 【安全】 【mysql】 【性能】 【日志】 【variables】 【磁盘】 【Commit】 …[获取更多] Nov 22 2017 Mysql删除数据报外键约束解决方法 Posted by mysql-云栖社区 on Wed 22 Nov 2017 07:14 UTC Tags: sql, Blog, MySQL, CTO 当在Mysql下删除有一个建有外键的表的数据时可能会报此异常,所以可以启动MySql命令行模式,运行如下的sql语句来关闭外键检测: SET FOREIGN_KEY_CHECKS = 0; 执行你要的操作后把再把外键检测恢复 SET FOREIGN_KEY_CHECKS = 1 本文转自 暗黑魔君 51CTO博客,原文链接:http://blog. 【mysql】 【SQL】 【cto】 【Blog】 点击查看原文> Nov 22 2017 查看nginx apache mysql php原始编译 Posted by mysql-云栖社区 on Wed 22 Nov 2017 06:57 UTC Tags: PHP, Blog, Apache, Nginx, MySQL, CTO 查看nginx apache mysql php原始编译查看nginx编译参数:/usr/local/nginx/sbin/nginx -V查看apache编译参数:cat /usr/local/apache/build/config. 【nginx】 【php】 【mysql】 【Apache】 【cto】 【Blog】 点击查看原文> Nov 22 2017 mysql varchar类型转换int类型 Posted by mysql-云栖社区 on Wed 22 Nov 2017 06:53 UTC Tags: Blog, varchar, by, MySQL, CTO select * from gyzd_yysinfo order by cast(yysid as SIGNED INTEGER) 或者 select * from gyzd_yysinfo order by cast(yysid as UNSIGNED INTEGER) 本文转自yunlielai51CTO博客,原文链接:http://blog. 【mysql】 【BY】 【varchar】 【cto】 【Blog】 点击查看原文> Nov 22 2017 mysql 查询表死锁 和结束死锁的表步骤 Posted by mysql-云栖社区 on Wed 22 Nov 2017 06:51 UTC Tags: Blog, open, MySQL, CTO 1、查询是否锁表 show OPEN TABLES where In_use > 0; 2、查询进程 show processlist 查询到相对应的进程===然后 kill id 补充: 查看正在锁的事务 SELECT * FROM INFORMATION_SCHEMA. 【mysql】 【open】 【cto】 【Blog】 点击查看原文> Nov 22 2017 mysql 优化语句 Posted by mysql-云栖社区 on Wed 22 Nov 2017 06:37 UTC Tags: Blog, TYPE, MySQL, CTO 优化前: 1 2 select b.type, ifnull(count(0),0) as qty from b_sell_quotationd a,b_sell_quotation b where b. 【mysql】 【type】 【cto】 【Blog】 点击查看原文> Nov 22 2017 SQL的sum()函数总结 Posted by mysql-云栖社区 on Wed 22 Nov 2017 05:55 UTC Tags: sql, Blog, MySQL, CTO, create, 测试, 函数, 脚本 通过对mysql、db2的测试发现 在用sum求对列求和的时候,得出结论: 1+null=1 null+null=null; 0+null=0; ------------- 下面是db2的测试脚本: drop table ttt; create table ttt( m integer... 【mysql】 【函数】 【SQL】 【测试】 【脚本】 【Create】 【cto】 …[获取更多] Nov 22 2017 Mysql 备份时排除某些表 Posted by mysql-云栖社区 on Wed 22 Nov 2017 05:36 UTC Tags: sql, Blog, MySQL, CTO, 数据库, 日志, 脚本 由于数据库里面有几个日志表非常大,而日志信息重要性不大,所以需要在备份时排除这几个表,加快备份的时间,我对数据库也不太熟悉,暂时只知道两种办法: 一、把数据表单独备份 写脚本先获取所有的表,然后排除不需备份的表,再用for循环进行单表备份: #!/bin/bash i=`mysql -u... 【mysql】 【SQL】 【日志】 【数据库】 【脚本】 …[获取更多] 表示 进入内容 81 去 90 的 628 « 先前的 10 新的记录 | 下一步 10 较早的记录 » Oracle MySQL Blogs Oracle's MySQL Blog (37) MySQL 其他链接 MySQL Downloads MySQL Docs MySQL Bugs MySQL Forums