Home » RDBMS Server » Performance Tuning » Tablespace Fragmentation !!
Tablespace Fragmentation !! [message #164374] Thu, 23 March 2006 03:48 Go to next message
AlinaC
Messages: 45
Registered: November 2005
Location: India
Member

FRAGMENTATION_STATUS of some tablespaces shows Bubble Frag. Can it create any problem to create procedure in database? how does it impact on overall performance of the databse? is it possible to convert dictionary managed tablespace to locally managed table space, and what is the command?



Regards,

Alina
Re: Tablespace Fragmentation !! [message #164381 is a reply to message #164374] Thu, 23 March 2006 04:15 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
What versions are we talking about here?
http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_spadmn.htm#i997300
Re: Tablespace Fragmentation !! [message #164383 is a reply to message #164374] Thu, 23 March 2006 04:20 Go to previous messageGo to next message
AlinaC
Messages: 45
Registered: November 2005
Location: India
Member

I'm talking about Oracle 9i.


Thanks,

Alina
Re: Tablespace Fragmentation !! [message #164402 is a reply to message #164374] Thu, 23 March 2006 05:41 Go to previous messageGo to next message
AlinaC
Messages: 45
Registered: November 2005
Location: India
Member

trying to execute as
exec sys.dbms_space_admin .tablespace_migrate_to_local('tablespace_name')

but error reported as
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'SYS.DBMS_SPACE_ADMIN' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

Pl. help to convert locally managed tablespace. using oracle 9i


Regards,
Alina
Re: Tablespace Fragmentation !! [message #164416 is a reply to message #164402] Thu, 23 March 2006 06:21 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
You have to this as SYS user and database should be in restricted mode.
Sql> Startup restrict;
sql> exec your_procedure.
If SYS user is not doing this, you need to give execute priviliges on the USER executing this.

More information in documentation.

[Updated on: Thu, 23 March 2006 06:25]

Report message to a moderator

Re: Tablespace Fragmentation !! [message #164426 is a reply to message #164374] Thu, 23 March 2006 06:46 Go to previous messageGo to next message
AlinaC
Messages: 45
Registered: November 2005
Location: India
Member

Is there any way to stop Bubble Fragmentation in locally managed tablespaces?


Alina
Re: Tablespace Fragmentation !! [message #164431 is a reply to message #164426] Thu, 23 March 2006 07:07 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Please search Orafaq.com about what fragmentation is and what LMT can do for it. As long as you have the LMT with UNIFORM extent size, you can very minimise this. Technically sttill, you cannot completely avoid fragmentation in the block level( depends on your PCTFREE/PCTUSED) or row level ( a row migration/chaining cannot be avoided). For now, it is ***almost*** safe to say,
Use LMT with UNIFORM extent size and there is no fragmentation.

[Updated on: Thu, 23 March 2006 07:07]

Report message to a moderator

Previous Topic: tablespace
Next Topic: TUNING HIGH DISK READ
Goto Forum:
  


Current Time: Wed Nov 27 08:41:05 CST 2024