日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

mysql导入greenplum_greenPlum中通过gpfdist导入文本数据到数据库表中

發布時間:2024/7/23 数据库 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mysql导入greenplum_greenPlum中通过gpfdist导入文本数据到数据库表中 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1.python版本要求2.4.4以上

[root@test install]# python

Python 2.6.2 (r262:71600, May 14 2009, 10:46:21)

[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>>

2.PyYAML 3.10包配置

YAML parser and emitter for Python

YAML is a data serialization format designed for human readability and interaction with scripting languages. PyYAML is a YAML parser and emitter for Python.

PyYAML features a complete YAML 1.1 parser, Unicode support, pickle support, capable extension API, and sensible error messages. PyYAML supports standard YAML tags and provides Python-specific tags that allow to represent an arbitrary Python object.

PyYAML is applicable for a broad range of tasks from complex configuration files to object serialization and persistance.

[root@test dataload]# tar -zxvf PyYAML-3.10.tar.gz[root@test PyYAML-3.10]# python setup.py install

3.yaml-0.1.4配置下載源代碼包:http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz。?編譯和安裝LibYAML

[root@test dataload]# tar -zxvf yaml-0.1.4.tar.gz[root@test dataload]# cd yaml-0.1.4[root@test yaml-0.1.4]# ./configure[root@test yaml-0.1.4]# make && make install

4.gpload.gpfdist工具配置下載:greenplum-loaders-4.2.1.0-build-2-RHEL5-x86_64.zip

[root@test dataload]# ./greenplum-loaders-4.2.1.0-build-2-RHEL5-x86_64.bin

********************************************************************************

Do you accept the Greenplum Loaders license agreement? [yes | no]

********************************************************************************選擇:yes 到安裝完成

總結

以上是生活随笔為你收集整理的mysql导入greenplum_greenPlum中通过gpfdist导入文本数据到数据库表中的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。