码迷,mamicode.com
首页 >  
搜索关键字:explain plan for    ( 3144个结果
MySQL 灵异事件一则 -- desc报语法错误
今天有一开发同学找到我,说查询SQL中倒序报错,不明原因,于是奔赴工位现场研究情况。果然,只要SQL中带有desc 就会报错,而ASC没问题。 哪怕desc放在句首用作explain也会报错。报错信息为语法错误...检查了sql-mode发现是空,看来不是这个原因,那问题出在哪呢?测试库的环境是保存...
分类:数据库   时间:2014-08-04 13:51:27    阅读次数:266
MongoDB权威指南学习笔记5---索引相关的知识点
1 查看查询计划 db.user.find({"username":"xxx"}) .explain() db.doc.find({"es_y":"2014"}).explain() { ?"cursor" : "BasicCursor", ?"isMultiKey" : false, ?"n" : 0, ?"nscannedObjects" : 1, ?"nscann...
分类:数据库   时间:2014-08-03 12:56:45    阅读次数:268
SQL常见的可优化点
– 查询(或更新,删除,可以转换为查询)没有用到索引 这是最基础的步骤,需要对sql执行explain查看执行计划中是否用到了索引,需要重点关注type=ALL, key=NULL的字段。 – 在索引字段上施加函数 to_char(gmt_created, ‘mmdd’) = ...
分类:数据库   时间:2014-08-02 20:40:24    阅读次数:282
退役笔记一#MySQL = lambda sql : sql + ' Source Code 4 Explain Plan '
Mysql 查询运行过程 大致分为4个阶段吧:语法分析(sql_parse.cc)>>sql_resolver.cc # JOIN.prepare生成逻辑查询plan(sql_optimizer.cc)>># JOIN.optimize生成物理查询plan(sql_planner.cc)run th...
分类:数据库   时间:2014-08-02 12:28:33    阅读次数:239
[LeetCode] Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example, "A man, a plan, a canal: Pan...
分类:其他好文   时间:2014-08-01 22:31:42    阅读次数:208
Jenkins iOS – Git, xcodebuild, TestFlight
Introduction with Jenkins iOSIf you are new to continuous integration for mobile platforms then you are in the right place. This article will explain ...
分类:移动开发   时间:2014-08-01 15:51:01    阅读次数:538
Valid Palindrome leetcode java
题目:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: ....
分类:编程语言   时间:2014-08-01 10:27:11    阅读次数:310
Six important .NET concepts 【Turn】
IntroductionThis article will explain six important concepts: stack, heap, value types, reference types, boxing, and unboxing. This article starts exp...
分类:Web程序   时间:2014-07-31 23:10:30    阅读次数:397
Oracle Multitenant Environment (三) Plan for a cdb
Below tables contains contant you need to consider while planning for a CDB.ActionConsiderations for a CDBAdditional InformationPlan the tables and in...
分类:数据库   时间:2014-07-31 20:06:07    阅读次数:401
Spark SQL Catalyst源码分析之Physical Plan 到 RDD的具体实现
Spark SQL 物理计划到 RDD 的计算过程实现。...
分类:数据库   时间:2014-07-29 22:08:02    阅读次数:656
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!