- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- oracle select from table & update (lock)
Operating System - HP-UX
1753618
Members
5737
Online
108797
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
Go to solution
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
тАО08-16-2004 04:15 AM
тАО08-16-2004 04:15 AM
Hello,
I am looking for this (I hope) simple information:
When I run select * from long_table (takes a minutes before giving output) and during this time somebody update/insert last row of this table. Is this change shown at my output ??
In other words: Is select in specific time real snapshot of table ? Or it is getting row by row with its current data ?
Purpose of know this is:
I want to compare two tables within two databases on different sites. Tables are still under changes (by customers). 1st DB is master and 2nd is copy. I want to find discrepances done by imperfect synchronisation (relative updates). My idea is to launch select in specific time on both databases in low-peak period and than compare and find differences.
Do you know how does Oracle /select works or ideas with comparation?
I am looking for this (I hope) simple information:
When I run select * from long_table (takes a minutes before giving output) and during this time somebody update/insert last row of this table. Is this change shown at my output ??
In other words: Is select in specific time real snapshot of table ? Or it is getting row by row with its current data ?
Purpose of know this is:
I want to compare two tables within two databases on different sites. Tables are still under changes (by customers). 1st DB is master and 2nd is copy. I want to find discrepances done by imperfect synchronisation (relative updates). My idea is to launch select in specific time on both databases in low-peak period and than compare and find differences.
Do you know how does Oracle /select works or ideas with comparation?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2004 05:53 AM
тАО08-16-2004 05:53 AM
Solution
Hi,
this question relates to the isolation level of a database transaction. Additional Info in the net, i.e. here:
http://www.cise.ufl.edu/help/database/oracle-docs/server.920/a96524/c21cnsis.htm
Hope this helps
Volker
this question relates to the isolation level of a database transaction. Additional Info in the net, i.e. here:
http://www.cise.ufl.edu/help/database/oracle-docs/server.920/a96524/c21cnsis.htm
Hope this helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2004 07:45 PM
тАО08-16-2004 07:45 PM
Re: oracle select from table & update (lock)
Thank you. It's long reading but it has my information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2004 10:17 PM
тАО08-16-2004 10:17 PM
Re: oracle select from table & update (lock)
Oracle implements consistency to guarantee that the data seen by a statement or transaction does not change until that statement or transaction completes.
Oracle always use statement-level consistency, which ensures that the data visible to a statement does not change during the life of that statement.
Oracle never user locks for reading operations, since reading operations will never block writing operations. Instead rollback segments are used to re-create the image needed.
Rollback segments are released for reuse when the transaction writing to them commits.
Sometimes a consistent image can't be created. In this case, Oracle give exception "snapshot too old" or "can't serialize access for this transaction".
sks
Oracle always use statement-level consistency, which ensures that the data visible to a statement does not change during the life of that statement.
Oracle never user locks for reading operations, since reading operations will never block writing operations. Instead rollback segments are used to re-create the image needed.
Rollback segments are released for reuse when the transaction writing to them commits.
Sometimes a consistent image can't be created. In this case, Oracle give exception "snapshot too old" or "can't serialize access for this transaction".
sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
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