ITPub博客

首页 > 数据库 > 国内数据库 > 南大通用 GBase 8a 数据库加载故障分析(一):常见错误溯源与机理探究

南大通用 GBase 8a 数据库加载故障分析(一):常见错误溯源与机理探究

原创 国内数据库 作者:GBASE南大通用 时间:2025-09-01 17:03:28 0 删除 编辑

南大通用GBase 8a数据库常见加载错误及原因:


1、报Login denied uri
用例:
gbase> load data infile 'ftp://gbase:gbase123@172.16.128.11//home/gbase/*.tbl' into table test.tmp_lxj_1212_test data_format 3;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: Expanding wildcard operation failed with error - Login denied uri : ftp://gbase:********@172.16.128.11//home/gbase/%2a.tbl.
错误原因:gbase用户密码错误


2、报Couldn't connect to server
用例:
gbase> load data infile 'ftp://gbase:gbase@172.16.128.11//home/gbase/1.txt' into table test.tmp_lxj_1212_test data_format 3;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: I/O operation on ftp://gbase:*****@172.16.128.11//home/gbase/1.txt failed with error - Couldn't connect to server,

File name ftp://gbase:*****@172.16.128.11//home/gbase/1.txt
报错原因:ip地址错误或者vsftpd服务没有启动


3、报failed to get table distribution information.
用例:
gbase> load data infile 'ftp://gbase:gbase@172.16.128.11//home/gbase/1.txt' into table test.tmp_lxj_0621_test data_format 3;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: failed to get table distribution information.
报错原因:所涉及加载表不存在


4、报550 Could not get file size.
用例:
gbase> load data infile 'ftp://gbase:gbase@172.16.128.11//home/gbase/4.txt' into table test.tmp_lxj_1212_test data_format 3;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: I/O operation on ftp://gbase:*****@172.16.128.11//home/gbase/4.txt failed with error - 550 Could not get file size.,

File name ftp://gbase:*****@172.16.128.11//home/gbase/4.txt
错误原因:/home/gbase/4.txt 这个文件不存在


5、报Remote file not found uri
用例:
gbase> load data infile 'ftp://gbase:gbase@172.16.128.11//home/gbase/*.tbl' into table test.tmp_lxj_1212_test data_format 3;
ERROR 1733 (HY000): (GBA-01EX-700) Gbase general error: Expanding wildcard operation failed with error - Remote file not found uri:

ftp://gbase:*****@172.16.128.11//home/gbase/%2a.tbl.

错误原因:/home/gbase/*.tbl 没有匹配到文件,通配符文件不存在


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69979120/viewspace-3094699/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
GBASE南大通用,致力于成为用户最信赖的数据库产品供应商!

注册时间:2020-07-16

  • 博文量
    1319
  • 访问量
    1297411