注:只是经验值设定,仅供参考。
RHEL 6.2 CPU 24  Memory 128G  8节点
1.keep more event logs for dc_tuple_mover_events.

select SET_DATA_COLLECTOR_POLICY('TupleMoverEvents', '1000', '100000');
default: 1000KB kept in memory, 10000KB kept on disk.
2.keep more event logs for dc_errors.

select SET_DATA_COLLECTOR_POLICY('Errors', '1000', '100000');
default: 1000KB kept in memory, 10000KB kept on disk.

3.PARAMETER MaxClientSessions: for concurrent queries and data loading jobs

select set_config_parameter('MaxClientSessions', 500);
 
4.avoid "too many ROS container..."
4.1

select set_config_parameter('ActivePartitionCount', 1);
-- default: 1
4.2

select set_config_parameter('MoveOutInterval', 1800);
-- default: 300
4.3

select set_config_parameter('MoveOutMaxAgeTime', 1800);
-- default: 1800
4.4

select set_config_parameter('MoveOutSizePct', 95);
-- default: 0
4.5

select set_config_parameter('MergeOutInterval', 300);
--default: 600
4.6

select set_config_parameter('ContainersPerProjectionLimit', 102400);
--default: 1024

5.for extension

select ENABLE_LOCAL_SEGMENTS();

---- 24->32, default: 4

select SET_SCALING_FACTOR(4);

6.for loading

select set_config_parameter('MaxDesiredEEBlockSize',33554432);
default: 8388608.
Maximum desired size of an EE block (used to move tuples between operators), actual block size be larger (must have capacity for at least 2 rows)
 
7.

SELECT SET_CONFIG_PARAMETER('ParallelizeLocalSegmentLoad', '1');
default: 1 .If true use a DT per local segment, even when sorting

8.RESOURCE POOL general:

alter resource pool general priority 2 plannedconcurrency 12 maxconcurrency 10 queuetimeout 600;

9.RESOURCE POOL load_pool:

alter resource pool load_pool priority 2 runtimepriority MEDIUM plannedconcurrency 12 maxconcurrency 5 queuetimeout NONE;

-- set session resource_pool=load_pool;

10.RESOURCE POOL app_pool:

alter resource pool app_pool priority 2 plannedconcurrency 12 maxconcurrency 10 queuetimeout 600;
alter resource pool app_pool queuetimeout 1200;
 
11.RESOURCE POOL web_pool:

alter resource pool web_pool priority 100 memorysize '5G' maxmemorysize '10G' plannedconcurrency 12 maxconcurrency 10 queuetimeout 600;
alter resource pool web_pool priority 100 memorysize '5G' maxmemorysize '10G';
 
12.RESOURCE POOL wosdata

alter resource pool wosdata memorysize '24G' maxmemorysize '24G';
 
13.alter resource pool tm memorysize default maxconcurrency 4;

alter resource pool tm memorysize '1G' plannedconcurrency 3 maxconcurrency 4;

14.view modified parameters

select node_name, parameter_name, current_value, default_value from configuration_parameters where current_value <> default_value order by 2, 1;

/*
node_name |        parameter_name        | current_value | default_value
-----------+------------------------------+---------------+---------------
ALL       | ContainersPerProjectionLimit | 102400        | 1024
ALL       | MaxClientSessions            | 500           | 50
ALL       | MaxDesiredEEBlockSize        | 33554432      | 8388608
ALL       | MergeOutInterval             | 300           | 600
ALL       | MoveOutInterval              | 1800          | 300
(5 rows)
*/

 
15.elastic_cluster

select * from elastic_cluster;
 
16.view user-defined pools

select * from resource_pools
where name not in (select name from resource_pool_defaults);

/*
      pool_id      |   name    | is_internal | memorysize | maxmemorysize | executionparallelism | priority | runtimepriority | runtimeprioritythreshold | queuetimeout | plannedconcurrency | maxconcurrency | runtimecap | singleinitiator
-------------------+-----------+-------------+------------+---------------+----------------------+----------+-----------------+--------------------------+--------------+--------------------+----------------+------------+-----------------
      pool_id      |   name    | is_internal | memorysize | maxmemorysize | executionparallelism | priority | runtimepriority | runtimeprioritythreshold | queuetimeout | plannedconcurrency | maxconcurrency | runtimecap | singleinitiator
-------------------+-----------+-------------+------------+---------------+----------------------+----------+-----------------+--------------------------+--------------+--------------------+----------------+------------+-----------------
45035996517090874 | load_pool | f           | 0%         |               | AUTO                 |        2 | MEDIUM          |                        2 |           -1 | 12                 |              5 |            | f
45035997831587844 | app_pool  | f           | 0%         |               | AUTO                 |        2 | MEDIUM          |                        2 |          600 | 12                 |             10 |            | f
58546795771314766 | web_pool  | f           | 1G         | 5G            | AUTO                 |        5 | MEDIUM          |                        2 |          300 | 10                 |             12 |            | f
(3 rows)
*/

 
17.view the current config of the modified pools

select c.* from resource_pools c, resource_pool_defaults d
where c.name=d.name
and (
c.memorysize::varchar <> d.memorysize::varchar
or c.maxmemorysize::varchar <> d.maxmemorysize::varchar
or c.executionparallelism::varchar <> d.executionparallelism::varchar
or c.priority::varchar <> d.priority::varchar
or c.runtimepriority::varchar <> d.runtimepriority::varchar
or c.runtimeprioritythreshold::varchar <> d.runtimeprioritythreshold::varchar
or c.queuetimeout::varchar <> d.queuetimeout::varchar
or c.runtimecap::varchar <> d.runtimecap::varchar
or c.plannedconcurrency::varchar <> d.plannedconcurrency::varchar
or c.maxconcurrency::varchar <> d.maxconcurrency::varchar
or c.singleinitiator::varchar <> d.singleinitiator::varchar
);

/*
      pool_id      |  name   | is_internal | memorysize | maxmemorysize | executionparallelism | priority | runtimepriority | runtimeprioritythreshold | queuetimeout | plannedconcurrency | maxconcurrency | runtimecap | singleinitiator
-------------------+---------+-------------+------------+---------------+----------------------+----------+-----------------+--------------------------+--------------+--------------------+----------------+------------+-----------------
45035996273718910 | general | t           |            | Special: 95%  | AUTO                 |        2 | MEDIUM          |                        2 |          600 | 12                 |             10 |            | f
45035996273718920 | refresh | t           | 4G         |               | AUTO                 |       10 | HIGH            |                       60 |          300 | 8                  |              8 |            | t
45035996273718918 | tm      | t           | 1G         |               | AUTO                 |      105 | MEDIUM          |                       60 |          300 | 3                  |              4 |            | t
45035996273718916 | wosdata | t           | 24G        | 24G           |                      |          |                 |                          |              | AUTO               |                |            |
(4 rows)
*/

 
18.view the default config of the modified pools

select d.* from resource_pools c, resource_pool_defaults d
where c.name=d.name
and (
c.memorysize::varchar <> d.memorysize::varchar
or c.maxmemorysize::varchar <> d.maxmemorysize::varchar
or c.executionparallelism::varchar <> d.executionparallelism::varchar
or c.priority::varchar <> d.priority::varchar
or c.runtimepriority::varchar <> d.runtimepriority::varchar
or c.runtimeprioritythreshold::varchar <> d.runtimeprioritythreshold::varchar
or c.queuetimeout::varchar <> d.queuetimeout::varchar
or c.runtimecap::varchar <> d.runtimecap::varchar
or c.plannedconcurrency::varchar <> d.plannedconcurrency::varchar
or c.maxconcurrency::varchar <> d.maxconcurrency::varchar
or c.singleinitiator::varchar <> d.singleinitiator::varchar
);

/*
      pool_id      |  name   | memorysize | maxmemorysize | executionparallelism | priority | runtimepriority | runtimeprioritythreshold | queuetimeout | runtimecap | plannedconcurrency | maxconcurrency | singleinitiator
-------------------+---------+------------+---------------+----------------------+----------+-----------------+--------------------------+--------------+------------+--------------------+----------------+-----------------
45035996273718910 | general |            | Special: 95%  | AUTO                 |        0 | MEDIUM          |                        2 |          300 |            | AUTO               |                | f
45035996273718920 | refresh | 0%         |               | AUTO                 |      -10 | MEDIUM          |                       60 |          300 |            | AUTO               |                | t
45035996273718918 | tm      | 200M       |               | AUTO                 |      105 | MEDIUM          |                       60 |          300 |            | AUTO               |              3 | t
45035996273718916 | wosdata | 0%         | 2G            |                      |          |                 |                          |              |            | AUTO               |                |
(4 rows)

*/

Vertica参数的设置的更多相关文章

  1. in_array 的第三个参数strict设置为 true

    var_dump(in_array(0, array('s' )); 这句话的结果是bool(true). 因为in_array会将0 和's' 进行比较,0是number类型,'s'是string类 ...

  2. 如何把in_array 的第三个参数strict设置为 true

    var_dump(in_array(0, array('s' )); 这句话的结果是bool(true). 因为in_array会将0 和's' 进行比较,0是number类型,'s'是string类 ...

  3. web.xml中servlet初始化参数的设置

    <context-param><param-name>param1</param-name><param-value>value1</param- ...

  4. 关于MySql链接url参数的设置

    jdbc.driverClassName=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://localhost:3306/database?useUnicode=t ...

  5. [Oracle][Standby][PDB]在PDB中修改参数,设置范围为 SPFILE,报 ORA-65099错误

    [Oracle][Standby][PDB]在PDB中修改参数,设置范围为 SPFILE,报 ORA-65099错误 在Data Gaurd 的 Standby (或 CDB 是 Read Only ...

  6. 内核参数SEMMSL SEMMNS SEMOPM SEMMNI参数的设置

    内核参数SEMMSL SEMMNS SEMOPM SEMMNI参数的设置  转自:http://www.dbafree.net/?p=92   这四个参数自己一直没搞清楚 今天问了下同事,大概整了一下 ...

  7. LoadRunner中参数的设置

    LoadRunner中参数的设置 参数个数:10个 tester1.tester2.tester3…tester10 迭代次数:2次 场景设置(一):Sequential+Each Iteration ...

  8. javabean 参数收集 设置属性 设置不同级别的域对象的属性 默认存储在pagecontext中

    javabean 参数收集  设置属性 设置不同级别的域对象的属性  默认存储在pagecontext中

  9. setCharacterEncoding 是在request.getParameter获取参数之前 设置request的编码格式 一步到位

    setCharacterEncoding 是在request.getParameter获取参数之前 设置request的编码格式 一步到位

随机推荐

  1. HTML kbd键盘元素

    1. 说明 kbd :即Keyboard Input Element(键盘输入元素).表示键盘按键的语义元素,常用于网页上对快捷键.按键说明的场景. 样式规格:内联样式. 为了在页面上突出显示,可以给 ...

  2. CodeSimth - .Net Framework Data Provider 可能没有安装。解决方法

    今天想使用CodeSimth生成一个sqlite数据库的模板.当添加添加数据库的时候发现: .Net Framework Data Provider 可能没有安装. 下面找到官方的文档说明: SQLi ...

  3. python 入门笔记

    1.pip包安装 pip install *** pip 中http和https代理设置(/etc/profile) 2.强制保存 :w !sudo tee % 3.cffi是python调用C的包 ...

  4. 使用Expression实现数据的任意字段过滤(1)

    在项目常常要和数据表格打交道. 现在BS的通常做法都是前端用一个js的Grid控件, 然后通过ajax的方式从后台加载数据, 然后将数据和Grid绑定. 数据往往不是一页可以显示完的, 所以要加分页: ...

  5. hibernate的基本xml文件配置

    需要导入基本的包hibernate下的bin下的required和同bin下optional里的c3p0包下的所有jar文件,当然要导入mysql的驱动包了.下面需要注意的是hibernate的版本就 ...

  6. 我的屌丝giser成长记-工作篇之B公司

    从A公司跳槽到B公司,岗位还是webgis开发方向,但是具体实现的技术完全变了,从flex转换js,这也是我要离开A公司的最重要的原意之一:A公司的arcgis for flex框架采用了flexvi ...

  7. 为什么 Android Studio 工程文件夹占用空间这么大?我们来给它减减肥

    偶然中发现Android Studio的工程文件夹比ADT Bundle的大很多.用Android Studio新建一个空工程,工程文件夹大小为30M,运行一次后大小为40M.同样用ADT Bundl ...

  8. babel-loader-presets

    babel-loader的presets的设置有一定的顺序.es2015必须出现在stage-0前面,我记得这是因为es2015是ES6的标准,state-0等是对ES7一些提案的支持, state- ...

  9. 【流量劫持】SSLStrip 终极版 —— location 瞒天过海

    前言 之前介绍了 HTTPS 前端劫持 的方案,虽然很有趣,然而现实却并不理想.其唯一.也是最大的缺陷,就是无法阻止脚本跳转.若是没有这个缺陷,那就非常完美了 -- 当然也就没有必要写这篇文章了. 说 ...

  10. DIP原则、IoC以及DI

    一.DIP原则 高层模块不应该依赖于底层模块,二者都应该依赖于抽象. 抽象不应该依赖于细节,细节应该依赖于抽象. 该原则理解起来稍微有点抽象,我们可以将该原则通俗的理解为:"依赖于抽象&qu ...