- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sybase dumps taking longer
Operating System - HP-UX
1753557
Members
5885
Online
108796
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО10-24-2001 06:50 AM
тАО10-24-2001 06:50 AM
Sybase dumps taking longer
Sybase dumps are taking 10 - 20 minutes longer. This started in July. The dump was exporting 7.7G to disk. Now in Oct the size is 8G.
Our normal processing has Sybase writing over the existing files. (This is now taking 20 minutes).
I changed the process slightly where I removed the files ahead of time and then let Sybase dump the file. I finished 12-15 minutes faster.
Why would removing a file then writing to it be faster than writing over the file?
Thanks in advance.
Our normal processing has Sybase writing over the existing files. (This is now taking 20 minutes).
I changed the process slightly where I removed the files ahead of time and then let Sybase dump the file. I finished 12-15 minutes faster.
Why would removing a file then writing to it be faster than writing over the file?
Thanks in advance.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 06:55 AM
тАО10-24-2001 06:55 AM
Re: Sybase dumps taking longer
When you "write" over a file, it first has to release that space back to the system, before it can start writing.
live free or die
harry
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:06 AM
тАО10-24-2001 07:06 AM
Re: Sybase dumps taking longer
Hi Dave:
This is not quite a fair comparison. How long does the rm phase take?
When you overwrite an existing file the creat system call is invoked which in turn invokes the truncate system call. Truncate sets the file length to 0 and returns the space to the OS. It's more complicated if other processes have this file open.
This is not quite a fair comparison. How long does the rm phase take?
When you overwrite an existing file the creat system call is invoked which in turn invokes the truncate system call. Truncate sets the file length to 0 and returns the space to the OS. It's more complicated if other processes have this file open.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:23 AM
тАО10-24-2001 07:23 AM
Re: Sybase dumps taking longer
Let me add some additional info.
There are 7 files ranging from 800M to 1.3G in size. My test removed all 7 files earlier in the day then had Sybase recreate these files.
"Giving the space back to the OS" - So what is happening in the background.
Would I lose my 12-15 minute gain if the script removed the files first then started the dump?
There are 7 files ranging from 800M to 1.3G in size. My test removed all 7 files earlier in the day then had Sybase recreate these files.
"Giving the space back to the OS" - So what is happening in the background.
Would I lose my 12-15 minute gain if the script removed the files first then started the dump?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP