|
导出5秒导入18秒
c:\Users\db2admin\backup>sql test_cpdb < copy.in
INGRES TERMINAL MONITOR Copyright 2012 Ingres Corporation
Vectorwise Microsoft Windows Version VW 2.5.1 (a64.win/162) login
Sun Sep 09 23:12:04 2012
Enter \g to execute commands, "help help\g" for help, \q to quit
continue
* * * * go
* * set autocommit on
Executing . . .
continue
* * set nojournaling
Executing . . .
continue
* go
* * set session with privileges=all
Executing . . .
continue
* * set decimal '.'
Executing . . .
continue
* * set date_format 'us'
Executing . . .
continue
* * set money_format 'l:$'
Executing . . .
continue
* * set money_prec '2'
Executing . . .
continue
* * set nocreate_compression
Executing . . .
continue
* * * * * * * * * * * * * * * * * *
/* TABLES */
create table part(
p_partkey integer not null,
p_name varchar(55) not null collate ucs_basic,
p_mfgr char(25) not null collate ucs_basic,
p_brand char(10) not null collate ucs_basic,
p_type varchar(25) not null collate ucs_basic,
p_size integer not null,
p_container char(10) not null collate ucs_basic,
p_retailprice decimal(15,2) not null,
p_comment varchar(23) not null collate ucs_basic,
PRIMARY KEY(p_partkey)
)
with structure=vectorwise,
location = (ii_database)
Executing . . .
continue
* * * * * * * * * * * * * * * *
/* VW_TABLE COPIES */
copy part(
p_partkey= c0tab,
p_name= varchar(0)tab,
p_mfgr= varchar(0)tab,
p_brand= varchar(0)tab,
p_type= varchar(0)tab,
p_size= c0tab,
p_container= varchar(0)tab,
p_retailprice= varchar(0)tab,
p_comment= varchar(0)nl,
nl= d0nl)
from 'c:/Users/db2admin/backup/part.db2admin'
with row_estimate = 2000000
Executing . . .
(2000000 rows)
continue
*
Vectorwise Version VW 2.5.1 (a64.win/162) logout
Sun Sep 09 23:12:22 2012
|
|