•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MS SQL section within the Web Development category of DaniWeb, a massive community of 373,915 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,693 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS SQL advertiser:
Views: 1960 | Replies: 2
![]() |
•
•
Join Date: Apr 2005
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
Accidentally one the member has compressed the disk drives in the SQL Server. Before we go ahead an uncompress the disk drives, we need to make sure that the database is unaffected.
1. What is the normal database compression ratio when Hard Disk is compressed?
2. Do uncompression of the Hard Disk will affect the database integrity?
3. If teh disk drives are uncompressed, what is the expected space the database would take?
Thank you very much.
regards,
Philips
Accidentally one the member has compressed the disk drives in the SQL Server. Before we go ahead an uncompress the disk drives, we need to make sure that the database is unaffected.
1. What is the normal database compression ratio when Hard Disk is compressed?
2. Do uncompression of the Hard Disk will affect the database integrity?
3. If teh disk drives are uncompressed, what is the expected space the database would take?
Thank you very much.
regards,
Philips
Hello,
I would get everyone out of the application / database before making a new backup of it. If you do not have an uncompressed backup of the database, then you could really be in trouble.
It is also possible that the volume is compressed, but the actual database file is not. Check the properties to be sure... because the filesystem (Microsoft Server) should automatically decompress the database when it is read... meaning it might be uncompressed! Go into Windows, and enable alternate colors for compressed files... the ones that are compressed will appear blue on your screen.
Check out http://www.ntfs.com/ntfs-compressed.htm
To answer your questions:
1) Depends on what is in your database. Raw numbers? Letters? Pictures? The data type has a direct relationship with how much can be compressed. I think a lot of people assume 50 percent.
2) It shouldn't, as the OS compressed the data, and you are not reporting any problems with it. I would still back it up to tape in a few places before doing something with it.
3) Assuming 50% compression ratio, when the file is expanded, it will be twice the size.
I would get everyone out of the application / database before making a new backup of it. If you do not have an uncompressed backup of the database, then you could really be in trouble.
It is also possible that the volume is compressed, but the actual database file is not. Check the properties to be sure... because the filesystem (Microsoft Server) should automatically decompress the database when it is read... meaning it might be uncompressed! Go into Windows, and enable alternate colors for compressed files... the ones that are compressed will appear blue on your screen.
Check out http://www.ntfs.com/ntfs-compressed.htm
To answer your questions:
1) Depends on what is in your database. Raw numbers? Letters? Pictures? The data type has a direct relationship with how much can be compressed. I think a lot of people assume 50 percent.
2) It shouldn't, as the OS compressed the data, and you are not reporting any problems with it. I would still back it up to tape in a few places before doing something with it.
3) Assuming 50% compression ratio, when the file is expanded, it will be twice the size.
•
•
Join Date: Apr 2005
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Thanks for your comments..
The database is running fine (with low performance) in compressed (disk drive) format. We need to make sure whether decompressing the disk drive will not harm the exisitng database.
Could please suggest/advice us how to recover the entire database which is in the compressed format to an uncompressed format without loosing any of the information?
Thanks once again.
regards,
Philips
The database is running fine (with low performance) in compressed (disk drive) format. We need to make sure whether decompressing the disk drive will not harm the exisitng database.
Could please suggest/advice us how to recover the entire database which is in the compressed format to an uncompressed format without loosing any of the information?
Thanks once again.
regards,
Philips
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MS SQL Marketplace
- memory management in wndows 2000 (Windows NT / 2000 / XP / 2003)
- Computer Cannot Detect Hard Disk Drives (Storage)
- For PCPro12: Computer Cannot Detect Hard Disk Drives (Storage)
- Another Trojan.Bookmarker.Gen (Viruses, Spyware and other Nasties)
Other Threads in the MS SQL Forum
- Previous Thread: How can I create a user defined function
- Next Thread: Snyc'n Local SQL database online



Linear Mode