暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
36_极限性能的王炸-DBIM.pptx
61
48页
3次
2024-06-06
10墨值下载



极限性能的王
Copyright © 2020 Oracle and/or its aliates
1
2
正确
3
4

5
总结
Copyright © 2020 Oracle and/ or its aliates
NAME
CPU used by this session
IM scan (dynamic) multi-threaded
scans IM scan (dynamic) rows
IM scan CUs columns accessed
IM scan CUs memcompress for query
low IM scan rows
IM scan rows projected
session logical reads
session logical reads - IM
session pga memory
table scans (IM)
In-Memory 基于聚合类型全表查
SSB@db19c> select
2 max(lo_ordtotalprice)
most_expensive_order,
3 sum(lo_quantity) total_items
4 from
5 LINEORDER;
MOST EXPENSIVE ORDER TOTAL ITEMS
select max(lo_ordtotalprice) most_expensive_order,
sum(lo_quantity)
total_items from LINEORDER
Plan hash value: 22 6 72 1 3 9 2 1
| Id | Operation | Name | Rows | Bytes | Cost (%CPU) | Time
|
---------------------------------------------------------------------------------- -
------
SYS@db19c1> @./01_im_query_stats .sql
Connected .
SSB@db19c> -- In-Memory Column Store
query
0 | SELECT STATEMENT
|
1 | SORT AGGREGATE
|
2 | TABLE ACCESS INMEMORY
FULL|
55279127 612025456
Elapsed : 00:00:00 .02
6
1
2399660
4
88
44
2399660
4
19
178743
178671
1789513
6
1
---------------------------------------------------------------------------------- -
------
1972
(100)
1972
(8)
9
205M
00:00:0
1
LINEORDE
R
1
23M
VALUE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
of 48
10墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。