Transaction processing systems provide users with timely, accurate, and reliable access to data; for example, data in customer accounts. They protect business applications from data loss or corruption of data by:
Preserving data integrity by keeping track of updates and ensuring that they are committed in a consistent way across the whole network.
Providing reliability by keeping shared disks up-to-date, backed up in case of damage, and fully accessible at all times. Also, logging and tracking to ensure that many users can access and change the same data simultaneously.
Allowing for flexibility in the distribution of data. Applications do not need to know where data is located; they make simple calls for data, and servers determine where to find the data.
User data can be in the form of files, queues, and database entries. (A transaction processing system also uses data, called system data, to control its operation.)
For data access, the most important difference between data that is stored in a database and data that is stored in files or queues is the structure that the relational database manager imposes on the data. This structure dictates the application programming interface to the data and determines how easy or difficult it is to store and retrieve the data for a particular processing requirement. If the data is complex, the structure can be the overriding consideration.
A related difference is where the knowledge of the data structure is stored. In a database management system (DBMS), the logical structure of the data resides in the DBMS. The physical structure is also there, but it is not tied directly to the logical structure. Therefore, the physical structure can be changed considerably without changing the application code. In flat files, the logical structure of the data is embedded in the programs that are using it, and the logical and physical structures coincide.
The differences in function between DBMSs and traditional file access methods outside the application programming interface can be equally important. DBMSs provide services and utilities for managing recovery, sharing, and distribution that can be essential to an application. If data is voluminous, recovery and other management functions can determine the choice. If data needs to be distributed, facilities for managing the distributed data become crucial.
ระบบประมวลผลรายการให้ผู้ใช้ได้ทันเวลา ถูกต้อง และเชื่อถือได้ การเข้าถึงข้อมูล เช่น ข้อมูลในบัญชีลูกค้า พวกเขาปกป้องโปรแกรมประยุกต์ทางธุรกิจจากการสูญหายของข้อมูลหรือความเสียหายของข้อมูล โดย :
รักษาความสมบูรณ์ของข้อมูลโดยการติดตามการปรับปรุงและสร้างความมั่นใจว่าพวกเขาจะยอมรับในวิธีการที่สอดคล้องในเครือข่ายทั้งหมด
ให้ความน่าเชื่อถือ โดยการรักษาที่ทันสมัย ดิสก์ , การสำรองข้อมูลในกรณีของความเสียหายอย่างเต็มที่และสามารถเข้าถึงได้ตลอดเวลา นอกจากนี้ การบันทึกและติดตามเพื่อให้แน่ใจว่า ผู้ใช้หลายคนสามารถเข้าถึงและเปลี่ยนแปลงข้อมูลเดียวกันพร้อมกัน
อนุญาตให้มีความยืดหยุ่นในการกระจายของข้อมูล โปรแกรมไม่ต้องรู้ข้อมูลอยู่ จะโทรง่ายสำหรับข้อมูลและเซิร์ฟเวอร์ตรวจสอบที่หาข้อมูล และผู้ใช้ข้อมูล
อาจอยู่ในรูปแบบของไฟล์ , คิว , และรายการฐานข้อมูล ( ระบบประมวลผลธุรกรรมยังใช้ข้อมูล โทรข้อมูล ระบบการควบคุมการทำงาน ของ )
สำหรับการเข้าถึงข้อมูลที่สำคัญความแตกต่างระหว่างข้อมูลที่เก็บไว้ในฐานข้อมูลและข้อมูลที่เก็บไว้ในไฟล์ หรือคิว เป็นโครงสร้างที่ผู้จัดการฐานข้อมูลเก็บอยู่บนข้อมูล โครงสร้างนี้สั่งการโปรแกรมกับข้อมูลและกำหนดวิธีการที่ง่ายหรือยาก มันคือการจัดเก็บและเรียกใช้ข้อมูลความต้องการการประมวลผลโดยเฉพาะถ้าข้อมูลมีความซับซ้อน โครงสร้างสามารถเอาชนะการพิจารณา
ความแตกต่างที่เกี่ยวข้องกับความรู้ของโครงสร้างข้อมูลที่ถูกเก็บไว้ ในระบบบริหารจัดการฐานข้อมูล ( DBMS ) , โครงสร้างเชิงตรรกะของข้อมูลอยู่ในระบบการจัดการฐานข้อมูล . โครงสร้างทางกายภาพก็มี แต่ก็จะไม่เชื่อมโยงโดยตรงกับโครงสร้างเชิงตรรกะ ดังนั้นโครงสร้างทางกายภาพที่สามารถเปลี่ยนได้มากขึ้นโดยไม่ต้องเปลี่ยนโค้ดโปรแกรม ในแฟ้มแบน , โครงสร้างเชิงตรรกะของข้อมูลที่ฝังอยู่ในโปรแกรมที่ใช้ และโครงสร้างเชิงตรรกะและทางกายภาพเหมือนกัน
ความแตกต่างในหน้าที่ระหว่าง DBMSs และวิธีการเข้าถึงแฟ้มแบบดั้งเดิม นอกโปรแกรม ก็สำคัญไม่แพ้กันDBMSs ให้บริการและสาธารณูปโภคการจัดการกู้คืน , ใช้งานร่วมกัน , และการกระจายที่สามารถสรุปโปรแกรม ถ้าเป็นข้อมูลมากมาย , การกู้คืนและหน้าที่การจัดการอื่น ๆสามารถกำหนดทางเลือก ถ้าข้อมูลที่ต้องการจะแจกเครื่องสำหรับการจัดการข้อมูลแบบกระจายเป็นสำคัญ
การแปล กรุณารอสักครู่..
