注:只是经验值设定,仅供参考。
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. nodejs进阶(2)—函数模块调用

    函数调用 1. 文件内普通函数调用 创建一个js文件命名为2_callFunction.js,其中定义一个函数fun1,向返回对象输出了一段字符串“你好,我是fun1”. //------------ ...

  2. MVC Core 网站开发(Ninesky) 2.1、栏目的前台显示

    上次创建了栏目模型,这次主要做栏目的前台显示.涉及到数据存储层.业务逻辑层和Web层.用到了迁移,更新数据库和注入的一些内容. 一.添加数据存储层 1.添加Ninesky.DataLibrary(与上 ...

  3. javascript之活灵活现的Array

    前言 就如同标题一样,这篇文章将会灵活的运行Array对象的一些方法来实现看上去较复杂的应用. 大家都知道Array实例有这四个方法:push.pop.shift.unshift.大家也都知道 pus ...

  4. 120项改进:开源超级爬虫Hawk 2.0 重磅发布!

    沙漠君在历时半年,修改无数bug,更新一票新功能后,在今天隆重推出最新改进的超级爬虫Hawk 2.0! 啥?你不知道Hawk干吗用的? 这是采集数据的挖掘机,网络猎杀的重狙!半年多以前,沙漠君写了一篇 ...

  5. [C#] C# 知识回顾 - 序列化

    C# 知识回顾 -  序列化 [博主]反骨仔 [原文地址]http://www.cnblogs.com/liqingwen/p/5902005.html 目录 序列化的含义 通过序列化保存对象数据 众 ...

  6. Java compiler level does not match解决方法

    从别的地方导入一个项目的时候,经常会遇到eclipse/Myeclipse报Description  Resource Path Location Type Java compiler level d ...

  7. FILE文件流的中fopen、fread、fseek、fclose的使用

    FILE文件流用于对文件的快速操作,主要的操作函数有fopen.fseek.fread.fclose,在对文件结构比较清楚时使用这几个函数会比较快捷的得到文件中具体位置的数据,提取对我们有用的信息,满 ...

  8. 【代码笔记】iOS-获得当前的月的天数

    一,代码. #import "ViewController.h" @interface ViewController () @end @implementation ViewCon ...

  9. 微信小程序之用户数据解密(七)

    [未经作者本人同意,请勿以任何形式转载] 经常看到有点的小伙伴在群里问小程序用户数据解密流程,所以打算写一篇关于小程序用户敏感数据解密教程: 加密过程微信服务器完成,解密过程在小程序和自身服务器完成, ...

  10. js月份,日期加一天

    js没有直接可以用的函数,所以只能自己写,其中需要涉及到每个月天数的判断,如果是2月份的话,还要涉及到闰年的判断 var addDate = { //日期,在原有日期基础上,增加days天数,默认增加 ...