Unix Technical Forum

Compress database

This is a discussion on Compress database within the Oracle Database forums, part of the Database Server Software category; --> will it ok if I compress database files like datafiles, controlfiles and redo log files with ntfs compress utility. ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 03:24 AM
oracle dba
 
Posts: n/a
Default Compress database

will it ok if I compress database files like datafiles, controlfiles
and redo log files with ntfs compress utility.
I mean will it not corrupt the database or it is ok.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 03:24 AM
Oradba Linux
 
Posts: n/a
Default Re: Compress database

oracle dba wrote:
> will it ok if I compress database files like datafiles, controlfiles
> and redo log files with ntfs compress utility.
> I mean will it not corrupt the database or it is ok.
>

It is not ok to compress db files when the database is open
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-26-2008, 03:24 AM
gazzag
 
Posts: n/a
Default Re: Compress database

oracle dba wrote:
> will it ok if I compress database files like datafiles, controlfiles
> and redo log files with ntfs compress utility.
> I mean will it not corrupt the database or it is ok.


Why? What exactly are you trying to achieve?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-26-2008, 03:24 AM
sybrandb
 
Posts: n/a
Default Re: Compress database



On Jan 11, 10:10 am, "oracle dba" <aoracle...@gmail.com> wrote:
> will it ok if I compress database files like datafiles, controlfiles
> and redo log files with ntfs compress utility.
> I mean will it not corrupt the database or it is ok.


Theoretically you could locate datafiles on a compressed disk, but you
will probably perceive a performance hit.
As disk is cheap nowadays, you will probably create more problems than
you are trying to resolve. Also : what are you trying to resolve? Lack
of disk space?
Then go to the shop around the corner and buy disks.

--
Sybrand Bakker
Senior Oracle DBA

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-26-2008, 03:25 AM
Niall Litchfield
 
Posts: n/a
Default Re: Compress database


oracle dba wrote:

> will it ok if I compress database files like datafiles, controlfiles
> and redo log files with ntfs compress utility.
> I mean will it not corrupt the database or it is ok.


Here's a reply I wrote a couple of days ago to a remarkably similar
enquiry on Oracle-l. Sorry for those who read both.

You can do it at least to regular Oracle datafiles (laptop short of
space discovery to thank for that, right along with you can hibernate
an oracle database server just fine...) using NTFS compression (choose
compress on the datafile directories in explorer). There will be a
performance impact on the server and database (server CPU will be
higher, disk io will be slower for the db) and it is almost certainly
not supported by Oracle.

I'd be pushing back against this one though. Being asked to manage logs
and archives is perfectly reasonable in my book. Being asked to
compress production databases is unreasonable.

Niall Litchfield
Oracle DBA
http://www.orawin.info/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-26-2008, 03:25 AM
sybrandb
 
Posts: n/a
Default Re: Compress database



On Jan 11, 1:46 pm, "Niall Litchfield" <niall.litchfi...@gmail.com>
wrote:
> oracle dba wrote:
> > will it ok if I compress database files like datafiles, controlfiles
> > and redo log files with ntfs compress utility.
> > I mean will it not corrupt the database or it is ok.Here's a reply I wrote a couple of days ago to a remarkably similar

> enquiry on Oracle-l. Sorry for those who read both.
>
> You can do it at least to regular Oracle datafiles (laptop short of
> space discovery to thank for that, right along with you can hibernate
> an oracle database server just fine...) using NTFS compression (choose
> compress on the datafile directories in explorer). There will be a
> performance impact on the server and database (server CPU will be
> higher, disk io will be slower for the db) and it is almost certainly
> not supported by Oracle.
>
> I'd be pushing back against this one though. Being asked to manage logs
> and archives is perfectly reasonable in my book. Being asked to
> compress production databases is unreasonable.
>
> Niall Litchfield
> Oracle DBAhttp://www.orawin.info/



Fully agree. One doesn't want to hear OTS tell you 'We don't support
this' after disaster already has struck.

--
Sybrand Bakker
Senior Oracle DBA

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com