优化内部表的性能

Hologres原生引擎(HQE)不支持的函数 建议改写的函数 样例 备注 not in not exists select*from tmp where not exists(select a from tmp1 where a=tmp.a);不涉及。regexp_split_to_table(string text,pattern text)unnest(string_to_...

关联子查询上拉

优化器通常会对带有关联查询的 ANY/IN/EXISTS/NOT EXISTS 子查询尝试上拉,使其能够父查询被共同优化为带有半连接(Semi Join)或反连接(Anti Join)的执行计划,从而提升查询性能。其中,对于 ANY_SUBLINK,如果子查询引用了上一级父...

关联子查询上拉

优化器通常会对带有关联查询的 ANY/IN/EXISTS/NOT EXISTS 子查询尝试上拉,使其能够父查询被共同优化为带有半连接(Semi Join)或反连接(Anti Join)的执行计划,从而提升查询性能。其中,对于 ANY_SUBLINK,如果子查询引用了上一级父...

Hologres SQL语句的常见问题

创建MySQL兼容性插件,需要Superuser执行,一个数据库只需要执行一次即可 create extension if not exists mysql_compatible;设置除以0开关(开启后允许DQL除零容忍)set mysql_compatible.enable=on;报错:remaining connection slots are...

ReplaceSystemDisk-更换操作系统

403 InvalidRegionId.NotSupportEncryptAlgorithm The current region does not support creating encrypted disks with EncryptAlgorithm.-403 InvalidRegionId.NotExists The region not exists.-403 InvalidEncryptAlgorithm The ...

ModifyDBInstanceProxyConfiguration-设置数据库代理

403 ProxyConnectionPersist.NotFound Specified ProxyConnectionPersist is not found.-403 ProxyConnectionPersistParametersInvalid ProxyConnectionPersist parameter out of range.-403 InvalidConfigValue ProxyConnectionPersist ...

ModifyDBInstanceProxyConfiguration-设置数据库代理

403 ProxyConnectionPersist.NotFound Specified ProxyConnectionPersist is not found.-403 ProxyConnectionPersistParametersInvalid ProxyConnectionPersist parameter out of range.-403 InvalidConfigValue ProxyConnectionPersist ...

ModifyDBInstanceProxyConfiguration-设置数据库代理

403 ProxyConnectionPersist.NotFound Specified ProxyConnectionPersist is not found.-403 ProxyConnectionPersistParametersInvalid ProxyConnectionPersist parameter out of range.-403 InvalidConfigValue ProxyConnectionPersist ...

ModifyDBInstanceProxyConfiguration-设置数据库代理

403 ProxyConnectionPersist.NotFound Specified ProxyConnectionPersist is not found.-403 ProxyConnectionPersistParametersInvalid ProxyConnectionPersist parameter out of range.-403 InvalidConfigValue ProxyConnectionPersist ...

ModifyDBInstanceProxyConfiguration-设置数据库代理

403 ProxyConnectionPersist.NotFound Specified ProxyConnectionPersist is not found.-403 ProxyConnectionPersistParametersInvalid ProxyConnectionPersist parameter out of range.-403 InvalidConfigValue ProxyConnectionPersist ...

CreateInstance-创建一台包年包月或者按量付费ECS实例

阿里云入网数据流量免费,InternetMaxBandwidthIn 的值计费无关。InternetChargeType=PayByBandwidth 表示按固定带宽付费,则 InternetMaxBandwidthOut 为所选的固定带宽值。InternetChargeType=PayByTraffic 表示按使用流量付费,则 ...

标准SQL的主要区别及解决方法

IN和NOT IN IN、NOT IN、EXISTS和NOT EXISTS,后面的子查询返回的分区数据量不能超过1000条。解决方案请参见 在执行MaxCompute SQL过程中,使用NOT IN后面接子查询,子查询返回的结果是上万级别的数据量,但当IN和NOT IN后面的子查询返回的...

ModifyParameter-修改实例参数

403 GroupReplicationNotSupport.TableWithoutPrimaryKey Group Replication is not supported because the instance exists table has no primary key.实例存在无主键的表,不支持组复制。403 IncorrectDBInstance The current DB ...

ModifyParameter-修改实例参数

403 GroupReplicationNotSupport.TableWithoutPrimaryKey Group Replication is not supported because the instance exists table has no primary key.实例存在无主键的表,不支持组复制。403 IncorrectDBInstance The current DB ...

ModifyParameter-修改实例参数

403 GroupReplicationNotSupport.TableWithoutPrimaryKey Group Replication is not supported because the instance exists table has no primary key.实例存在无主键的表,不支持组复制。403 IncorrectDBInstance The current DB ...

ModifyParameter-修改实例参数

403 GroupReplicationNotSupport.TableWithoutPrimaryKey Group Replication is not supported because the instance exists table has no primary key.实例存在无主键的表,不支持组复制。403 IncorrectDBInstance The current DB ...

ModifyParameter-修改实例参数

403 GroupReplicationNotSupport.TableWithoutPrimaryKey Group Replication is not supported because the instance exists table has no primary key.实例存在无主键的表,不支持组复制。403 IncorrectDBInstance The current DB ...

建表概述

推荐优先使用 CREATE TABLE WITH 语法,针对特定场景,如频繁创建已存在的表(CREATE TABLE IF NOT EXISTS)并设置表属性时,可以显著提升DDL性能。V2.1版本起支持的语法:BEGIN;CREATE TABLE[IF NOT EXISTS][schema_name.]table_name([{ ...

RunInstances-创建一台或多台按量付费或者包年包月ECS...

CreateInstance 对比差异:和 CreateInstance 接口相比,RunInstances 接口有以下优点:单次最多可以创建 100 台实例,避免重复多次调用 CreateInstance。实例创建之后,实例会自动变成 Starting 状态,然后变成 Running 状态,不需要再...

CreateGadInstanceMember-创建Gad实例成员

400 CreateGlobalActiveDatabaseFailed.GadInstanceNotExists gad instance not exists,please create GAD!400 CreateGlobalActiveDatabase.GadInstanceNotFound gad instance not Found-400 CreateGlobalActiveDatabase....

CreateGadInstanceMember-创建Gad实例成员

400 CreateGlobalActiveDatabaseFailed.GadInstanceNotExists gad instance not exists,please create GAD!400 CreateGlobalActiveDatabase.GadInstanceNotFound gad instance not Found-400 CreateGlobalActiveDatabase....

DescribeAvailableResource-查询某一可用区的资源列表

404 Unavailable.Regions The available regions does not exists 地域参数无效。404 Invalid.ResourceType The ResourceType provided does not exist in our records.资源类型无效。404 Invalid.DestinationResource The specified ...

不兼容SQL重写

如果目标表已经存在,旧版MaxCompute不会做任何语法检查,MaxCompute 2.0则会做正常的语法检查,这种情况会出现很多错误信息,示例如下:错误写法:create table if not exists table_name as select*from not_exist_table;报错信息:...

CreateGADInstance-创建GAD实例

400 CreateGlobalActiveDatabaseFailed.GadInstanceNotExists gad instance not exists,please create GAD!400 CreateGlobalActiveDatabase.GadInstanceNotFound gad instance not Found-400 CreateGlobalActiveDatabase....

CreateGADInstance-创建GAD实例

400 CreateGlobalActiveDatabaseFailed.GadInstanceNotExists gad instance not exists,please create GAD!400 CreateGlobalActiveDatabase.GadInstanceNotFound gad instance not Found-400 CreateGlobalActiveDatabase....

2023年

GANOS时空引擎扩展 诊断与优化 诊断与优化功能在诊断数据膨胀、数据倾斜和索引时,会根据情况采用统计信息来减少诊断耗时。数据膨胀、倾斜与索引统计 SQL优化器 AnalyticDB PostgreSQL版 将join_collapse_limit参数默认值调整至10,从而...

配置SQL审核优化建议

检测点 无 优化主键为 int 类型的表:OPTIMIZE_PRIMARY_IS_INT_TABLE 预警自增主键剩余可用空间风险:SNIFFING_AUTO_PRIMARY_REMAIN_SPACE 预警唯一索引(uk)null 值风险:SNIFFING_UNIQUE_EXIST_NULL_RISK DDL锁表或变更失败预警与优化:...

使用存储过程将数据导入Hologres内部表(Beta)

MaxCompute公共数据集的表DDL CREATE TABLE IF NOT EXISTS public_data.customer(c_customer_sk BIGINT,c_customer_id STRING,c_current_cdemo_sk BIGINT,c_current_hdemo_sk BIGINT,c_current_addr_sk BIGINT,c_first_shipto_date_sk ...

错误码表(2.0版)

18046 There are xxx sub partition number in definition,which is not in the valid range:x to x 二级分区数超过上限,请修改,或进一步联系技术支持。18047 Invalid default value for xxx 列定义中的默认值表达式非法,请修改。18048 ...

CreateMigrateTask-创建上云迁移任务

400 EntityNotExist.Role The role not exists 角色不存在 400 DatabaseMustOnline Database must be taken online when task type is 0 or 1.当任务类型为0或1时,数据库必须联机。400 InvalideStatus Parent migrate task status is ...

CreateMigrateTask-创建上云迁移任务

400 EntityNotExist.Role The role not exists 角色不存在 400 DatabaseMustOnline Database must be taken online when task type is 0 or 1.当任务类型为0或1时,数据库必须联机。400 InvalideStatus Parent migrate task status is ...

自助健康检查常用命令

列出所有没有设置Distribution Key的表 select distinct table_namespace as schema,table_name as tables from hologres.hg_table_properties a where property_key='storage_format' and not exists(select 1 from hologres.hg_table_...

创建Custom Container函数

Layer already exists 0fb36a16ab83:Layer already exists dd966b9fd474:Layer already exists a1915d7a1111:Layer already exists c4491b3ee709:Layer already exists 9fb10d900487:Layer already exists 3e207b409db3:Layer already ...

错误码

NAME PXC-9305 ERR_PARTITION_NAME_NOT_EXISTS PXC-10004 ERR_X_PROTOCOL_RESULT PXC-1305 ERR_UNKNOWN_SAVEPOINT 描述:指定名称的SAVEPOINT不存在。示例:ERR-CODE:[PXC-1305][ERR_UNKNOWN_SAVEPOINT]SAVEPOINT*does not exist 说明:在 ...

ModifyDBInstanceHAConfig-修改实例的高可用模式和...

403 GroupReplicationNotSupport.TableWithoutPrimaryKey Group Replication is not supported because the instance exists table has no primary key.实例存在无主键的表,不支持组复制。403 OrderStatus.UnPaid The specified db ...

ModifyDBInstanceHAConfig-修改实例的高可用模式和...

403 GroupReplicationNotSupport.TableWithoutPrimaryKey Group Replication is not supported because the instance exists table has no primary key.实例存在无主键的表,不支持组复制。403 OrderStatus.UnPaid The specified db ...

ModifyDBInstanceHAConfig-修改实例的高可用模式和...

403 GroupReplicationNotSupport.TableWithoutPrimaryKey Group Replication is not supported because the instance exists table has no primary key.实例存在无主键的表,不支持组复制。403 OrderStatus.UnPaid The specified db ...

子查询(SUBQUERY)

MaxCompute支持的子查询包含如下几种:基础子查询 IN SUBQUERY NOT IN SUBQUERY EXISTS SUBQUERY NOT EXISTS SUBQUERY SCALAR SUBQUERY 示例数据 为便于理解,本文为您提供源数据,基于源数据提供相关示例。创建表sale_detail,并添加数据...

使用EXPLAIN查看并行计划

本文介绍如何使用EXPLAIN语句查看执行计划输出中并行查询相关的内容。查询用表 本文示例中使用 pq_test 表进行并行查询测试。表结构如下:SHOW CREATE TABLE pq_test\G*1.row*Table:pq_test Create Table:CREATE TABLE `pq_test`(`id` ...

424错误

MD5 in header()is not equal to MD5 calculated 问题原因:回源文件的MD5值Content-MD5值不匹配,OSS不保存回源文件。解决方案:请检查是否因源站服务和网络通讯异常,导致了回源文件的MD5值Content-MD5值不匹配。The object you ...
共有200条 < 1 2 3 4 ... 200 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储 物联网平台
新人特惠 爆款特惠 最新活动 免费试用