- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- is the following statement true??
Operating System - HP-UX
1752291
Members
4425
Online
108786
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
тАО09-09-2003 06:06 AM
тАО09-09-2003 06:06 AM
is the following statement true??
I'm having commit statements within my procedure, is the following statement true??
"We usually should not be having commits inside the procedures/packages unless we have large transactions and not enough rollback seg. The commit or rollback has to be invoked form the calling process. "
I thought only in cursors we should not use commits!!!!
Thanks
"We usually should not be having commits inside the procedures/packages unless we have large transactions and not enough rollback seg. The commit or rollback has to be invoked form the calling process. "
I thought only in cursors we should not use commits!!!!
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2003 06:37 AM
тАО09-09-2003 06:37 AM
Re: is the following statement true??
The only possible answer to this question is "It depends". Unlike commits in cursors defined as SELECT FOR UPDATE where any fetches after a COMMIT statement will fail, your use of commits inside a procedure is optional and depends upon the intent of the software designer. For example, you might intend that anytime your procudure is called that the work done is immediately available to other Oracle instances or you might wish to ensure that all locks are released -- in those cases COMMIT's are valid uses. On the other hand, you probably would not want, as a side effect, a COMMIT within your procedure to actually trigger a commit of transactions made before the call to the procedure itself. Thus, the generally better approach is to avoid the commits within procedures but, again, "It depends."
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2003 06:41 AM
тАО09-09-2003 06:41 AM
Re: is the following statement true??
And on some databases COMMIT's invalidate open cursors and/or do not guarantee that the still open cursor is at the same position.
(temporary) AUTO-COMMIT might help in those situations.
Enjoy, have FUN! H.Merijn
(temporary) AUTO-COMMIT might help in those situations.
Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2003 07:05 AM
тАО09-09-2003 07:05 AM
Re: is the following statement true??
Thanks a lot people.
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