Home » RDBMS Server » Server Administration » Is it OK to coalease tblsp every hour
Is it OK to coalease tblsp every hour [message #138282] Wed, 21 September 2005 03:15 Go to next message
ivanlvwong
Messages: 1
Registered: September 2005
Location: Malaysia
Junior Member

Hi all,

I have a dev env that the free space is very fragmented. The previous DBA has written a nice script to coalease all the tblsp every hour. Is there any "bad" effect of doing this?
Re: Is it OK to coalease tblsp every hour [message #138286 is a reply to message #138282] Wed, 21 September 2005 03:28 Go to previous messageGo to next message
Jay Munshi
Messages: 30
Registered: July 2004
Member
Use LMT...lesser over head and if i am not wrong smon process has the coalescing task.

I do not think that your script has a huge perfomance impact...beneficial of otherwise.

regards,
Jay Munshi
http://jaydba.tripod.com
Re: Is it OK to coalesce tblsp every hour [message #138312 is a reply to message #138286] Wed, 21 September 2005 05:16 Go to previous messageGo to next message
alliejane
Messages: 59
Registered: July 2005
Location: Glasgow
Member
In LTM's coalesce is not required or performed by SMON or otherwise, if you use DMT's then the benefit of coalesce is limited to only bringing together adjacent extents therefor not really that useful..

As Jay says as of 8i Locally Managed Tablespaces became available and there is NO good reason not to use them, even if you have migrated from previous versions there are utilities to convert DMT's to LTM's, or you can use the alter table move tablespace; command to move DMT's segments to LMT's tablespaces..

Allie

[Updated on: Wed, 21 September 2005 05:17]

Report message to a moderator

Re: Is it OK to coalease tblsp every hour [message #138320 is a reply to message #138282] Wed, 21 September 2005 05:41 Go to previous messageGo to next message
Jay Munshi
Messages: 30
Registered: July 2004
Member
Importantly if you convert your DMT to LMT the fragmentation will remain. YOu will need to move your tables across tablespace and rebuild indexes for the fragmentation issue. Better it would be if you can create a new LMT and move data of DMT to LMT and drop the DMT.

Regards,
Jay Munshi
http://jaydba.tripod.com
Re: Is it OK to coalease tblsp every hour [message #138325 is a reply to message #138320] Wed, 21 September 2005 06:05 Go to previous message
alliejane
Messages: 59
Registered: July 2005
Location: Glasgow
Member
Good point Jay.. it would be far better to create a new one than convert an old one..

Cheers for mentioning it.

Allie
Previous Topic: Is it possible to set size of redo buffer to b nil (i.e. 0)?
Next Topic: Sun server vs Sun workstation for oracle server
Goto Forum:
  


Current Time: Fri Jan 10 10:21:39 CST 2025