ngân hàng đề cơ sở dữ liệu phân tán

71 627 1
ngân hàng đề cơ sở dữ liệu phân tán

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Exercise • • General Questions True or False "You cannot shake hands with a clenched fist." - Indira Gandhi A distributed database has which of the following advantages over a centralized database? A Software cost B.Software complexity C.Slow Response D Modular growth An autonomous homogenous environment is which of the following? A.The same DBMS is at each node and each DBMS works independently B.The same DBMS is at each node and a central DBMS coordinates database access C.A different DBMS is at each node and each DBMS works independently D.A different DBMS is at each node and a central DBMS coordinates database access 2a Một môi trường tự trị là: A Cùng hệ quản trị sở liệu nút hệ quản trị sở liệu làm việc độc lập B Cùng hệ quản trị sở liệu nút hệ quản trị sở liệu trung tâm phối hợp việc truy nhập sở liệu C Các hệ quản trị sở liệu khác nút hệ quản trị sở liệu làm việc độc lập D Các hệ quản trị sở liệu khác nút hệ quản trị sở liệu trung tâm phối hợp việc truy nhập sở liệu DA: A A transaction manager is which of the following? A Maintains a log of transactions B.Maintains before and after database images C.Maintains appropriate concurrency control D All of the above Location transparency allows for which of the following? A Users to treat the data as if it is at one location B.Programmers to treat the data as if it is at one location C.Managers to treat the data as if it is at one location D All of the above A heterogeneous distributed database is which of the following? A The same DBMS is used at each location and data are not distributed across all nodes B.The same DBMS is used at each location and data are distributed across all nodes C.A different DBMS is used at each location and data are not distributed across all nodes D A different DBMS is used at each location and data are distributed across all nodes A heterogeneous distributed database is which of the following? A The same DBMS is used at each location and data are not distributed across all nodes B The same DBMS is used at each location and data are distributed across all nodes C A different DBMS is used at each location and data are not distributed across all nodes D A different DBMS is used at each location and data are distributed across all nodes 8b Một sở liệu phân tán không có: A Cùng hệ quản trị sở liệu nút liệu không phân tán nút B Cùng hệ quản trị sở liệu nút liệu phân tán nút C Các hệ quản trị sở liệu khác nút liệu không phân tán nút D Các hệ quản trị sở liệu khác nút liệu phân tán nút A distributed database has which of the following advantages over a centralized database? A Software cost B.Software complexity C.Slow Response D.Modular growth An autonomous homogenous environment is which of the following? A The same DBMS is at each node and each DBMS works independently B.The same DBMS is at each node and a central DBMS coordinates database access C.A different DBMS is at each node and each DBMS works independently D.A different DBMS is at each node and a central DBMS coordinates database access A transaction manager is which of the following? A Maintains a log of transactions B.Maintains before and after database images C.Maintains appropriate concurrency control D.All of the above Location transparency allows for which of the following? A.Users to treat the data as if it is at one location B.Programmers to treat the data as if it is at one location C.Managers to treat the data as if it is at one location D.All of the above A heterogeneous distributed database is which of the following? A The same DBMS is used at each location and data are not distributed across all nodes B.The same DBMS is used at each location and data are distributed across all nodes C.A different DBMS is used at each location and data are not distributed across all nodes D.A different DBMS is used at each location and data are distributed across all nodes Some of the columns of a relation are at different sites is which of the following? A Data Replication B.Horizontal Partitioning C.Vertical Partitioning D.Horizontal and Vertical Partitioning Which of the following is true concerning a global transaction? A The required data are at one local site and the distributed DBMS routes requests as necessary B.The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary C.The required data are at one local site and the distributed DBMS passes the request to only the local DBMS D.The required data are located in at least one nonlocal site and the distributed DBMS passes the request to only the local DBMS A homogenous distributed database is which of the following? A The same DBMS is used at each location and data are not distributed across all nodes B.The same DBMS is used at each location and data are distributed across all nodes C.A different DBMS is used at each location and data are not distributed across all nodes D.A different DBMS is used at each location and data are distributed across all nodes Replication should be used when which of the following exist? A When transmission speeds and capacity in a network prohibit frequent refreshing of large tables B.When using many nodes with different operating systems and DBMSs and database designs C.The application's data can be somewhat out-of-date D.All of the above 10 Storing a separate copy of the database at multiple locations is which of the following? A Data Replication B.Horizontal Partitioning C.Vertical Partitioning D.Horizontal and Vertical Partitioning 11 A distributed database is which of the following? A A single logical database that is spread to multiple locations and is interconnected by a network B.A loose collection of file that is spread to multiple locations and is interconnected by a network C.A single logical database that is limited to one location D.A loose collection of file that is limited to one location 12 A semijoin is which of the following? A Only the joining attributes are sent from one site to another and then all of the rows are returned B.All of the attributes are sent from one site to another and then only the required rows are returned C.Only the joining attributes are sent from one site to another and then only the required rows are returned D.All of the attributes are sent from one site to another and then only the required rows are returned 13 Which of the following is a disadvantage of replication? A Reduced network traffic B.If the database fails at one site, a copy can be located at another site C.Each site must have the same storage capacity D.Each transaction may proceed without coordination across the network 14 A distributed database can use which of the following strategies? A Totally centralized at one location and accessed by many sites B.Partially or totally replicated across sites C.Partitioned into segments at different sites D.All of the above 15 Which of the following is not one of the stages in the evolution of distributed DBMS? A Unit of work B.Remote unit of work C.Distributed unit of Work D.Distributed request Cho khóa ghi cho hạng mục liệu x giao dịch m: ( wlm(x)) khóa cho hạng mục liệu x giao dịch m ( rlm(x)) Xác định trường hợp cho phép tương thích hai giao dịch i j A wli(x) rlj(x) B wlj(x) rli(x) C wli(x) wlj(x) D rli(x) rlj(x) Người sử dụng A đưa lệnh UPDATE emp SET id=200 WHERE id=1 Rồi người sử dụng B đưa lệnh UPDATE emp SET id=300 WHERE id=1 Người sử dụng B thông báo lệnh UPDATE bị treo Có thể giải để người sử dụng B tiếp tục làm việc? A Không làm B Yêu cầu người sử dụng B thoát khỏi lệnh C Yêu cầu người sử dụng A chuyển giao giao dịch D Yêu cầu người sử dụng B chuyển giao giao dịch DA: C A B C D Trình tự truy vấn phân tán Định vị liệu, Phân rã truy vấn, Tối ưu hóa tổng thể, Tối ưu hóa cục Phân rã truy vấn, Định vị liệu, Tối ưu hóa tổng thể, Tối ưu hóa cục Tối ưu hóa tổng thể, Phân rã truy vấn, Định vị liệu, Tối ưu hóa cục Tối ưu hóa cục Phân rã truy vấn, Định vị liệu, Tối ưu hóa tổng thể, DA: B 5a Xử lý tương tranh với nhãn thời gian: Cho TS(x)=t3 WTS(x)= t1 với t1 then [if seats are available] Select NAME, ADDRESS, PHONENO into $NAME, $ADDRESS, $PHONENO from PASSENGER where PCODE = PNO; insert into RESERVATION (PCODE, FNO, SEATNO) values (PCODE, FNO, $SEATNO); if not FOUND then read (NPCODE, NNAME, NADDRESS, NPHONENO); insert into PASSENGER(PCODE, NAME, ADDRESS, PHONENO) values (NPCODE, ‘NNAME’, ‘NADDRESS’, ‘NPHONENO’); insert into RESERVATION (PCODE, FNO, SEATNO) values (NPCODE, RFNO, $SEATNO); Location Transparency (Level 2): read (PNO, RFNO); Select TOTALSEAT into $TOTALSEAT from FLIGHT1 where FNO = RFNO; If $TOTALSEAT > then [if seats are available] Select NAME, ADDRESS, PHONENO into $NAME, $ADDRESS, $PHONENO from PASSENGER1 where PCODE = PNO; insert into RESERVATION1 (PCODE, FNO, SEATNO) values (PCODE, FNO, $SEATNO); if not FOUND then read (NPCODE, NNAME, NADDRESS, NPHONENO); insert into PASSENGER1 (PCODE, NAME, ADDRESS, PHONENO) values (NPCODE, ‘NNAME’, ‘NADDRESS’, ‘NPHONENO’); insert into RESERVATION1 (PCODE, FNO, SEATNO) values (NPCODE, RFNO, $SEATNO); if not FOUND then Select TOTALSEAT into $TOTALSEAT from FLIGHT2 where FNO = RFNO; If $TOTALSEAT > then [if seats are available] Select NAME, ADDRESS, PHONENO into $NAME, $ADDRESS, $PHONENO from PASSENGER2 where PCODE = PNO; insert into RESERVATION2 (PCODE, FNO, SEATNO) values (PCODE, FNO, $SEATNO); if not FOUND then read (NPCODE, NNAME, NADDRESS, NPHONENO); insert into PASSENGER2 (PCODE, NAME, ADDRESS, PHONENO) values (NPCODE, ‘NNAME’, ‘NADDRESS’, ‘NPHONENO’); insert into RESERVATION2 (PCODE, FNO, SEATNO) values (NPCODE, RFNO, $SEATNO); if not FOUND then Select TOTALSEAT into $TOTALSEAT from FLIGHT3 where FNO = RFNO; If $TOTALSEAT > then [if seats are available] Select NAME, ADDRESS, PHONENO into $NAME, $ADDRESS, $PHONENO from PASSENGER3 where PCODE = PNO; insert into RESERVATION3 (PCODE, FNO, SEATNO) values (PCODE, FNO, $SEATNO); if not FOUND then read (NPCODE, NNAME, NADDRESS, NPHONENO); insert into PASSENGER3 (PCODE, NAME, ADDRESS, PHONENO) values (NPCODE, ‘NNAME’, ‘NADDRESS’, ‘NPHONENO’); insert into RESERVATION3 (PCODE, FNO, SEATNO) values (NPCODE, RFNO, $SEATNO); if not FOUND then Select TOTALSEAT into $TOTALSEAT from FLIGHT4 where FNO = RFNO; If $TOTALSEAT > then [if seats are available] Select NAME, ADDRESS, PHONENO into $NAME, $ADDRESS, $PHONENO from PASSENGER4 where PCODE = PNO; insert into RESERVATION4 (PCODE, FNO, SEATNO) values (PCODE, FNO, $SEATNO); if not FOUND then read (NPCODE, NNAME, NADDRESS, NPHONENO); insert into PASSENGER4 (PCODE, NAME, ADDRESS, PHONENO) values (NPCODE, ‘NNAME’, ‘NADDRESS’, ‘NPHONENO’); insert into RESERVATION4 (PCODE, FNO, SEATNO) values (NPCODE, RFNO, $SEATNO); The above application at the level of local mapping transparency can be written in the same way 10 Simplify the following query using the idempotency rules: SELECT ENO FROM ASG WHERE (NOT (TITLE = ‘PROGRAMMER’) AND (TITLE = ‘PROGRAMMER’ OR TITLE = ‘ELECT.ENG’) AND NOT (TITLE = ‘ELECT.ENG’)) OR ENAME = ‘J.DAS’ [WBUT B.TECH (CSE) – 2002] Answer: Let p1 = TITLE = ‘PROGRAMMER’, p2 = TITLE = ‘ELECT ENG’, and p3 = ENAME = ‘J.DAS’ Thus, the above query qualification can be rewrite as follows: (¬ p1 ∧ (p1 ∨ p2) ∧ ¬ p2) ∨ p3 By applying the idempotency rule, [p1 ∧ (p2 ∨ p3) ⇔ (p1 ∧ p2) ∨ (p1 ∧ p3)], the disjunctive normal form for the above qualification can be rewritten as (¬ p1 ∧ ((p1 ∧ ¬ p2) ∨ (p2 ∧ ¬ p2))) ∨ p3 ⇔ (¬ p1 ∧ p1 ∧ ¬ p2) ∨ (¬ p1 ∧ p2 ∧ ¬ p2) ∨ p3 [By applying the same idempotency rule] ⇔ (false ∧ ¬ p2) ∨ (¬ p1 ∧ false) ∨ p3 [By applying idempotency rule] ⇔ false ∨ false ∨ p3 ⇔ p3 Thus, the above SQL query can be simplified as SELECT ENO FROM ASG WHERE ENAME = ‘J.DAS’ 11 Consider the following schemas: EMP = (ENO, ENAME, TITLE) ASG = (ENO, PNO, RESP, DUR) PROJ = (PNO, PNAME, BUDGET, LOC) Consider the following query: SELECT ENAME, PNAME FROM EMP, ASG, PROJ WHERE EMP.ENO = ASG.ENO AND ASG.PNO = PROJ.PNO AND (TITLE = ‘ELECT.ENG’ OR ASG.PNO < ‘P3’) a b Draw the canonical tree Transform the canonical tree obtained in (a) to an optimized tree a Answer: The canonical tree for the above query is as follows b The optimized query tree for the above query is listed below [WBUT B.TECH (CSE) – 2002] 12 Consider a relation that is fragmented horizontally by plant-number: EMP (NAME, ADDRESS, SALARY, PLANT-NO) Assume that each fragment has two replicas: One stored at Durgapur City site and one stored locally at the plant site Describe a good processing strategy for the following queries entered at Kolkata i ii iii iv Find Find Find Find all employees at the Jamshedpur plant the average salary of all employees the highest paid employee at each of the following site Bokaro, Asansol, Dhanbad and Haldia the lowest-paid employee in the company [WBUT (MCA) – 2003] Answer: The relation EMP is horizontally fragmented by PLANT-NO, thus, the horizontal fragments are as follows: EMP1 = SL PLANT-NO = ‘Jamshedpur’ (EMP) EMP2 = SL PLANT-NO = ‘Bokaro’ (EMP) EMP3 = SL PLANT-NO = ‘Asansol’ (EMP) EMP4 = SL PLANT-NO = ‘Dhanbad’ (EMP) EMP5 = SL PLANT-NO = ‘Haldia’ (EMP) Further, each fragment has two replicas, one replica is stored at the plant site locally and the other replica is stored at Durgapur city site In this case, Durgapur city site contains the replicas of all horizontal fragments of the EMP relation and each local site contains only one replica of the corresponding horizontal fragment of local plant A good query processing strategy for each of the above query is listed below • • Find all employees at the Jamshedpur plant Select * from EMP1 Find the average salary of all employees Select AVG (SALARY) from EMP This query should be processed at Durgapur city site, since one replica of all horizontal fragments of EMP relation is stored here By using union operation of relational algebra, the original EMP relation can be reconstructed from its horizontal fragments Thus, the query processing strategy for the above query is as follows: • • Find the highest Haldia Select NAME from UNION Select NAME from UNION Select NAME from UNION Select NAME from paid employee at each of the following site Bokaro, Asansol, Dhanbad and EMP2 where SALARY = (Select MAX (SALARY) from EMP2) EMP3 where SALARY = (Select MAX (SALARY) from EMP3) EMP4 where SALARY = (Select MAX (SALARY) from EMP4) EMP5 where SALARY = (Select MAX (SALARY) from EMP5) Find the lowest-paid employee in the company Select NAME from EMP where SALARY = (Select MIN (SALARY) from EMP) This query should be also processed at Durgapur city site like query number (ii) Initially, the original relation EMP will be reconstructed from its horizontal fragments by using the UNION operation of relational algebra and then the query will be processed to find the lowest-paid employee in the company 13 Simplify the following query using the idempotency rules: Select ENO from ASG where RESP = “Analyst” AND NOT (PNO = “P2” OR DUR = 12) AND PNO ≠ “P2” AND DUR = 12 Considering ASG (ENO, PNO, RESP, DUR) [WBUT (MCA) – 2003 & 2004] Answer: Let p1 = RESP = “Analyst”, p2 = PNO = “P2”, and p3 = DUR = 12 Thus, the above query qualification can be rewrite as follows: p1 ∧ ¬ (p2 ∨ p3) ∧ ¬ p2 ∧ p3 By applying the idempotency rule, [¬ (p1 ∨ p2) ⇔ (¬p1 ∧ ¬p2)], the disjunctive normal form for the above qualification can be rewritten as p1 ∧ (¬ p2 ∧ ¬p3) ∧ ¬ p2 ∧ p3 ⇔ p1 ∧ ¬ p2 ∧ ¬p3 ∧ ¬ p2 ∧ p3 ⇔ p1 ∧ (¬ p2 ∧ ¬p2) ∧ (¬ p3 ∧ p3) [By applying the same idempotency rule] ⇔ p1 ∧ (¬ p2) ∧ (false) [By applying idempotency rule] ⇔ p1 ∧ ¬ p2 ∧ false ⇔ p1 ∧ (¬ p2 ∧ false) ⇔ p1 ∧ false ⇔ false Thus, the above SQL query can be simplified as Select ENO from ASG 14 Optimize the following query” List the flats that are for rent along with the corresponding branch details Relations: BRANCH (BranchNo, Street, City, PostCode) PROPFORRENT (PropNo, Addr, Type, RentAmount, OwnerNo, BranchNo) Partitions: P1: σ BranchNo = ‘B003’ ∧ Type = ‘HOUSE’ (PROPFORRENT) P2: σ BranchNo = ‘B003’ ∧ Type = ‘FLAT’ (PROPFORRENT) P3: σ BranchNo ≠ ‘B003’ (PROPFORRENT) B1: σ BranchNo = ‘B003’ (BRANCH) B2: σ BranchNo ≠ ‘B003’ (BRANCH) Write the SQL Write the corresponding relational algebraic expression Then optimize the query [WBUT (MCA) – 2008] Answer: By using SQL, the above query can be represented as: SELECT PropNo, BranchNo, Street, City, PostCode FROM PROPFORRENT, BRANCH WHERE Type = ‘FLAT’ AN D PROPFORRENT.BranchNo = BRANCH.BranchNo In relational algebraic expression, the above SQL query can be represented as follows Π PropNo, BranchNo, Street, City, PostCode (σ Type = ‘FLAT’ ∧ PROPFORRENT.BranchNo = BRANCH.BranchNo (PROPFORRENT ⋈BRANCH)) The horizontal fragments of PROPFORRENT relation are listed below PROPFORRENT1 = σ BranchNo = ‘B003’ ∧ Type = ‘HOUSE’ (PROPFORRENT) PROPFORRENT2 = σ BranchNo = ‘B003’ ∧ Type = ‘FLAT’ (PROPFORRENT) PROPFORRENT3 = σ BranchNo ≠ ‘B003’ (PROPFORRENT) Similarly, the horizontal fragments of BRANCH relation are as follows BRANCH1 = σ BranchNo = ‘B003’ (BRANCH) BRANCH2 = σ BranchNo ≠ ‘B003’ (BRANCH) The canonical tree for the above query is [View full size image] The optimized query tree for the above query is as follows [View full size image] 15 Consider the following Schema: EMP = (ENO, ENAME, TITLE) ASG = (ENO, PNO, RESP, DUR) PROJ = (PNO, PNAME, BUDGET) The relation PROJ is horizontally fragmented in PROJ1 = σ PNO ≤ ‘P3’ (PROJ) PROJ2 = σ PNO > ‘P3’ (PROJ) Transform the following query into a reduced query on fragments: SELECT BUDGET FROM PROJ, ASG WHERE PROJ.PNO = ASG.PNO AND PNO = “P4” [WBUT (MCA) – 2004) Answer: In relational algebraic format, the SQL query is represented as follows: ΠBUDGET(σPROJ.PNO = ASG.PNO ∧ PNO = “P4” ((PROJ1 ∪ PROJ2) ⋈ BRANCH)) The canonical tree of the above SQL query is The reduced query tree for the above query is listed in the following It has been assumed that the relation PROJ contains more than one project numbers (PNO) which are greater than P3 16 Xét quan hệ sau: (Consider the following relations:) EMP = (ENO, ENAME, TITLE) ASG = (ENO, PNO, RESP, DUR) i ii Xây dựng câu lênh SQL biểu thức đại số quan hệ thực tìm tên nhân viên có chức vụ quản lý dự án(RESP=”Quản lý”) (Find the names of employees who are managers of any project in SQL-like syntax and relational algebra.) Tối ưu hóa truy vấn Trình bầy truy vấn ban đầu truy vấn rút gọn.(Is the query optimized? If not then optimized it.) [WBUT (MCA) – 2003] i Answer: By using SQL, the above query can be represented as: SELECT ENAME FROM EMP, ASG WHERE RESP = “Manager” AND EMP.ENO = ASG.ENO In relational algebraic format, the above query can be written as Π ENAME (σEMP.ENO = ASG.ENO ∧ RESP = “Manager” (EMP ⋈ PROJ)) The canonical tree for the query is as follows: ii Th e optimized query tree is listed in the following 17.Given three transactions below T1: Read (X) Write (X) Commit T2: Write (X) Write(Y ) Read(Z ) Commit T1: Read (X) T3: Read (X) Read (Y) Read (Z) Commit Draw complete schedule DAG and schedule DAG [WBUT (MCA) – 2004] Answer: A complete schedule for the above set of transactions can be written as the partial order of the transactions Hence, Σ1 = {R1(X), W1(X), C1} Σ2 = {W2(X), W2(Y), R2(Z), C2} Σ3 = {R3(X), R3(Y), R3(Z), C3} and The complete schedule DAG (Directed Acyclic Graph) for the transactions is as follows: The schedule for the above set of transactions is S = {W2(X), W2(Y), R2(Z), C2, R1(X), W1(X), C1, R3(X), R3(Y), R3(Z), C3} The above schedule is also serial since all the operations of T2 are executed before all the operations of T and all operations of T1 are executed before all operations of T3 Thus, the precedence relationship between transaction executions (schedule DAG) can be represented as T2 → T1 → T3 18 Suppose that a data warehouse consists of the three dimensions time, doctor and patient and two measures count and charge, where is the fee that a doctor charges a patient for a visit Draw a fact constellation schema for the above warehouse [C U M.Tech (CSE) – 2003] Answer: The fact constellation schema for the above data warehouse is as follows: [...]... distributed across all nodes 8c Cơ sở dữ liệu phân tán thuần nhất có: A Cùng hệ quản trị cơ sở dữ liệu ở mỗi nút và dữ liệu không phân tán trên mọi nút B Cùng hệ quản trị cơ sở dữ liệu ở mỗi nút và dữ liệu phân tán trên mọi nút C Các hệ quản trị cơ sở dữ liệu khác nhau ở các nút và dữ liệu không phân tán trên mọi nút D Các hệ quản trị cơ sở dữ liệu khác nhau ở các nút và dữ liệu phân tán trên mọi nút DA: B... thể A Dữ liệu được yêu cầu nằm ở một site cục bộ và hệ quản trị cơ sở dữ liệu phân tán gửi đến các yêu cầu khi cần B Dữ liệu được yêu cầu nằm ở trong ít nhất một site không phải cục bộ và hệ quản trị cơ sở dữ liệu phân tán gửi các yêu cầu khi cần C Dữ liệu được yêu cầu nằm ở site cục bộ và hệ quản trị cơ sở dữ liệu phân tán chuyển đến yêu cầu chỉ đối với hệ quản trị cơ sở dữ liệu cục bộ D Dữ liệu được... Top-down không phù hợp nếu thiết kế việc cơ sở dữ liệu bắt đầu từ đầu (ii) b c d Cách tiếp cận Bottom-up không phù hợp nếu thiết kế việc cơ sở dữ liệu bắt đầu từ đầu Cách tiếp cận Bottom-up liên quan đến việc tích hợp các hệ cơ sở dữ liệu hiện có Không có đáp án nào đúng a b c d Partitioned Centralized Replication Không có đáp án nào Đâu không phải là chiến lược định vị dữ liệu? (iii) Điều nào chỉ ra yếu tố... dữ liệu phân tán chuyển đến yêu cầu chỉ đối với hệ quản trị cơ sở dữ liệu cục bộ D Dữ liệu được yêu cầu nằm ở ở trong ít nhất một site không cục bộ và hệ quản trị cơ sở dữ liệu phân tán chuyển đến yêu cầu chỉ đối với hệ quản trị cơ sở dữ liệu cục bộ DA: B Exercise 16.3 Consider a database with objects X and Y and assume that there are two transactions T1 and T 2 Transaction T 1 reads objects X and... management system === Ch][ng 8: Điều khiển tương tranh Exercises Multiple Choice Questions (i) a b c d Những vấn đề nào xuất hiện do truy nhập tương tranh dữ liệu? Mất cập nhật Đọc mờ Ảo ảnh Tất cả các phương án trên (ii) Những vấn đề nào xuất hiện do truy nhập tương tranh dữ liệu chỉ trong hệ csdl phân tán? Which of the following problems occurs due to concurrent access of data in distributed database systems... lênh được sử dụng thực hiện nhiệm vụ là độc lập với vị trí của dữ liệu và vị trí của hệ thống nơi lênh được dùng (iv) (v) (vi) a b c d Trong suốt tên Trong suốt phân mảnh Trong suốt định vị Tất cả các phương án trên a b c d Song song An ninh Tương tranh Tích hợp a b c d a b c d (vii) a b c d e Điều nào sau đây là không có được khi phân mảnh dữ liệu ? Which of the following is an objective of data distribution... transaction that accesses the resulting fragments differently All of these Kỹ thuật nào không được dùng cho phân mảnh dọc? Nhóm (Grouping) Chia tách(Splitting) Bó (Clustering) Không có phương án nào Loại trong suốt nào được cung cấp nếu người dùng sử dụng không nhận thức được về tên của đối tượng cơ sở dữ liệu? a Trong suốt định vị b Trong suốt tên c Trong suốt ánh xạ cục bộ d Trong suốt nhân bản (xii) (xiii)... B.Maintains before and after database images C.Maintains appropriate concurrency control D.All of the above Bộ quản trị giao dịch thực hiện: A Duy trì nhật ký các giao dịch B Duy trì các ảnh trước và sau cơ sở dữ liệu C Duy trì nhật ký điều khiển tương tranh thích hợp D Tất cả các đáp án trên 8 A homogenous distributed database is which of the following? A.The same DBMS is used at each location and data are... các phương án ở trên Không có phương án nào (viii) Giải thuật ràng buộc năng lượng (BEA) được dùng cho (ix) Which of the following statements is false? a b c d (x) a b c d a b c d (xi) a b c d Phân Phân Phân Phân mảnh mảnh mảnh mảnh ngang dọc hỗn hợp dẫn suất Mixed fragments are vertical fragments of horizontal fragments Mixed fragments are horizontal fragments of vertical fragments Derived fragments... correctness rules of fragmentation? Disjointness Reconstruction Completeness All of these Phát biểu nào sau đây là đúng? Phân mảnh ngang là tập con các bộ Horizontal fragments are subsets of tuples Phân mảnh dọc là tập con các thuộc tính Vertical fragments are subsets of attributes Phân mảnh hỗn hơp là tập con các tổ hợp các bộ và các thuộc tính Tất cả các phương án ở trên Không có phương án nào (viii) ... nodes 8c Cơ sở liệu phân tán có: A Cùng hệ quản trị sở liệu nút liệu không phân tán nút B Cùng hệ quản trị sở liệu nút liệu phân tán nút C Các hệ quản trị sở liệu khác nút liệu không phân tán nút... Một sở liệu phân tán không có: A Cùng hệ quản trị sở liệu nút liệu không phân tán nút B Cùng hệ quản trị sở liệu nút liệu phân tán nút C Các hệ quản trị sở liệu khác nút liệu không phân tán nút... dịch tổng thể A Dữ liệu yêu cầu nằm site cục hệ quản trị sở liệu phân tán gửi đến yêu cầu cần B Dữ liệu yêu cầu nằm site cục hệ quản trị sở liệu phân tán gửi yêu cầu cần C Dữ liệu yêu cầu nằm

Ngày đăng: 17/01/2016, 00:09

Từ khóa liên quan

Mục lục

  • Exercise

  • Table of Contents

    • Chapter 1. Overview of Relational DBMS

    • Chapter 2. Review of Database Systems

    • Chapter 3. Distributed Database Concepts

    • Chapter 4. Overview of Computer Networking

    • Chapter 5. Distributed Database Design

    • Chapter 6. Distributed DBMS Architecture

    • Chapter 7. Distributed Transaction Management

    • Chapter 8. Distributed Concurrency Control

    • Chapter 9. Distributed Deadlock Management

    • Chapter 10. Distributed Recovery Management

    • Chapter 11. Distributed Query Processing

    • Chapter 12. Distributed Database Security and Catalog Management

    • Chapter 13. Mobile Databases and Object-Oriented DBMS

    • Chapter 14. Distributed Database Systems

    • Chapter 15. Data Warehousing and Data Mining

    • Exercises

      • Multiple Choice Questions

      • Review Questions

      • Exercises

        • Multiple Choice Questions

        • Review Questions

Tài liệu cùng người dùng

Tài liệu liên quan