HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- looking for help:global sections that created by u...
Operating System - OpenVMS
1830044
Members
9444
Online
109998
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
Forums
Discussions
Discussions
Discussions
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
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
09-17-2006 02:18 PM
09-17-2006 02:18 PM
looking for help:global sections that created by using sys$crmpsc lose data
i used sys$crmpsc to creat a section with a file named *.section,after install the section,i used sys$mgblsc to map data to the section.when i restart the alpha computer and reinstall the section,sometimes the data in the section was right,but sometimes the data was lost or wrong.
what's the problem with my action?
what's the problem with my action?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2006 02:43 PM
09-17-2006 02:43 PM
Re: looking for help:global sections that created by using sys$crmpsc lose data
likuair,
How are you closing down the program that writes the data? You can force data written by the current process to be written back to disk with the $UPDSEC service.
You can specify a flag to write all pages back. Also note the service is asynchronous.
There's no simple means for making your program crash proof. Even if you update the section file after every write there, may still be timing windows where data can be lost. You may also find that the performance hit from having to update the disk after every update defeats the purpose of using a section file in the first place.
Cheap, Fast, Reliable, pick TWO.
How are you closing down the program that writes the data? You can force data written by the current process to be written back to disk with the $UPDSEC service.
You can specify a flag to write all pages back. Also note the service is asynchronous.
There's no simple means for making your program crash proof. Even if you update the section file after every write there, may still be timing windows where data can be lost. You may also find that the performance hit from having to update the disk after every update defeats the purpose of using a section file in the first place.
Cheap, Fast, Reliable, pick TWO.
A crucible of informative mistakes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2006 03:22 PM
09-17-2006 03:22 PM
Re: looking for help:global sections that created by using sys$crmpsc lose data
I have also tried using sys$updsecw after mapping data,but the problem has still happened.
And the flag that I used was
flags = SEC$M_WRT | SEC$M_GBL;
Are there really no means to sovle the problem?
maybe I can creat a new file named b.dat,and every hour write data that storing in the *.section to b.dat.When the problem happened ,I can rewrite the data in b.dat back to *.section.Is it OK?
And the flag that I used was
flags = SEC$M_WRT | SEC$M_GBL;
Are there really no means to sovle the problem?
maybe I can creat a new file named b.dat,and every hour write data that storing in the *.section to b.dat.When the problem happened ,I can rewrite the data in b.dat back to *.section.Is it OK?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2006 06:55 PM
09-17-2006 06:55 PM
Re: looking for help:global sections that created by using sys$crmpsc lose data
Our database makes extensive use of global sections. When the application has a clean shutdown there's no issues, but when a system is restarted after a crash, we have to rebuild any global sections. This leads to additional downtime after a crash.
We write files to signal normal shutdown/restart or unknown state rebuild required to restart proceedures.
As John points out, writing to disk negates many of the speed advantages using global sections.
Andy
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP