/[PAMELA software]/yodaUtility/YodaProfiler/PAMELAProductionDB.txt
ViewVC logotype

Annotation of /yodaUtility/YodaProfiler/PAMELAProductionDB.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Jun 6 07:39:45 2006 UTC (18 years, 7 months ago) by kusanagi
Branch: MAIN
File MIME type: text/plain
*** empty log message ***

1 kusanagi 1.1 CREATE TABLE `GL_RAW` (
2     `ID` bigint(20) unsigned NOT NULL auto_increment,
3     `PATH` varchar(255) NOT NULL default '',
4     `NAME` varchar(255) NOT NULL default '',
5     `BOOT_NUMBER` bigint(20) default NULL,
6     PRIMARY KEY (`ID`)
7     ) TYPE=InnoDB;
8    
9    
10    
11     CREATE TABLE `GL_ROOT` (
12     `ID` bigint(20) unsigned NOT NULL auto_increment,
13     `ID_RAW` bigint(20) unsigned NOT NULL default '0',
14     `PATH` varchar(255) NOT NULL default '',
15     `NAME` varchar(255) NOT NULL default '',
16     PRIMARY KEY (`ID`),
17     KEY `ID_RAW_index` (`ID_RAW`),
18     CONSTRAINT `ROOT_fk` FOREIGN KEY (`ID_RAW`) REFERENCES `GL_RAW` (`ID`) ON DELETE CASCADE
19     ) TYPE=InnoDB;
20    
21    
22     CREATE TABLE `GL_RUN` (
23     `ID` bigint(20) unsigned NOT NULL auto_increment,
24     `ID_REG_RUN` bigint(20) unsigned NOT NULL default '0',
25     `ID_REG_RUN_L2` bigint(20) unsigned default '0',
26     `RUNHEADER_TIME` bigint(31) unsigned NOT NULL default '0',
27     `RUNTRAILER_TIME` bigint(20) unsigned NOT NULL default '0',
28     `EV_REG_PHYS_FROM` int(10) unsigned NOT NULL default '0',
29     `EV_REG_PHYS_TO` int(10) unsigned NOT NULL default '0',
30     `EV_REG_RUNHEADER` int(10) unsigned NOT NULL default '0',
31     `EV_REG_RUNTRAILER` int(10) unsigned NOT NULL default '0',
32     `TRK_CALIB_USED` tinyint(3) unsigned NOT NULL default '0',
33     `EFF_WRK_SCHEDULE` int(10) unsigned NOT NULL default '0',
34     `PRH_VAR_TRG_MODE_A` bigint(32) unsigned NOT NULL default '0',
35     `PRH_VAR_TRG_MODE_B` bigint(32) unsigned NOT NULL default '0',
36     `ACQ_BUILD_INFO` bigint(32) unsigned NOT NULL default '0',
37     `ACQ_VAR_INFO` int(10) unsigned NOT NULL default '0',
38     `VALIDATION` varchar(255) NOT NULL default '',
39     PRIMARY KEY (`ID`),
40     KEY `ID_RUN_fk_constraint` (`ID_REG_RUN`),
41     KEY `ID_RUN_L2_fk_constraint` (`ID_REG_RUN_L2`),
42     CONSTRAINT `ID_RUN_fk_constraint` FOREIGN KEY (`ID_REG_RUN`) REFERENCES `GL_ROOT` (`ID`) ON DELETE CASCADE
43     ) TYPE=InnoDB;
44    
45    
46     CREATE TABLE `GL_TIMESYNC` (
47     `ID` bigint(20) unsigned NOT NULL auto_increment,
48     `ID_RAW` bigint(20) unsigned NOT NULL default '0',
49     `TYPE` smallint(5) unsigned NOT NULL default '0',
50     `DELTA_OBT_TMSYNC` double NOT NULL default '0',
51     `RMS_DELTA` double NOT NULL default '0',
52     PRIMARY KEY (`ID`),
53     KEY `ID_RAW_index` (`ID_RAW`),
54     CONSTRAINT `TIME_RAW_fk` FOREIGN KEY (`ID_RAW`) REFERENCES `GL_RAW` (`ID`) ON DELETE CASCADE
55     ) TYPE=InnoDB;
56    
57    
58     CREATE TABLE `GL_CALO_CALIB` (
59     `ID` bigint(20) unsigned NOT NULL auto_increment,
60     `ID_REG_CALIBCALPED` bigint(20) unsigned NOT NULL default '0',
61     `EV_REG_CALIBCALPED` int(10) unsigned NOT NULL default '0',
62     `FROM_TIME` bigint(20) unsigned NOT NULL default '0',
63     `TO_TIME` bigint(20) unsigned NOT NULL default '0',
64     `SECTION` smallint(5) unsigned NOT NULL default '0',
65     PRIMARY KEY (`ID`),
66     KEY `FROM_TIME_index` (`FROM_TIME`),
67     KEY `REG_CAL_index` (`ID_REG_CALIBCALPED`),
68     CONSTRAINT `CALO_REG_fk` FOREIGN KEY (`ID_REG_CALIBCALPED`) REFERENCES `GL_ROOT` (`ID`) ON DELETE CASCADE
69     ) TYPE=InnoDB;
70    
71    
72     CREATE TABLE `GL_S4_CALIB` (
73     `ID` bigint(20) unsigned NOT NULL auto_increment,
74     `ID_REG_CALIBS4` bigint(20) unsigned NOT NULL default '0',
75     `EV_REG_CALIBS4` int(10) unsigned NOT NULL default '0',
76     `FROM_TIME` bigint(20) unsigned NOT NULL default '0',
77     `TO_TIME` bigint(20) unsigned NOT NULL default '0',
78     `PARAM_FIT0` float default NULL,
79     `PARAM_FIT1` float NOT NULL default '0',
80     PRIMARY KEY (`ID`),
81     KEY `ID_REG_index` (`ID_REG_CALIBS4`),
82     CONSTRAINT `S4_REG_fk` FOREIGN KEY (`ID_REG_CALIBS4`) REFERENCES `GL_ROOT` (`ID`) ON DELETE CASCADE
83     ) TYPE=InnoDB;
84    
85    
86     CREATE TABLE `GL_TRK_CALIB` (
87     `ID` bigint(20) unsigned NOT NULL auto_increment,
88     `ID_REG_CALIBTRK` bigint(20) unsigned NOT NULL default '0',
89     `EV_REG_CALIBTRK1` int(10) unsigned NOT NULL default '0',
90     `EV_REG_CALIBTRK2` int(10) unsigned NOT NULL default '0',
91     `FROM_TIME` bigint(20) unsigned NOT NULL default '0',
92     `TO_TIME` bigint(20) unsigned NOT NULL default '0',
93     PRIMARY KEY (`ID`),
94     KEY `ID_REG_index` (`ID_REG_CALIBTRK`),
95     CONSTRAINT `TRK_REG_fk` FOREIGN KEY (`ID_REG_CALIBTRK`) REFERENCES `GL_ROOT` (`ID`) ON DELETE CASCADE
96     ) TYPE=InnoDB;
97    
98    
99     CREATE TABLE `GL_PARAM` (
100     `ID` int(11) NOT NULL auto_increment,
101     `PATH` varchar(255) NOT NULL default '',
102     `NAME` varchar(255) NOT NULL default '',
103     `DESCR` varchar(255) NOT NULL default '',
104     `FROM_TIME` bigint(20) default NULL,
105     `TO_TIME` bigint(20) default NULL,
106     PRIMARY KEY (`ID`)
107     ) TYPE=InnoDB;
108    
109     CREATE TABLE `GL_TLE` (
110     `ID` int(11) NOT NULL auto_increment,
111     `TLE1` varchar(255) NOT NULL default '',
112     `TLE2` varchar(255) NOT NULL default '',
113     `TLE3` varchar(255) NOT NULL default '',
114     `INSERT_TIME` timestamp NOT NULL,
115     `VALID_FROM_TIME` bigint(20) default NULL,
116     `VALID_FROM_TO` bigint(20) default NULL,
117     `NOTE` varchar(255) NOT NULL default '',
118     PRIMARY KEY (`ID`)
119     ) TYPE=InnoDB;

  ViewVC Help
Powered by ViewVC 1.1.23