meta name robots中name=coninfo是什么意思

查看: 3708|回复: 15
调整对象的存放表空间,怎么MOVE含有大字段(BLOB)的表?
论坛徽章:4
刚接收一家公司DBA的工作,以前的数据库对象存放很乱,表跟索引等都放在了同一个表空间中,日志表(大表)跟一般的小表都放在一起,有些大表中含有大字段,我重新创建独立的表空间用于大表,可是MOVE的时候发现如果表中含有LONG等的字段类型的表不支持MOVE,有什么方法可以进行吗??
论坛徽章:12
用EXP\IMP 应该可以
论坛徽章:4
我也想过这种办法,可是,这样的话,这几张表都要被DELETE掉以后,再倒入数据,对应用也许会有影响,如果没有更好的方法,就考虑这种方法......那位大侠有更好的方法吗??先谢那
论坛徽章:1
要不把小表转走,大表留下
论坛徽章:12
可以先不DROP 试一下 RENMAE TABLE
论坛徽章:4
RE: Move table to new tablespace..-31449
RE: Move table to new tablespace..
From: &Freeman, Robert & [Email Address Removed]
Subject: RE: Move table to new tablespace..
Date: Tue, 23 Apr :19 -0400
Well....maybe not... :-))
In 9i there is a new feature that will allow you to convert a LONG
to a LOB datatype... so, c a r e f u l l y you could investigate
that option which would allow you to then use the ALTER TABLE MOVE...
Robert G. Freeman
Author Oracle9i New Features by Oracle Press
Mastering Oracle8i By Sybex
-----Original Message-----
From: Ganesh Raja [Email Address Removed] Monday, April 22,
Discussion
Subject: RE: Move table to new tablespace..
Export and import... That is the Only way to do it.
Best Regards,
Tel : +971 (4) 397 3337 Ext 420
Fax : +971 (4) 397 6262
HP : +971 (50) 745 6019
============================================
Live to learn... forget... and learn again.
============================================
-----Original Message-----
From: [Email Address Removed] [Email Address Removed] Monday, April 22,
Discussion
Subject: Move table to new tablespace..
Alter table xyz
move &tablespace name&
moves the table to the tablespace specified,
but could any one tell how to move table have a long field datatype to a
another tablespace.
thank you in advance.
试试先。。。。。
论坛徽章:4
调整大表原因是因为以前这些表空间都是按默认创建的,EXTENT SIZE 很小,导致现在大表的EXTENT NUMBER 太多,所以大表留下的话,没有什么意义。
论坛徽章:304
怎么会不支持?
你想找答案,却连问题的背景都没说明。至少你得说明数据库是多少版本的!
我在9205里完全没问题。
论坛徽章:4
SQLPLUS& CREATE TABLE TEST
(RESERVED& && && & BLOB,
& &IMG_LICENSE& && & LONG
表已创建。
SQL& ALTER TABLE TEST MOVE TABLESPACE CWMLITE;
ALTER TABLE TEST MOVE TABLESPACE CWMLITE
ERROR 位于第 1 行:
ORA-00997: 非法使用 LONG 数据类型
SQLPLUS&alter table test modify (IMG_LICENSE BLOB;
alter table test modify (IMG_LICENSE BLOB)
& && && && && && && && & *
ERROR 位于第 1 行:
ORA-22859: 无效的列修改
SQLPLUS&alter table test modify (IMG_LICENSE CLOB);
表已更改。
SQL& ALTER TABLE TEST MOVE TABLESPACE CWMLITE;
表已更改。
看来是MOVE是支持LOB字段的,但是不支持LONG,可以在9I中将LONG转成CLOB,在进行MOVE
论坛徽章:4
Re: 怎么会不支持?
最初由 ZALBB 发布
[B]你想找答案,却连问题的背景都没说明。至少你得说明数据库是多少版本的!
我在9205里完全没问题。 [/B]
谢谢帮助.....下次一定说明背景
itpub.net All Right Reserved. 北京皓辰网域网络信息技术有限公司版权所有    
 北京市公安局海淀分局网监中心备案编号: 广播电视节目制作经营许可证:编号(京)字第1149号

我要回帖

更多关于 meta name robots 的文章

 

随机推荐