【Oracle】ORA-30659: too many locations specified for external table

博客讲述了一个少见的Oracle报错ORA - 30659,即外部表指定位置过多。官方解释是创建外部表时指定位置超过最大允许数量(32767),建议减少位置子句,可考虑拼接输入文件或拆分创建两个外部表,博主测试最多可同时加载32767个外部文件。

虽然这是一个“特别特别特别”难遇到的报错,但还是写出来吧,没准有同样和我一样,好奇外部表可以加载多少文件的童鞋呢。oracle官方文档是这样解释的:

ORA-30659: too many locations specified for external table

Cause: An attempt was made to create an External Organized table with more than the maximum allowable (32767) locations specified.

Action: Don't do that, use fewer location clauses. Either consider concatenating the input files, or, creating two external tables with the input files split between them.

并且我已经测试过了(手动捂脸),最多可以同时加载32767个外部文件。

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值