标签:des style blog color get os
select SET_DATA_COLLECTOR_POLICY(‘TupleMoverEvents‘, ‘1000‘, ‘100000‘);
select SET_DATA_COLLECTOR_POLICY(‘Errors‘, ‘1000‘, ‘100000‘);
select set_config_parameter(‘MaxClientSessions‘, 500);
select set_config_parameter(‘ActivePartitionCount‘, 1);
select set_config_parameter(‘MoveOutInterval‘, 1800);
select set_config_parameter(‘MoveOutMaxAgeTime‘, 1800);
select set_config_parameter(‘MoveOutSizePct‘, 95);
select set_config_parameter(‘MergeOutInterval‘, 300);
select set_config_parameter(‘ContainersPerProjectionLimit‘, 102400);
select ENABLE_LOCAL_SEGMENTS();
select SET_SCALING_FACTOR(4);
select set_config_parameter(‘MaxDesiredEEBlockSize‘,33554432);
SELECT SET_CONFIG_PARAMETER(‘ParallelizeLocalSegmentLoad‘, ‘1‘);
alter resource pool general priority 2 plannedconcurrency 12 maxconcurrency 10 queuetimeout 600;
alter resource pool load_pool priority 2 runtimepriority MEDIUM plannedconcurrency 12 maxconcurrency 5 queuetimeout NONE;
alter resource pool app_pool priority 2 plannedconcurrency 12 maxconcurrency 10 queuetimeout 600; alter resource pool app_pool queuetimeout 1200;
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‘;
alter resource pool wosdata memorysize ‘24G‘ maxmemorysize ‘24G‘;
alter resource pool tm memorysize ‘1G‘ plannedconcurrency 3 maxconcurrency 4;
select node_name, parameter_name, current_value, default_value from configuration_parameters where current_value <> default_value order by 2, 1;
select * from elastic_cluster;
select * from resource_pools where name not in (select name from resource_pool_defaults);
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 );
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 );
标签:des style blog color get os
原文地址:http://www.cnblogs.com/jyzhao/p/3810840.html