当前位置: 首页 > news >正文

重庆主城优化网站建设wordpress 大数据量查询

重庆主城优化网站建设,wordpress 大数据量查询,怎么快速推广自己的二维码,什么网站可以申请做汉语老师LightDB 从23.4 版本开始支持opt_param hint, 用来设置优化器相关的guc参数#xff0c;用法和oracle的opt_param 相同。 设置的参数需要是 LightDB的参数#xff08;不是oracle的参数#xff09;。参数名用单引号括起来字符串型的参数值也需要用单引号括起来作用于整条SQL …LightDB 从23.4 版本开始支持opt_param hint, 用来设置优化器相关的guc参数用法和oracle的opt_param 相同。 设置的参数需要是 LightDB的参数不是oracle的参数。参数名用单引号括起来字符串型的参数值也需要用单引号括起来作用于整条SQL 具体用法参考如下示例 示例 表结构 create table test_opt_param1(key1 int, key2 int, primary key(key1)); create table test_opt_param2(key1 int, key2 int, primary key(key1)); create table test_opt_param3(key1 int, key2 int, primary key(key1));基本用法 EXPLAIN (COSTS false) select * from test_opt_param1 a join test_opt_param2 b on a.key1b.key1;QUERY PLAN -------------------------------------------Hash JoinHash Cond: (a.key1 b.key1)- Seq Scan on test_opt_param1 a- Hash- Seq Scan on test_opt_param2 b (5 rows)EXPLAIN (COSTS false) select/*opt_param(enable_hashjoin, off)*/ * from test_opt_param1 a join test_opt_param2 b on a.key1b.key1; LOG: lt_hint_plan: used hint: opt_param(enable_hashjoin off) not used hint: duplication hint: error hint:QUERY PLAN --------------------------------------------------------------------------Merge JoinMerge Cond: (a.key1 b.key1)- Index Scan using test_opt_param1_pkey on test_opt_param1 a lt#0- Index Scan using test_opt_param2_pkey on test_opt_param2 b lt#0 (4 rows)EXPLAIN (COSTS false) select/*opt_param(enable_hashjoin, false)*/ * from test_opt_param1 a join test_opt_param2 b on a.key1b.key1; LOG: lt_hint_plan: used hint: opt_param(enable_hashjoin false) not used hint: duplication hint: error hint:QUERY PLAN --------------------------------------------------------------------------Merge JoinMerge Cond: (a.key1 b.key1)- Index Scan using test_opt_param1_pkey on test_opt_param1 a lt#0- Index Scan using test_opt_param2_pkey on test_opt_param2 b lt#0 (4 rows)EXPLAIN (COSTS false) select/*opt_param(enable_hashjoin, 0)*/ * from test_opt_param1 a join test_opt_param2 b on a.key1b.key1; LOG: lt_hint_plan: used hint: opt_param(enable_hashjoin 0) not used hint: duplication hint: error hint:QUERY PLAN --------------------------------------------------------------------------Merge JoinMerge Cond: (a.key1 b.key1)- Index Scan using test_opt_param1_pkey on test_opt_param1 a lt#0- Index Scan using test_opt_param2_pkey on test_opt_param2 b lt#0 (4 rows)EXPLAIN (COSTS false) select/*opt_param(enable_hashjoin, 1)*/ * from test_opt_param1 a join test_opt_param2 b on a.key1b.key1; LOG: lt_hint_plan: used hint: opt_param(enable_hashjoin 1) not used hint: duplication hint: error hint:QUERY PLAN ---------------------------------------------------Hash JoinHash Cond: (a.key1 b.key1)- Seq Scan on test_opt_param1 a lt#0- Hash- Seq Scan on test_opt_param2 b lt#0 (5 rows)错误用法 EXPLAIN (COSTS false) select/*opt_param(enable_hashjoin, off)*/ * from test_opt_param1 a join test_opt_param2 b on a.key1b.key1; INFO: lt_hint_plan: hint syntax error at or near opt_param(enable_hashjoin, off) DETAIL: opt_param hint requires parameter name to be enclosed in single quotation marks. LOG: lt_hint_plan: used hint: not used hint: duplication hint: error hint: opt_param(enable_hashjoin off)QUERY PLAN ---------------------------------------------------Hash JoinHash Cond: (a.key1 b.key1)- Seq Scan on test_opt_param1 a lt#0- Hash- Seq Scan on test_opt_param2 b lt#0 (5 rows)EXPLAIN (COSTS false) select/*opt_param(enable_hashjoin, off)*/ * from test_opt_param1 a join test_opt_param2 b on a.key1b.key1; INFO: lt_hint_plan: hint syntax error at or near opt_param(enable_hashjoin, off) DETAIL: opt_param hint requires parameter values that are strings to be enclosed in single quotation mark. LOG: lt_hint_plan: used hint: not used hint: duplication hint: error hint: opt_param(enable_hashjoin off)QUERY PLAN ---------------------------------------------------Hash JoinHash Cond: (a.key1 b.key1)- Seq Scan on test_opt_param1 a lt#0- Hash- Seq Scan on test_opt_param2 b lt#0 (5 rows)
http://wiki.neutronadmin.com/news/457511/

相关文章:

  • 阿里巴巴国际站网页版怎么免费做公司网页
  • 免费自助制作永久网站番禺市桥网站建设
  • 网站开发设计公上海的网络推广
  • 外贸大型门户网站制作广告制作包括哪些项目
  • 网站建站网站626969龙岩
  • 如何攻击Wordpress站点南宁网站建设公司排名
  • 东莞网站制作哪家最便宜自媒体采集网站建设
  • 网站代备案公司烟台做网站价格
  • 做目录右内容网站上海网站排名提升
  • 如何设计网站站点绵阳做手机网站
  • 网站建设一般多少个板块中国纪检监察报理论版
  • 旅游景点网站建设规划书wordpress在线演示
  • 如何做网站搜索功能在线制作简历的网站
  • 什么网站可以做excel表格松江区做网站的公司
  • 网站推广托管杭州拱墅网站建设
  • 网站开发安全需求临沂网站建设微信
  • 阿里云wordpress建站网络安全网站
  • 莆田网站建设平台个人博客系统源码
  • 江苏建设厅网站首页遵义网站制作外包
  • 新七建设集团有限公司网站wordpress视频无法播放器
  • 做网站构架用什么软件大数据平台是什么
  • 深圳网站设计+建设首选深圳市展馆设计效果图图片 展厅
  • c语言 做网站多少钱可以做网站
  • 专业建设网站公司排名市场营销方案怎么做
  • 济南网站建设策划方案百度手机卫士
  • 养生网站设计wordpress全站静太化
  • 企业网站管理系统哪个好怎样做网站关键字
  • 大连做网站 智域做网站代管理三年
  • 个人网站设计与开发想做个小网站怎么做
  • 做通风工程上哪个网站发布wordpress 静止ip访问