Clone
 

qinhao <hao.qin@hp.com> in Trafodion

rework on logger, NAString, DDL

    • -2
    • +1
    /core/sql/optimizer/OptimizerSimulator.h
Rework OSIM logging

OSIM messages are outputted to console and master_exec

    • -34
    • +0
    /core/sqf/conf/log4cxx.trafodion.osim.config
Merge branch 'master' of github.com:HowardQin/incubator-trafodion

Rework on OSIM [TRAFODION-16]

    • -0
    • +34
    /core/sqf/conf/log4cxx.trafodion.osim.config
    • -2
    • +139
    /core/sql/export/NAStringDef.cpp
    • -27
    • +0
    /core/sql/optimizer/BindRelExpr.cpp
    • -446
    • +100
    /core/sql/optimizer/NAClusterInfo.cpp
    • -41
    • +4
    /core/sql/optimizer/NAClusterInfo.h
    • -50
    • +12
    /core/sql/optimizer/OptimizerSimulator.h
    • -33
    • +24
    /core/sql/sqlcomp/nadefaults.cpp
Rework on OSIM

    • -0
    • +34
    /core/sqf/conf/log4cxx.trafodion.osim.config
    • -2
    • +139
    /core/sql/export/NAStringDef.cpp
    • -27
    • +0
    /core/sql/optimizer/BindRelExpr.cpp
    • -446
    • +100
    /core/sql/optimizer/NAClusterInfo.cpp
    • -41
    • +4
    /core/sql/optimizer/NAClusterInfo.h
    • -50
    • +12
    /core/sql/optimizer/OptimizerSimulator.h
    • -33
    • +24
    /core/sql/sqlcomp/nadefaults.cpp
OSIM (Optimizer Simulator) redesign 1.

Simulate query plan generation of production cluster on dev workstation,

by collecting information from production cluster, and restore it on dev worksation.

--runnig on production clusters, collect table DDLs, statistics, CQD, to osim-directory,

--the directory path can either full(absolute) or relative.

osim capture location '<osim-directory>'[, force];

--runing queries on cluster

osim capture stop;

--restore DDLs, CQDs, statistics and cluster information.

osim load from '<osim-directory>';

--setup runtime information, like cpu number, node number.

osim simulate start|continue '<osim-directory>';

Change-Id: I30882e87a6ea0f08c9aa64685705eebebcbb3bf0

  1. … 24 more files in changeset.