从oracle将表导入到timesten的时候,表过大,提示导入错误信息:
802: Database permanent space exhausted
6220: Permanent data partition free space insufficient to allocate 33296 bytes
of memory
The command failed.
原因是DSN分配的临时内存过小,可以在DSN设置中修改设置:
1.控制面板-管理工具-数据源(ODBC)-“自己的DSN”-配置
2.修改配置并保存。
3.drop掉刚才导入失败的表,然后断开ttisql,重新连接之后再次导入即可。如果还是提示“临时空间不足”的话,继续扩大内存分配。
4.成功后的提示:
Command> createandloadfromoraquery test 2 select * from root.test;
Mapping query to this table:
CREATE TABLE "LION"."TEST" (
"ID" number NOT NULL,
"NAME" varchar2(20 byte),
"NOTE" varchar2(20 byte),
"MARK" varchar2(20 byte)
)
Table test created
500000 rows loaded from oracle.
转载于:https://blog.51cto.com/liyongyao/1208486