溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

pgloader2.3.2使用

發(fā)布時間:2020-08-14 11:57:37 來源:ITPUB博客 閱讀:153 作者:hgs19921112 欄目:數(shù)據(jù)庫
掛載系統(tǒng)鏡像  yum install   pgloader-2.3.2-1.rhel6.x86_64.rpm
配置文件 
conf.conf
[pgsql]
host=192.168.245.132
port=5432
#database
base=postgres
user=postgres
pass=postgres
#log_file=/home/hgs/test/t.log
log_min_messages=INFO
#client_min_messages=log
lc_messages= C
client_encoding='utf-8' 
#input_encoding='utf-8'
copy_every=20000
commit_every=20000
#copy_delimiter=%
null=""
empty_string=""
max_parallel_sections=4
[pgloader]
table=x
format=text
filename=/home/hgs/test/test_11.bcp
field_sep=\t
columns=id,name
reject_log=/home/hgs/test/test.log
reject_data=/home/hgs/test/test.data
執(zhí)行 /usr/bin/pgloader -c conf.conf  -L  logfile




向AI問一下細節(jié)

免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權內(nèi)容。

AI