- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Compress DB
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 01:47 AM
тАО08-21-2003 01:47 AM
I need help as soon as possible please.
I got a request to we shut down on DB that's grown quite big, compress the file into a new file, and copy the new , smaller file across.
How do I do this ? I haven't got a clue !
Thanks
Regards
Rudi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 02:02 AM
тАО08-21-2003 02:02 AM
Re: Compress DB
-9 indicates the slowest compression method but best compression.
eg.
to compress:
# gzip -9 /stand/vmunix
to expand:
# gunzip /stand/vmunix
hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 02:13 AM
тАО08-21-2003 02:13 AM
Re: Compress DB
Thanx for the command , but I still am in the dark with compressing it to a new file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 02:16 AM
тАО08-21-2003 02:16 AM
Re: Compress DB
It's not possible to simply take a database file, run it through a normal file compression utility, and then let the database run against the compressed file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 07:58 PM
тАО08-21-2003 07:58 PM
SolutionDid you mean to compress the database data file. If so you cannot compress the datafile and re-create an empty new datafile. The database will not funtion at all.
If you know that your database has grown large, then you should ask your DBA to archive some of the old data. Move that data to a different tablespace or export that part of the data and save it some where. then you can shrink the remaining data, by exporting and coalesing the tablespaces.
If you were refering to the archive logs then you can compress the older archive logs and move them to a different file system.
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2003 09:08 AM
тАО08-22-2003 09:08 AM
Re: Compress DB
there was a function to compress an
MS ACCESS database.
Never heard about this for real RDBMS of any type.
Volker