注:只是经验值设定,仅供参考。
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. 微软发布正式版SQL Server 2016

    微软于今天在SQL 官方博客上宣布 SQL Server 数据库软件的正式发布版本(GA),历时一年多,微软为该软件发布了多个公共预览版和候选版本,而今天最终版本终于上线了.在博客中,微软数据集团的企 ...

  2. Concepts:Request 和 Task

    当SQL Server Engine 接收到Session发出的Request时,SQL Server OS将Request和Task绑定,并为Task分配一个Workder.在TSQL Query执 ...

  3. 在 Laravel 中使用图片处理库 Integration/Image

    系统需求 PHP >= 5.3 Fileinfo Extension GD Library (>=2.0) … or … Imagick PHP extension (>=6.5.7 ...

  4. 46张PPT讲述JVM体系结构、GC算法和调优

    本PPT从JVM体系结构概述.GC算法.Hotspot内存管理.Hotspot垃圾回收器.调优和监控工具六大方面进行讲述.(内嵌iframe,建议使用电脑浏览) 好东西当然要分享,PPT已上传可供下载 ...

  5. Kooboo CMS技术文档之四:Kooboo CMS的站点组成部分

    Kooboo CMS本着功能独立分离的原则,将站点分为三部分组成:用户管理,站点管理和内容数据库管理.各个功能之间既可独立使用,也可以容易组成在一起形成一个完整的系统. 用户管理 管理整个系统内的用户 ...

  6. .NET设计模式访问者模式

    一.访问者模式的定义: 表示一个作用于某对象结构中的各元素的操作.它使你可以在不改变各元素类的前提下定义作用于这些元素的新操作. 二.访问者模式的结构和角色: 1.Visitor 抽象访问者角色,为该 ...

  7. 【微信小程序开发】之如何获取免费ssl证书【图文步骤】

    微信小程序要求所有网络请求都走ssl加密,因此我们开发服务端接口需要配置为https 这篇文章介绍一下如何 在 startssl 申请一个免费的ca证书. 1. 打开网站  https://www.s ...

  8. DDD领域驱动设计 - 设计文档模板

    设计文档模板: 系统背景和定位 业务需求描述 系统用例图 关键业务流程图 领域语言整理,主要是整理领域中的各种术语的定义,名词解释 领域划分(分析出子域.核心域.支撑域) 每个子域的领域模型设计(实体 ...

  9. spider RPC入门指南

    本部分将介绍使用spider RPC开发分布式应用的客户端和服务端. spider RPC中间件基于J2SE 8开发,因此需要确保服务器上安装了JDK 8及以上版本,不依赖于任何额外需要独立安装和配置 ...

  10. HTML5 Page Visibility

    什么是 Page Visibility ? Page Visibility 即页面可见性,通过 visibilityState 的值检测页面当前是否可见.当一个网站是可见或点击选中的状态时 Page ...