当前位置:网站首页>Oracle collects statistics
Oracle collects statistics
2022-06-11 02:10:00 【Drunken Xiaobai】
show parameter cpu
begin
dbms_stats.gather_database_stats(
estimate_percent=>dbms_stats.auto_sample_size,
method_opt=>'for all columns size AUTO',
degree=>32,
cascade=>true,
no_invalidate=>false
);
end;
/
estimate_percent: Percentage of sampled rows , Value range [0.000001,100],null For all analysis , No sampling . Constant :DBMS_STATS.AUTO_SAMPLE_SIZE Is the default value , from oracle Determine the best sampling value .
cascade: Whether to collect information about the index , The default is FALSE.
no_invalidate:true: Indicates no cursor invalidation action , The original shared cursor Keep it as it is ;false: Denotes all... That relate the statistic object cursor All the failure ;auto_invalidate:Oracle Their own decisions shared cursor Failure action .
SYS.DBMS_STATS.gather_database_stats

Parallel collection is not recommended , This mechanism will cause too many active sessions in the database , And cause severe load pressure on the database . In addition, attention shall be paid during collection dgree The value of the parameter .
exec dbms_stats.set_global_prefs('CONCURRENT','FALSE');
边栏推荐
- [traitement d'image] système multifonctionnel de traitement d'image basé sur l'interface graphique MATLAB [y compris le code source MATLAB 1876]
- Win11画图工具没了怎么重新安装
- 【MATLAB】图像增强(幂次变换、直方图规定化处理方法、平滑、锐化滤波)
- Sequence table exercises
- 软件测试面试复盘:技术面没有难倒我,hr面却是一把挂
- Wrong question (character array)
- [leetcode] ordered linked list transformation binary search tree
- [leetcode] path sum II (first glimpse recursion + backtracking)
- Clip paper details
- 双面材质【double sided】的Shader
猜你喜欢

爱思唯尔---Elseviewer---预印本在线发表通知

软测人都该知道的七大原则

Today's sleep quality record 80 points
![[traffic sign recognition] Based on Matlab GUI YCbCr feature extraction +bp neural network traffic sign recognition [including Matlab source code 1869]](/img/66/3f7134298e7e9a7fbf9b0c99dafb2a.jpg)
[traffic sign recognition] Based on Matlab GUI YCbCr feature extraction +bp neural network traffic sign recognition [including Matlab source code 1869]
![[leetcode] flat multi-level bidirectional linked list](/img/7b/1631162f11a05e9323dd544fee6045.jpg)
[leetcode] flat multi-level bidirectional linked list

QT database learning notes (I) basic concepts of database

Task01: be familiar with the basic process of news recommendation system
![[winning] Title A of the 9th Teddy Cup Challenge](/img/86/8445c4ac47d4fa7630544984fa0c58.jpg)
[winning] Title A of the 9th Teddy Cup Challenge

1个月不到暴增900万播放量,B站3个流量增长密码!
![[leetcode] ordered linked list transformation binary search tree](/img/9f/86e819beb8dc678d79c3e307891402.jpg)
[leetcode] ordered linked list transformation binary search tree
随机推荐
【音乐】基于matlab演奏《青花瓷》【含Matlab源码 1873期】
Flutter status management
[linked list] find the midpoint of the linked list and deepen the understanding and Application
[matlab] image compression coding (DCT, RLE)
QT database learning notes (II) QT operation SQLite database
Contest2902 - following Tang Kelian's programming: sequence structure question d: area 201502 question f: persistence of supporting college students in Ludian earthquake
QT database learning notes (I) basic concepts of database
Project sorting of Online Exercise System Based on gin and Gorm
Dialog alertdialog, simpledialog, showmodalbottomsheet, showtoast shutter custom dialog
【MATLAB】图像变换(傅里叶变换、离散余弦变换)
Task06: bit operation
QT widget's simple serial port assistant (qserialport)
Start with interpreting the code automatically generated by BDC, and explain the trial version of the program components of sapgui
[matlab] image enhancement (power transformation, histogram specification processing method, smoothing and sharpening filtering)
Video compression data set TVD
【交通标志识别】基于matlab GUI YCbCr特征提取+BP神经网络交通标志识别【含Matlab源码 1869期】
In May, the main growth ranking list (platform of station B) of the single flying melon data up was released
浅析直播间海量聊天消息的架构设计难点
Virtual joystick of QT quick QML instance
InfoQ 极客传媒 15 周年庆征文|容器运行时技术深度剖析