63 lines
1.7 KiB
MySQL
63 lines
1.7 KiB
MySQL
|
|
-- Create table
|
|||
|
|
create table FX_HTTP_URL
|
|||
|
|
(
|
|||
|
|
REGION_ID NUMBER not null,
|
|||
|
|
GROUP_ID NUMBER not null,
|
|||
|
|
KEYWORDS VARCHAR2(1024) not null,
|
|||
|
|
EXPR_TYPE NUMBER not null,
|
|||
|
|
MATCH_METHOD NUMBER not null,
|
|||
|
|
IS_HEXBIN NUMBER default 0 not null,
|
|||
|
|
IS_VALID NUMBER not null,
|
|||
|
|
OP_TIME DATE not null,
|
|||
|
|
PROC_SEQ NUMBER,
|
|||
|
|
LAST_UPDATE DATE
|
|||
|
|
)
|
|||
|
|
tablespace GK_PZ
|
|||
|
|
pctfree 10
|
|||
|
|
initrans 1
|
|||
|
|
maxtrans 255
|
|||
|
|
storage
|
|||
|
|
(
|
|||
|
|
initial 64K
|
|||
|
|
next 1M
|
|||
|
|
minextents 1
|
|||
|
|
maxextents unlimited
|
|||
|
|
);
|
|||
|
|
-- Add comments to the columns
|
|||
|
|
comment on column FX_HTTP_URL.REGION_ID
|
|||
|
|
is '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
comment on column FX_HTTP_URL.GROUP_ID
|
|||
|
|
is '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>÷<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD>group_id';
|
|||
|
|
comment on column FX_HTTP_URL.KEYWORDS
|
|||
|
|
is 'expr_type:1,ʱ<><CAB1> keywords<64>С<EFBFBD>,<2C>ӱ<EFBFBD><D3B1><EFBFBD>ʽ<EFBFBD>еġ<D0B5>&<26><>ת<EFBFBD>塣';
|
|||
|
|
comment on column FX_HTTP_URL.EXPR_TYPE
|
|||
|
|
is '0:<3A>ޱ<EFBFBD><DEB1><EFBFBD>ʽ,1:<3A><>ʾΪ<CABE><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ';
|
|||
|
|
comment on column FX_HTTP_URL.MATCH_METHOD
|
|||
|
|
is 'expr_type:0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD>壬<EFBFBD><E5A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30>
|
|||
|
|
0<EFBFBD><EFBFBD><EFBFBD>Ӵ<EFBFBD>ƥ<EFBFBD>䣻1<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD>䣻2<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD>䣻3<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫƥ<EFBFBD><EFBFBD>
|
|||
|
|
';
|
|||
|
|
comment on column FX_HTTP_URL.IS_HEXBIN
|
|||
|
|
is 'Ĭ<EFBFBD><EFBFBD>Ϊ0:<3A><>Сд<D0A1><D0B4><EFBFBD><EFBFBD><EFBFBD>У<EFBFBD><D0A3>ҷ<EFBFBD>HEX 1:HEX<45><58>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2:<3A><>Сд<D0A1><D0B4><EFBFBD>У<EFBFBD><D0A3>ҷ<EFBFBD>HEX<45><58><EFBFBD><EFBFBD><EFBFBD>Ƹ<EFBFBD>ʽ<EFBFBD><CABD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1>룬<EFBFBD><EBA3AC>table_info.conf<6E>ļ<EFBFBD><C4BC><EFBFBD>do_merge<67><65><EFBFBD><EFBFBD>';
|
|||
|
|
comment on column FX_HTTP_URL.IS_VALID
|
|||
|
|
is '0<EFBFBD><EFBFBD>Ч<EFBFBD><EFBFBD>1<EFBFBD><EFBFBD>Ч';
|
|||
|
|
-- Create/Recreate primary, unique and foreign key constraints
|
|||
|
|
alter table FX_HTTP_URL
|
|||
|
|
add constraint PK_FX_HTTP_URL primary key (REGION_ID)
|
|||
|
|
using index
|
|||
|
|
tablespace GK_PZ
|
|||
|
|
pctfree 10
|
|||
|
|
initrans 2
|
|||
|
|
maxtrans 255
|
|||
|
|
storage
|
|||
|
|
(
|
|||
|
|
initial 64K
|
|||
|
|
next 1M
|
|||
|
|
minextents 1
|
|||
|
|
maxextents unlimited
|
|||
|
|
);
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
alter table dns_response_strategy add column MIN_TTL integer not null;
|
|||
|
|
alter table dns_response_strategy add column MAX_TTL integer not null;
|