بتاريخ: 17 نوفمبر 200520 سنة comment_51827 ارجو منكم التكرم بشرح الموضوعين الآتين لاني لم افهمهما واليكم نص الموضوعين :الموضوع الاول : Read ConsistencyDatabase users access the database in two ways:• Read operations (SELECT statement)• Write operations (INSERT, UPDATE, DELETE statements)You need read consistency so that the following occur:• The database reader and writer are ensured a consistent view of the data.• Readers do not view data that is in the process of being changed.• Writers are ensured that the changes to the database are done in a consistent way.• Changes made by one writer do not disrupt or conflict with changes another writer is making.The purpose of read consistency is to ensure that each user sees data as it existed at the last commit,before a DML operation started.الموضوع الثاني : LockingIn an Oracle database, locks:• Prevent destructive interaction betweenconcurrent transactions• Require no user action• Automatically use the lowest level ofrestrictiveness• Are held for the duration of the transaction• Are of two types: explicit locking and implicitlockingWhat Are Locks?Locks are mechanisms that prevent destructive interaction between transactions accessing the sameresource, either a user object (such as tables or rows) or a system object not visible to users (such asshared data structures and data dictionary rows).How the Oracle Database Locks DataOracle locking is performed automatically and requires no user action. Implicit locking occurs forSQL statements as necessary, depending on the action requested. Implicit locking occurs for all SQLstatements except SELECT.The users can also lock data manually, which is called explicit locking.وشكراً جزيلاً لكم تم تعديل 17 نوفمبر 200520 سنة بواسطة omar-alreyati تقديم بلاغ
بتاريخ: 17 نوفمبر 200520 سنة comment_51833 السلام عليكمالموضوع الاول : (مبدا القراءه)مستخدمي قاعدة البيانات لهم طريقتين للاستخدام1-عن طريق عرض المعلومات بما معناه (( select كمثال select * from emp_tbl2- عن طريق ادخال المعلومات او تعديلها او حدفهاوتحتاج الى مبدا القراءه للنقاط الاتيه1-للتاكد من المحافظه على (مبدا القراءه) لل القارئ و مدخل البيانات 2-القارئ لا يرى أي معلومات تكن حاليا تحت التعديل بل يرى المعلومات قبل التعديل الى في حالت ان تعديل البيانات تم حفظه3-مدخل البيانات يتاكد من ان ادخال المعلومات تم لوجود مبدا القراءه4-اي تعديلات عن طريق مستخدم لا تتعارض مع التعديلات لمستخدم اخراي مستحد يستطيع قراءة الي بيانات قد حفظت قبل اخر عملية تعديل للبيانات---------------------------------------------------------------------------------------------الموضوع الثاني : الاقفال 1-بمنع التعارض بين عمليات ادخال البيانات.2-لا يحتاج اي تدخل من قبل المستخدم3-يستخدم طريقة المستخدم الاضعف وا الاقل بمرحله لفك القفل4-المسؤول عن الوقت الخاص للعمليه5-نوعان من الاقفال*- التوماتيكي ليس للمستخدم دخل به يحدت عند اي عمليه ( (insert , update ,delete ,drop,….ectما عدا ال select لا تعمل اي اقفال*-اليدوي عن طريق المستخدم كمثال LOCK TABLE hr.emp IN share MODE;Alaa ali OCP DBA 9i تقديم بلاغ
بتاريخ: 20 نوفمبر 200520 سنة كاتب الموضوع comment_52106 الاخ العزيز هل من الممكن التوضيح أكثر ولك مني جزيل الشكر والامتنان تقديم بلاغ
بتاريخ: 20 نوفمبر 200520 سنة comment_52118 الاخ الكريمراجع هذا الرابطhttp://www.ucs.louisiana.edu/~oracle9i/ser...56/c21cnsis.htm تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.