当前位置:首页 > 报告详情

Oracle AI 数据库 26ai 优化器有哪些新功能?[LRN1427].pdf

上传人: Fl****zo 编号:970785 2025-11-08 54页 1.87MB

1、 LRN1427Whats New in the Oracle Optimizer?Oracle AI Database 26aiNigel BaylissOptimizer Product ManagerWhats New in the Oracle Optimizer2Copyright 2025,Oracle and/or its affiliates|123456SQL Analysis ReportSQL Diagnostic ReportSQL Plan ManagementAutomatic Error MitigationOptimizer Support for AI Vec

2、tor IndexesOther Optimizer-related EnhancementsSQL Analysis ReportHelping developers write better queriesSQL Analysis ReportingPoorly-formed SQL statements can inadvertently Prevent accurate cardinality estimates(leading to compromised execution plan selection)Prevent the use of optimized access pat

3、hs(such as an index)Missing table joins,leading to Cartesian products(sometimes fixed with SELECT DISTINCT!)Implicit type conversionsProblems like this can be easy to miss Thousand-line SQL statements Many table joins The not so obvious,for example LIKE%mystring%instead of LIKE mystring%4Copyright 2

4、025,Oracle and/or its affiliates|SQL Analysis ReportCopyright 2025,Oracle and/or its affiliates|5select t1.p_category,t2.tpmethod from products t1,products t2where t1.prod_category|_1=SFD_1and t2.method_typ!=SEAunionselect t3.p_category,t4.tpmethodfrom products t3,sources t4where t3.scid=t4.scid and

5、 t4.carrier =AACand t4.s_area =1;The query block has 1 cartesian product which may beexpensive.Consider adding join conditions or removing thedisconnected tables or views.The query block contains UNION which may be expensive.Consider using UNION ALL if duplicates are allowed oruniqueness is guarante

6、ed.The following columns have predicates which preclude theiruse as keys in index range scan.Consider rewriting thepredicates.PROD_CATEGORYThe following columns have predicates which preclude theiruse as keys in index range scan.Consider rewriting thepredicates.METHOD_TYPThe following columns have p

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
根据《What’s New in the Oracle Optimizer》的内容,以下是全文关键点的概括: 1. **SQL Analysis Report**:帮助开发者编写更好的查询,识别并解决SQL语句中的问题,如不正确的基数估计、优化访问路径的使用、缺失的表连接等。 2. **SQL Diagnostic Report**:提供DBMS_SQLDIAG.REPORT_SQL函数,生成SQL语句的HTML深度诊断报告,无需额外安装对象。 3. **SQL Plan Management**:包括计划稳定性、解决SQL性能回归、SQL性能指标、SQL游标缓存、自动SQL调整集(ASTS)等。 4. **自动SQL调整集(ASTS)**:捕获应用SQL语句、执行统计和执行计划,用于诊断SQL性能问题。 5. **自动错误缓解**:自动解决与优化器相关的ORA-600错误,无需手动干预。 6. **AI向量索引支持**:优化器支持AI向量索引,包括HNSW和IVF索引,优化向量搜索性能。 7. **其他优化器增强**:包括按需自动索引、视图和子查询的归约、GROUP BY推入UNION ALL视图、GROUP BY放置增强、PL/SQL函数的动态统计等。 8. **SQL测试用例构建器增强**:提供内部增强,用于实验和重现SQL计划问题。
**AI优化新招?** **SQL性能提升秘籍?** **数据库优化升级指南**
客服
商务合作
小程序
服务号
折叠