OSDN Git Service

modified sql 20140213-2
[zither/ds-zither.git] / database / postgres / monitoring_table.sql
1
2 CREATE TABLE monitoring_table (
3         uukey_in       int not null,
4         msnumber_in    int not null,
5         moproto_in     int not null,
6         serverkey_in   int not null,
7         modport_in     int not null,
8         mailprno_in    int not null,
9         mailreno_in    int not null,
10         mostat_in      int not null,
11         msps_in        int,
12         premsps_in     int,
13         moextime_lin   bigint,
14         expitime_lin   bigint,
15         modhost_ch1024 char[1024],
16         moptions_ch256 char[256],
17         moinfo_ch1024  char[1024],
18         mukey_in       serial
19 );
20
21 COMMENT ON TABLE monitoring_table IS '';
22 COMMENT ON COLUMN monitoring_table.uukey_in IS '';
23 COMMENT ON COLUMN monitoring_table.msnumber_in IS '';
24 COMMENT ON COLUMN monitoring_table.moproto_in IS '';
25 COMMENT ON COLUMN monitoring_table.serverkey_in IS '';
26 COMMENT ON COLUMN monitoring_table.modport_in IS '';
27 COMMENT ON COLUMN monitoring_table.mailprno_in IS '';
28 COMMENT ON COLUMN monitoring_table.mailreno_in IS '';
29 COMMENT ON COLUMN monitoring_table.mostat_in IS '';
30 COMMENT ON COLUMN monitoring_table.msps_in IS '';
31 COMMENT ON COLUMN monitoring_table.premsps_in IS '';
32 COMMENT ON COLUMN monitoring_table.moextime_lin IS '';
33 COMMENT ON COLUMN monitoring_table.expitime_lin IS '';
34 COMMENT ON COLUMN monitoring_table.modhost_ch1024 IS '';
35 COMMENT ON COLUMN monitoring_table.moptions_ch256 IS '';
36 COMMENT ON COLUMN monitoring_table.moinfo_ch1024 IS '';
37 COMMENT ON COLUMN monitoring_table.mukey_in IS '';
38