Вы находитесь на странице: 1из 20

drop table if exists metro.

MMV0199H;
create table metro.MMV0199H
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null default
comment 'ANNEE',
MOIS
tinyint
not null default
comment 'MOIS',
JOUR
tinyint
not null default
comment 'JOUR',
SYSTEM
char(4)
not null default
comment 'SYSTEM ID',
BOITE
char(4)
not null default
comment 'BOITE FONCTIONNELLE',
HEURE
tinyint
not null default
comment 'HEURE',
PGMENR
char(8)
not null default
comment 'NOM PROGRAMME',
FREQUENCE
double
not null default
comment 'SUM: FREQUENCE',
CPUTMS
decimal(15,2)
not null default
comment 'SUM: STEP ELAPSED DURATION',
SELAPSTMS
decimal(15,2)
not null default
comment 'SUM: STEP ELAPSED DURATION',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, BOITE, HEURE, PGMENR)
)
comment 'Temps CPU & Elapsed des programmes batch niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 31;

'0'
'0'
'0'
''
''
'0'
''
'0'
'0'
'0'

create index IDX_MMV0199H_01 on metro.MMV0199H


(DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC, SYSTEM ASC, BOITE ASC, P
GMENR ASC);
create index IDX_MMV0199H_02 on metro.MMV0199H
(PGMENR ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC, SYSTEM ASC,
BOITE ASC);
drop table if exists metro.MMV0199J;
create table metro.MMV0199J
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
BOITE
char(4)
comment 'BOITE FONCTIONNELLE',
PGMENR
char(8)
comment 'NOM PROGRAMME',
FREQUENCE
double
comment 'SUM: FREQUENCE',

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default ''
not null default '0'

CPUTMS
decimal(15,2)
not null default '0'
comment 'SUM: STEP ELAPSED DURATION',
SELAPSTMS
decimal(15,2)
not null default '0'
comment 'SUM: STEP ELAPSED DURATION',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, BOITE, PGMENR)
)
comment 'Temps CPU & Elapsed des programmes batch niveau j'
engine=MYISAM
mmv0252hPARTITION BY LIST(MOIS)
SUBPARTITION BY HASH(JOUR) SUBPARTITIONS 8
(
PARTITION p01_04 VALUES IN (1,2,3,4),
PARTITION p05_08 VALUES IN (5,6,7,8),
PARTITION p09_12 VALUES IN (9,10,11,12)
);
create index IDX_MMV0199J_01 on metro.MMV0199J
(PGMENR ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC, BOITE ASC);
drop table if exists metro.MMV0252H;
create table metro.MMV0252H
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
ENTITE
char(8)
comment 'ENTITE',
BOITE
char(4)
comment 'BOITE FONCTIONNELLE',
HEURE
tinyint
comment 'HEURE',
JOB
char(8)
comment 'JOB NAME OR TSO USER',
CD_ABEND
char(7)
comment 'CODE ABEND',
TY_BOITE
char(10)
comment 'TYPE DE BOITE FONCTIONNELLE',
NB_ABEND
double
comment 'SUM: NOMBRE ABENDS',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, ENTITE,
CD_ABEND, TY_BOITE)
)
comment 'Abends des JOBs niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 20;

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default ''
not null default '0'
not null default ''
not null default ''
not null default ''
not null default '0'
BOITE, HEURE, JOB,

create index IDX_MMV0252H_01 on metro.MMV0252H


(JOB ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC, ENTITE ASC,
BOITE ASC, HEURE ASC, CD_ABEND ASC, TY_BOITE ASC);

drop table if exists metro.MMV0252J;


create table metro.MMV0252J
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
ENTITE
char(8)
comment 'ENTITE',
BOITE
char(4)
comment 'BOITE FONCTIONNELLE',
JOB
char(8)
comment 'JOB NAME OR TSO USER',
CD_ABEND
char(7)
comment 'CODE ABEND',
TY_BOITE
char(10)
comment 'TYPE DE BOITE FONCTIONNELLE',
NB_ABEND
double
comment 'SUM: NOMBRE ABENDS',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, BOITE,
TY_BOITE)
)
comment 'Abends des JOBs niveau j'
engine=MYISAM
PARTITION BY HASH(MOIS) PARTITIONS 12;

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default ''
not null default ''
not null default ''
not null default ''
not null default '0'
ENTITE, JOB, CD_ABEND,

create index IDX_MMV0252J_01 on metro.MMV0252J


(JOB ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC, ENTITE ASC,
BOITE ASC, CD_ABEND ASC, TY_BOITE ASC);
drop table if exists metro.MMV0252SH;
create table metro.MMV0252SH
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
HEURE
tinyint
comment 'HEURE',
TY_BOITE
char(10)
comment 'TYPE DE BOITE FONCTIONNELLE',
NB_ABEND
double
comment 'SUM: NOMBRE ABENDS',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, HEURE,
)

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default '0'
not null default ''
not null default '0'
TY_BOITE)

comment 'Abends des JOBs - Synthese par systeme / boite niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 10;
create index IDX_MMV0252SH_01 on metro.MMV0252SH
(TY_BOITE ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC,
HEURE ASC);
drop table if exists metro.MMV0252SJ;
create table metro.MMV0252SJ
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null
comment 'ANNEE',
MOIS
tinyint
not null
comment 'MOIS',
JOUR
tinyint
not null
comment 'JOUR',
SYSTEM
char(4)
not null
comment 'SYSTEM ID',
TY_BOITE
char(10)
not null
comment 'TYPE DE BOITE FONCTIONNELLE',
NB_ABEND
double
not null
comment 'SUM: NOMBRE ABENDS',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, TY_BOITE)
)
comment 'Abends des JOBs - Synthese par systeme / boite niveau j'
engine=MYISAM
PARTITION BY HASH(MOIS) PARTITIONS 12;

default '0'
default '0'
default '0'
default ''
default ''
default '0'

create index IDX_MMV0252SJ_01 on metro.MMV0252SJ


(TY_BOITE ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC);
drop table if exists metro.MMV0255H;
create table metro.MMV0255H
(
DATE
date
not
comment 'DATE',
ANNEE
smallint
not
comment 'ANNEE',
MOIS
tinyint
not
comment 'MOIS',
JOUR
tinyint
not
comment 'JOUR',
SYSTEM
char(4)
not
comment 'SYSTEM ID',
JOB
char(8)
not
comment 'JOB NAME OR TSO USER',
HEURE
tinyint
not
comment 'HEURE',
CPUTMS
decimal(15,2)
not
comment 'SUM: TOTAL CPU TIME CAPTURED',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, JOB, HEURE)
)
comment 'Consommation CPU des STCs niveau h'

null
null default '0'
null default '0'
null default '0'
null default ''
null default ''
null default '0'
null default '0'

engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 31;
create index IDX_MMV0255H_01 on metro.MMV0255H
(JOB ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC, HEURE ASC);
drop table if exists metro.MMV0255J;
create table metro.MMV0255J
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
JOB
char(8)
comment 'JOB NAME OR TSO USER',
CPUTMS
decimal(15,2)
comment 'SUM: TOTAL CPU TIME CAPTURED',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, JOB)
)
comment 'Consommation CPU des STCs niveau j'
engine=MYISAM
PARTITION BY HASH(MOIS) PARTITIONS 12;

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default '0'

create index IDX_MMV0255J_01 on metro.MMV0255J


(JOB ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC);
drop table if exists metro.MMV0260H;
create table metro.MMV0260H
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
HEURE
tinyint
comment 'HEURE',
ENTITE
char(8)
comment 'ENTITE',
JOB
char(8)
comment 'JOB NAME OR TSO USER',
RACFGRUP
char(8)
comment 'RACF GROUP IDENTIFICATION',
RACFUSER
char(8)
comment 'RACF USER IDENTIFICATION',
LOCLINFO
char(8)

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default '0'
not null default ''
not null default ''
not null default ''
not null default ''
not null default ''

comment 'LOCAL INSTALLATION FIELD EBCDIC',


TYPETASK
char(4)
not null default ''
comment 'TYPE OF TASK',
CPUTMS
decimal(15,2)
not null default '0'
comment 'SUM: TOTAL CPU TIME CAPTURED',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, HEURE, ENTITE, JOB, RACFGRUP, R
ACFUSER, LOCLINFO, TYPETASK)
)
comment 'Consommation CPU des regions CICS niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 10;
create index IDX_MMV0260H_01 on metro.MMV0260H
(SYSTEM ASC, ENTITE ASC, JOB ASC, RACFGRUP ASC, RACFUSER ASC, LOCLINFO ASC, D
ATE ASC,
ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC);
create index IDX_MMV0260H_02 on metro.MMV0260H
(JOB ASC, SYSTEM ASC, ENTITE ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HE
URE ASC);

drop table if exists metro.MMV0260J;


create table metro.MMV0260J
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
ENTITE
char(8)
comment 'ENTITE',
JOB
char(8)
comment 'JOB NAME OR TSO USER',
RACFGRUP
char(8)
comment 'RACF GROUP IDENTIFICATION',
RACFUSER
char(8)
comment 'RACF USER IDENTIFICATION',
LOCLINFO
char(8)
comment 'LOCAL INSTALLATION FIELD EBCDIC',
TYPETASK
char(4)
comment 'TYPE OF TASK',
CPUTMS
decimal(15,2)
comment 'SUM: TOTAL CPU TIME CAPTURED',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, ENTITE,
, LOCLINFO, TYPETASK)
)
comment 'Consommation CPU des regions CICS niveau j'
engine=MYISAM
PARTITION BY HASH(MOIS) PARTITIONS 12;

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default ''
not null default ''
not null default ''
not null default ''
not null default ''
not null default '0'
JOB, RACFGRUP, RACFUSER

create index IDX_MMV0260J_01 on metro.MMV0260J


(SYSTEM ASC, ENTITE ASC, JOB ASC, RACFGRUP ASC, RACFUSER ASC, LOCLINFO ASC,
DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC);

create index IDX_MMV0260J_02 on metro.MMV0260J


(JOB ASC, SYSTEM ASC, ENTITE ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC);
drop table if exists metro.MMV0323_0782H;
create table metro.MMV0323_0782H
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null
comment 'ANNEE',
MOIS
tinyint
not null
comment 'MOIS',
JOUR
tinyint
not null
comment 'JOUR',
ENTITE
char(8)
not null
comment 'ENTITE',
BOITE
char(4)
not null
comment 'BOITE FONCTIONNELLE',
HEURE
tinyint
not null
comment 'HEURE',
CPUTMS
decimal(15,2)
not null
comment 'SUM: TOTAL CPU TIME CAPTURED',
JELAPSTMS
decimal(15,2)
not null
comment 'SUM: JOB ELAPSED DURATION',
primary key (DATE, ANNEE, MOIS, JOUR, ENTITE, BOITE, HEURE)
)
comment 'Consommation CPU et Temps Elapsed des JOBs niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 10;

default '0'
default '0'
default '0'
default ''
default ''
default '0'
default '0'
default '0'

create index IDX_MMV0323_0782H_01 on metro.MMV0323_0782H


(BOITE ASC, ENTITE ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC);
drop table if exists metro.MMV0323_0782J;
create table metro.MMV0323_0782J
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null
comment 'ANNEE',
MOIS
tinyint
not null
comment 'MOIS',
JOUR
tinyint
not null
comment 'JOUR',
ENTITE
char(8)
not null
comment 'ENTITE',
BOITE
char(4)
not null
comment 'BOITE FONCTIONNELLE',
CPUTMS
decimal(15,2)
not null
comment 'SUM: TOTAL CPU TIME CAPTURED',
JELAPSTMS
decimal(15,2)
not null
comment 'SUM: JOB ELAPSED DURATION',
primary key (DATE, ANNEE, MOIS, JOUR, ENTITE, BOITE)
)
comment 'Consommation CPU et Temps Elapsed des JOBs niveau h'
engine=MYISAM

default '0'
default '0'
default '0'
default ''
default ''
default '0'
default '0'

PARTITION BY HASH(MOIS) PARTITIONS 12;


create index IDX_MMV0323_0782J_01 on metro.MMV0323_0782J
(BOITE ASC, ENTITE ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC);
drop table if exists metro.MMV0331H;
create table metro.MMV0331H
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null default
comment 'ANNEE',
MOIS
tinyint
not null default
comment 'MOIS',
JOUR
tinyint
not null default
comment 'JOUR',
SYSTEM
char(4)
not null default
comment 'SYSTEM ID',
BOITE
char(4)
not null default
comment 'BOITE FONCTIONNELLE',
HEURE
tinyint
not null default
comment 'HEURE',
PGMENR
char(8)
not null default
comment 'NOM PROGRAMME',
FREQUENCE
double
not null default
comment 'SUM: FREQUENCE',
EXCPTOTLS
double
not null default
comment 'SUM: TOTAL EXCPS COUNT',
SELAPSTMS
decimal(15,2)
not null default
comment 'SUM: STEP ELAPSED DURATION',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, BOITE, HEURE, PGMENR)
)
comment 'IO EXCP et Temps Elapsed des programmes batch niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 31;

'0'
'0'
'0'
''
''
'0'
''
'0'
'0'
'0'

create index IDX_MMV0331H_01 on metro.MMV0331H


(PGMENR ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC, SYSTEM ASC,
BOITE ASC);
drop table if exists metro.MMV0331J;
create table metro.MMV0331J
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
BOITE
char(4)
comment 'BOITE FONCTIONNELLE',
PGMENR
char(8)

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default ''

comment 'NOM PROGRAMME',


FREQUENCE
double
comment 'SUM: FREQUENCE',
EXCPTOTLS
double
comment 'SUM: TOTAL EXCPS COUNT',
SELAPSTMS
decimal(15,2)
comment 'SUM: STEP ELAPSED DURATION',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, BOITE,

not null default '0'


not null default '0'
not null default '0'

PGMENR)
)
comment 'IO EXCP et Temps Elapsed des programmes batch niveau j'
engine=MYISAM
PARTITION BY LIST(MOIS)
SUBPARTITION BY HASH(JOUR) SUBPARTITIONS 8
(
PARTITION p01_04 VALUES IN (1,2,3,4),
PARTITION p05_08 VALUES IN (5,6,7,8),
PARTITION p09_12 VALUES IN (9,10,11,12)
);
create index IDX_MMV0331J_01 on metro.MMV0331J
(PGMENR ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC, BOITE ASC);
drop table if exists metro.MMV0335H;
create table metro.MMV0335H
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
ENTITE
char(8)
comment 'ENTITE',
BOITE
char(4)
comment 'BOITE FONCTIONNELLE',
HEURE
tinyint
comment 'HEURE',
EXCPTOTLS
double
comment 'SUM: TOTAL EXCPS COUNT',
JELAPSTMS
decimal(15,2)
comment 'SUM: JOB ELAPSED DURATION',
primary key (DATE, ANNEE, MOIS, JOUR, ENTITE, BOITE,
)
comment 'IO EXCP et consommation CPU des JOBs niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 10;

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default '0'
not null default '0'
not null default '0'
HEURE)

create index IDX_MMV0335H_01 on metro.MMV0335H


(BOITE ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC, ENTITE ASC);
drop table if exists metro.MMV0335J;
create table metro.MMV0335J
(
DATE

date

not null

comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
ENTITE
char(8)
comment 'ENTITE',
BOITE
char(4)
comment 'BOITE FONCTIONNELLE',
EXCPTOTLS
double
comment 'SUM: TOTAL EXCPS COUNT',
JELAPSTMS
decimal(15,2)
comment 'SUM: JOB ELAPSED DURATION',
primary key (DATE, ANNEE, MOIS, JOUR, ENTITE, BOITE)

not null default '0'


not null default '0'
not null default '0'
not null default ''
not null default ''
not null default '0'
not null default '0'

)
comment 'IO EXCP et consommation CPU des JOBs niveau j'
engine=MYISAM
PARTITION BY HASH(MOIS) PARTITIONS 12;
create index IDX_MMV0335J_01 on metro.MMV0335J
(BOITE ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, ENTITE ASC);
drop table if exists metro.MMV0380H;
create table metro.MMV0380H
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
BOITE
char(4)
comment 'BOITE FONCTIONNELLE',
HEURE
tinyint
comment 'HEURE',
NB_JOB
double
comment 'SUM: NOMBRE JOBS',
NB_ABEND
double
comment 'SUM: NOMBRE ABENDS',
CPUTMS
decimal(15,2)
comment 'SUM: STEP ELAPSED DURATION',
JELAPSTMS
decimal(15,2)
comment 'SUM: JOB ELAPSED DURATION',
EXCPTOTLS
double
comment 'SUM: TOTAL EXCPS COUNT',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, BOITE,
)
comment 'Synthese batch niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 10;
create index IDX_MMV0380H_01 on metro.MMV0380H

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default '0'
not null default '0'
not null default '0'
not null default '0'
not null default '0'
not null default '0'
HEURE)

(BOITE ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC, SYSTEM ASC);
drop table if exists metro.MMV0380J;
create table metro.MMV0380J
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
BOITE
char(4)
comment 'BOITE FONCTIONNELLE',
NB_JOB
double
comment 'SUM: NOMBRE JOBS',
NB_ABEND
double
comment 'SUM: NOMBRE ABENDS',
CPUTMS
decimal(15,2)
comment 'SUM: STEP ELAPSED DURATION',
JELAPSTMS
decimal(15,2)
comment 'SUM: JOB ELAPSED DURATION',
EXCPTOTLS
double
comment 'SUM: TOTAL EXCPS COUNT',
primary key (DATE, ANNEE, MOIS, JOUR, SYSTEM, BOITE)
)
comment 'Synthese batch niveau j'
engine=MYISAM
PARTITION BY HASH(MOIS) PARTITIONS 12;

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default '0'
not null default '0'
not null default '0'
not null default '0'
not null default '0'

create index IDX_MMV0380J_01 on metro.MMV0380J


(BOITE ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC);
drop table if exists metro.MMV0362_0743H;
create table metro.MMV0362_0743H
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
HEURE
tinyint
comment 'HEURE',
SYSTEM
char(4)
comment 'SYSTEM ID',
BOITE
char(8)
comment 'BOITE FONCTIONNELLE',
APPLID
char(8)
comment 'VTAM APPLICATION NAME',
PROGRAM
char(8)

not null
not null default '0'
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default ''
not null default ''

comment 'PROGRAM NAME',


FREQUENCE
double
not null default '0'
comment 'SUM: FREQUENCE',
CPUTMS
decimal(15,2)
not null default '0'
comment 'SUM: ELAPSED DURATION',
ELAPSTMS
decimal(15,2)
not null default '0'
comment 'SUM: TOTAL CPU TIME CAPTURED',
primary key (DATE,ANNEE,MOIS,JOUR,HEURE,SYSTEM,BOITE,APPLID,PROGRAM)
)
comment 'Consommation CPU des programmes TP CICS niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 31;
create index IDX_MMV0362_0743H_01 on metro.MMV0362_0743H
(PROGRAM ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC,
HEURE ASC, SYSTEM ASC, BOITE ASC, APPLID ASC);
drop table if exists metro.MMV0362_0743J;
create table metro.MMV0362_0743J
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null
comment 'ANNEE',
MOIS
tinyint
not null
comment 'MOIS',
JOUR
tinyint
not null
comment 'JOUR',
SYSTEM
char(4)
not null
comment 'SYSTEM ID',
BOITE
char(8)
not null
comment 'BOITE FONCTIONNELLE',
APPLID
char(8)
not null
comment 'VTAM APPLICATION NAME',
PROGRAM
char(8)
not null
comment 'PROGRAM NAME',
FREQUENCE
double
not null
comment 'SUM: FREQUENCE',
CPUTMS
decimal(15,2)
not null
comment 'SUM: ELAPSED DURATION',
ELAPSTMS
decimal(15,2)
not null
comment 'SUM: TOTAL CPU TIME CAPTURED',
primary key (DATE,ANNEE,MOIS,JOUR,SYSTEM,BOITE,APPLID,PROGRAM)
)
comment 'Consommation CPU des programmes TP CICS niveau j'
engine=MYISAM
PARTITION BY LIST(MOIS)
SUBPARTITION BY HASH(JOUR) SUBPARTITIONS 8
(
PARTITION p01_04 VALUES IN (1,2,3,4),
PARTITION p05_08 VALUES IN (5,6,7,8),
PARTITION p09_12 VALUES IN (9,10,11,12)
);
create index IDX_MMV0362_0743J_01 on metro.MMV0362_0743J
(PROGRAM ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC,
SYSTEM ASC, BOITE ASC, APPLID ASC);

default '0'
default '0'
default '0'
default ''
default ''
default ''
default ''
default '0'
default '0'
default '0'

drop table if exists metro.MMV0642_0741H;


create table metro.MMV0642_0741H
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null default
comment 'ANNEE',
MOIS
tinyint
not null default
comment 'MOIS',
JOUR
tinyint
not null default
comment 'JOUR',
HEURE
tinyint
not null default
comment 'HEURE',
SYSTEM
char(4)
not null default
comment 'SYSTEM ID',
BOITE
char(8)
not null default
comment 'BOITE FONCTIONNELLE',
APPLID
char(8)
not null default
comment 'VTAM APPLICATION NAME',
TRANNAME
char(4)
not null default
comment 'TRANSACTION NAME',
NB_TRAN
double
not null default
comment 'SUM: NB TRANSACTIONS',
NB_ABEND
double
not null default
comment 'SUM: NB ABENDS',
CPUTMS
decimal(15,2)
not null default
comment 'SUM: ELAPSED DURATION',
ELAPSTMS
decimal(15,2)
not null default
comment 'SUM: TOTAL CPU TIME CAPTURED',
primary key (DATE,ANNEE,MOIS,JOUR,HEURE,SYSTEM,BOITE,APPLID,TRANNAME)
)
comment 'Frequence / Abends / Conso CPU des transactions CICS niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 31;

'0'
'0'
'0'
'0'
''
''
''
''
'0'
'0'
'0'
'0'

create index IDX_MMV0642_0741H_01 on metro.MMV0642_0741H


(TRANNAME ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC,
SYSTEM ASC, BOITE ASC, APPLID ASC);
drop table if exists metro.MMV0642_0741J;
create table metro.MMV0642_0741J
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
SYSTEM
char(4)
comment 'SYSTEM ID',
BOITE
char(8)
comment 'BOITE FONCTIONNELLE',
APPLID
char(8)
comment 'VTAM APPLICATION NAME',

not null
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default ''

TRANNAME
char(4)
not null default
comment 'TRANSACTION NAME',
NB_TRAN
double
not null default
comment 'SUM: NB TRANSACTIONS',
NB_ABEND
double
not null default
comment 'SUM: NB ABENDS',
CPUTMS
decimal(15,2)
not null default
comment 'SUM: ELAPSED DURATION',
ELAPSTMS
decimal(15,2)
not null default
comment 'SUM: TOTAL CPU TIME CAPTURED',
primary key (DATE,ANNEE,MOIS,JOUR,SYSTEM,BOITE,APPLID,TRANNAME)

''
'0'
'0'
'0'
'0'

)
comment 'Frequence / Abends / Conso CPU des transactions CICS niveau j'
engine=MYISAM
PARTITION BY LIST(MOIS)
SUBPARTITION BY HASH(JOUR) SUBPARTITIONS 8
(
PARTITION p01_04 VALUES IN (1,2,3,4),
PARTITION p05_08 VALUES IN (5,6,7,8),
PARTITION p09_12 VALUES IN (9,10,11,12)
);
create index IDX_MMV0642_0741J_01 on metro.MMV0642_0741J
(TRANNAME ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC,
BOITE ASC, APPLID ASC);
drop table if exists metro.MMV0625H;
create table metro.MMV0625H
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null default '0'
comment 'ANNEE',
MOIS
tinyint
not null default '0'
comment 'MOIS',
JOUR
tinyint
not null default '0'
comment 'JOUR',
HEURE
tinyint
not null default '0'
comment 'HEURE',
SYSTEM
char(4)
not null default ''
comment 'SYSTEM ID',
BOITE
char(8)
not null default ''
comment 'BOITE FONCTIONNELLE',
APPLID
char(8)
not null default ''
comment 'VTAM APPLICATION NAME',
TRANNAME
char(4)
not null default ''
comment 'TRANSACTION NAME',
TYPE_ABEND
char(15)
not null default ''
comment 'TYPE ABEND',
NB_ABEND
double
not null default '0'
comment 'SUM: NB ABENDS',
primary key (DATE,ANNEE,MOIS,JOUR,HEURE,SYSTEM,BOITE,APPLID,TRANNAME,TYPE_ABE
ND)
)
comment 'Abends des transactions CICS niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 10;

create index IDX_MMV0625H_01 on metro.MMV0625H


(TRANNAME ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC,
SYSTEM ASC, BOITE ASC, APPLID ASC, TYPE_ABEND ASC);
drop table if exists metro.MMV0625J;
create table metro.MMV0625J
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null default '0'
comment 'ANNEE',
MOIS
tinyint
not null default '0'
comment 'MOIS',
JOUR
tinyint
not null default '0'
comment 'JOUR',
SYSTEM
char(4)
not null default ''
comment 'SYSTEM ID',
BOITE
char(8)
not null default ''
comment 'BOITE FONCTIONNELLE',
APPLID
char(8)
not null default ''
comment 'VTAM APPLICATION NAME',
TRANNAME
char(4)
not null default ''
comment 'TRANSACTION NAME',
TYPE_ABEND
char(15)
not null default ''
comment 'TYPE ABEND',
NB_ABEND
double
not null default '0'
comment 'SUM: NB ABENDS',
primary key (DATE,ANNEE,MOIS,JOUR,SYSTEM,BOITE,APPLID,TRANNAME,TYPE_ABEND)
)
comment 'Abends des transactions CICS niveau j'
engine=MYISAM
PARTITION BY HASH(MOIS) PARTITIONS 12;
create index IDX_MMV0625J_01 on metro.MMV0625J
(TRANNAME ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC,
BOITE ASC, APPLID ASC,TYPE_ABEND ASC);
drop table if exists metro.MMV0392H;
create table metro.MMV0392H
(
DATE
date
comment 'DATE',
ANNEE
smallint
comment 'ANNEE',
MOIS
tinyint
comment 'MOIS',
JOUR
tinyint
comment 'JOUR',
HEURE
tinyint
comment 'HEURE',
SYSTEM
char(3)
comment 'SYSTEM ID',
APPLID
char(8)
comment 'VTAM APPLICATION NAME',
TRANNAME
char(4)
comment 'TRANSACTION NAME',

not null
not null default '0'
not null default '0'
not null default '0'
not null default '0'
not null default ''
not null default ''
not null default ''

FREQUENCE
double
not null default '0'
comment 'SUM: FREQUENCE',
ELAPSTMS
decimal(15,2)
not null default '0'
comment 'SUM: TOTAL CPU TIME CAPTURED',
ELAPSTMM
decimal(15,2)
not null default '0'
comment 'AVG: TOTAL CPU TIME CAPTURED',
primary key (DATE,ANNEE,MOIS,JOUR,HEURE,SYSTEM,APPLID,TRANNAME)
)
comment 'Temps de reponse des transactions niveau h '
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 31;
create index IDX_MMV0392H_01 on metro.MMV0392H
(TRANNAME ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC,
SYSTEM ASC, APPLID ASC);
create index IDX_MMV0392H_02 on metro.MMV0392H
(APPLID ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC,
SYSTEM ASC, TRANNAME ASC);
drop table if exists metro.MMV0392J;
create table metro.MMV0392J
(
DATE
date
not
comment 'DATE',
ANNEE
smallint
not
comment 'ANNEE',
MOIS
tinyint
not
comment 'MOIS',
JOUR
tinyint
not
comment 'JOUR',
SYSTEM
char(3)
not
comment 'SYSTEM ID',
APPLID
char(8)
not
comment 'VTAM APPLICATION NAME',
TRANNAME
char(4)
not
comment 'TRANSACTION NAME',
FREQUENCE
double
not
comment 'SUM: FREQUENCE',
ELAPSTMS
decimal(15,2)
not
comment 'SUM: TOTAL CPU TIME CAPTURED',
ELAPSTMM
decimal(15,2)
not
comment 'AVG: TOTAL CPU TIME CAPTURED',
primary key (DATE,ANNEE,MOIS,JOUR,SYSTEM,APPLID,TRANNAME)
)
comment 'Temps de reponse des transactions niveau j'
engine=MYISAM
PARTITION BY HASH(MOIS) PARTITIONS 12;

null
null default '0'
null default '0'
null default '0'
null default ''
null default ''
null default ''
null default '0'
null default '0'
null default '0'

create index IDX_MMV0392J_01 on metro.MMV0392J


(TRANNAME ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC,
APPLID ASC);
create index IDX_MMV0392J_02 on metro.MMV0392J
(APPLID ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC,
TRANNAME ASC);

drop table if exists metro.MMV0398D;


create table metro.MMV0398D
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null default
comment 'ANNEE',
MOIS
tinyint
not null default
comment 'MOIS',
JOUR
tinyint
not null default
comment 'JOUR',
HEURE
time
not null default
:00'
comment 'HEURE',
SYSTEM
char(3)
not null default
comment 'SYSTEM ID',
APPLID
char(8)
not null default
comment 'VTAM APPLICATION NAME',
TRANNAME
char(4)
not null default
comment 'TRANSACTION NAME',
FREQUENCE
double
not null default
comment 'SUM: FREQUENCE',
ELAPSTMS
decimal(15,2)
not null default
comment 'SUM: TOTAL CPU TIME CAPTURED',
ELAPSTMM
decimal(15,2)
not null default
comment 'AVG: TOTAL CPU TIME CAPTURED',
primary key (DATE,ANNEE,MOIS,JOUR,HEURE,SYSTEM,APPLID,TRANNAME)
)
comment 'Temps de reponse des transactions CICS par tranche de 10 mn'
engine=MYISAM
PARTITION BY LIST(JOUR)
SUBPARTITION BY HASH(hour(HEURE)) SUBPARTITIONS 4
(
PARTITION p01 VALUES IN (1,4,7,10,13,16,19,22,25,28,31),
PARTITION p02 VALUES IN (2,5,8,11,14,17,20,23,26,29),
PARTITION p03 VALUES IN (3,6,9,12,15,18,21,24,27,30)
);

'0'
'0'
'0'
'00:00
''
''
''
'0'
'0'
'0'

create index IDX_MMV0398D_01 on metro.MMV0398D


(TRANNAME ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC,
SYSTEM ASC, APPLID ASC);
create index IDX_MMV0398D_02 on metro.MMV0398D
(APPLID ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC,
SYSTEM ASC, TRANNAME ASC);
drop table if exists metro.MMV0398H;
create table metro.MMV0398H
(
DATE
comment 'DATE',
ANNEE
comment 'ANNEE',
MOIS
comment 'MOIS',
JOUR
comment 'JOUR',

date

not null

smallint

not null default '0'

tinyint

not null default '0'

tinyint

not null default '0'

HEURE
tinyint
not null default
comment 'HEURE',
SYSTEM
char(3)
not null default
comment 'SYSTEM ID',
APPLID
char(8)
not null default
comment 'VTAM APPLICATION NAME',
TRANNAME
char(4)
not null default
comment 'TRANSACTION NAME',
FREQUENCE
double
not null default
comment 'SUM: FREQUENCE',
ELAPSTMS
decimal(15,2)
not null default
comment 'SUM: TOTAL CPU TIME CAPTURED',
ELAPSTMM
decimal(15,2)
not null default
comment 'AVG: TOTAL CPU TIME CAPTURED',
primary key (DATE,ANNEE,MOIS,JOUR,HEURE,SYSTEM,APPLID,TRANNAME)

'0'
''
''
''
'0'
'0'
'0'

)
comment 'Temps de reponse des transactions CICS niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 31;
create index IDX_MMV0398H_01 on metro.MMV0398H
(TRANNAME ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC,
SYSTEM ASC, APPLID ASC);
create index IDX_MMV0398H_02 on metro.MMV0398H
(APPLID ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC,
SYSTEM ASC, TRANNAME ASC);
drop table if exists metro.MMV0398J;
create table metro.MMV0398J
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null default '0'
comment 'ANNEE',
MOIS
tinyint
not null default '0'
comment 'MOIS',
JOUR
tinyint
not null default '0'
comment 'JOUR',
SYSTEM
char(3)
not null default ''
comment 'SYSTEM ID',
APPLID
char(8)
not null default ''
comment 'VTAM APPLICATION NAME',
TRANNAME
char(4)
not null default ''
comment 'TRANSACTION NAME',
FREQUENCE
double
not null default '0'
comment 'SUM: FREQUENCE',
ELAPSTMS
decimal(15,2)
not null default '0'
comment 'SUM: TOTAL CPU TIME CAPTURED',
ELAPSTMM
decimal(15,2)
not null default '0'
comment 'AVG: TOTAL CPU TIME CAPTURED',
primary key (DATE,ANNEE,MOIS,JOUR,SYSTEM,APPLID,TRANNAME)
)
comment 'Temps de reponse des transactions CICS niveau h'
engine=MYISAM
PARTITION BY HASH(MOIS) PARTITIONS 12;
create index IDX_MMV0398J_01 on metro.MMV0398J

(TRANNAME ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC,
APPLID ASC);
create index IDX_MMV0398J_02 on metro.MMV0398J
(APPLID ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC,
TRANNAME ASC);
drop table if exists metro.MMV0589H;
create table metro.MMV0589H
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null
comment 'ANNEE',
MOIS
tinyint
not null
comment 'MOIS',
JOUR
tinyint
not null
comment 'JOUR',
HEURE
tinyint
not null
comment 'HEURE',
SYSTEM
char(4)
not null
comment 'SYSTEM ID',
APPLID
char(8)
not null
comment 'VTAM APPLICATION NAME',
XMCTCL
char(8)
not null
comment 'TCLASS TCLASS NAME',
DURATMC
double
not null
comment 'COUNT: DURATION OF INTERVAL (INT ONLY)',
DURATMS
decimal(15,2)
not null
comment 'SUM: DURATION OF INTERVAL (INT ONLY)',
XMCTATS
double
not null
comment 'SUM: TCLASS ATTACH REQUESTS',
XMCMXTX
double
not null
comment 'MAX: TCLASS MAX NR OF TRANS ALLOWED',
XMCPATX
double
not null
comment 'MAX: TCLASS PEAK ACTIVE USER TRANSACTIONS',
XMCPQTX
double
not null
comment 'MAX: TCLASS PEAK QUEUED USER TRANSACTIONS',
XMCTAMAS
double
not null
comment 'SUM: TCLASS TIMES AT MAXIMUM ACTIVE',
XMCTAPTS
double
not null
comment 'SUM: TCLASS TIMES AT PURGE THRESHOLD',
XMCTQTMES
decimal(15,2)
not null
comment 'SUM: TCLASS QUEUEING TIME OF NO LONGER QUEUED',
primary key(DATE,ANNEE,MOIS,JOUR,HEURE,SYSTEM,APPLID,XMCTCL)
)
comment 'Statistiques des Transaction Class CICS niveau h'
engine=MYISAM
PARTITION BY HASH(JOUR) PARTITIONS 31;

default '0'
default '0'
default '0'
default '0'
default ''
default ''
default ''
default '0'
default '0'
default '0'
default '0'
default '0'
default '0'
default '0'
default '0'
default '0'

create index IDX_MMV0589H_01 on metro.MMV0589H


(XMCTCL ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC,
SYSTEM ASC, APPLID ASC);
create index IDX_MMV0589H_02 on metro.MMV0589H
(APPLID ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, HEURE ASC,
SYSTEM ASC, XMCTCL ASC);

drop table if exists metro.MMV0589J;


create table metro.MMV0589J
(
DATE
date
not null
comment 'DATE',
ANNEE
smallint
not null
comment 'ANNEE',
MOIS
tinyint
not null
comment 'MOIS',
JOUR
tinyint
not null
comment 'JOUR',
SYSTEM
char(4)
not null
comment 'SYSTEM ID',
APPLID
char(8)
not null
comment 'VTAM APPLICATION NAME',
XMCTCL
char(8)
not null
comment 'TCLASS TCLASS NAME',
DURATMC
double
not null
comment 'COUNT: DURATION OF INTERVAL (INT ONLY)',
DURATMS
decimal(15,2)
not null
comment 'SUM: DURATION OF INTERVAL (INT ONLY)',
XMCTATS
double
not null
comment 'SUM: TCLASS ATTACH REQUESTS',
XMCMXTX
double
not null
comment 'MAX: TCLASS MAX NR OF TRANS ALLOWED',
XMCPATX
double
not null
comment 'MAX: TCLASS PEAK ACTIVE USER TRANSACTIONS',
XMCPQTX
double
not null
comment 'MAX: TCLASS PEAK QUEUED USER TRANSACTIONS',
XMCTAMAS
double
not null
comment 'SUM: TCLASS TIMES AT MAXIMUM ACTIVE',
XMCTAPTS
double
not null
comment 'SUM: TCLASS TIMES AT PURGE THRESHOLD',
XMCTQTMES
decimal(15,2)
not null
comment 'SUM: TCLASS QUEUEING TIME OF NO LONGER QUEUED',
primary key(DATE,ANNEE,MOIS,JOUR,SYSTEM,APPLID,XMCTCL)
)
comment 'Statistiques des Transaction Class CICS niveau j'
engine=MYISAM
PARTITION BY HASH(MOIS) PARTITIONS 12;

default '0'
default '0'
default '0'
default ''
default ''
default ''
default '0'
default '0'
default '0'
default '0'
default '0'
default '0'
default '0'
default '0'
default '0'

create index IDX_MMV0589J_01 on metro.MMV0589J


(XMCTCL ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC, APPLID ASC)
;
create index IDX_MMV0589J_02 on metro.MMV0589J
(APPLID ASC, DATE ASC, ANNEE ASC, MOIS ASC, JOUR ASC, SYSTEM ASC, XMCTCL ASC)
;

Вам также может понравиться