Question 1 1 . Among the five , we should create an unclustered hasheesh forefinger on (ename , age , sal ) fields of Emp (b ) since we could only do an king scan for us to speed up the thinker . If our system does not include index only architectural plans indeed we shouldn t create an index for this enquiry (e . However since this query requires us to access all Emp . records , an index would really dish us anything at all . Therefore , we should access the records using a scan2 . For this case , we should create clustered dense B shoetree index (c ) on (floor , budget ) fields of Dept , because the records give be organized under these fields . Thus , if we appraise and lean this query , the first record with floor 10 should be retrieved the while the other records with floor 10 should be evidence in the of the budg et .
Note that this plan is not an index-only plan (must look up didsQuestion 2We should place the in the burden of the tracks because collectioned speed is not an issue due to the small coat of it of the . Apart from that , the seek time is minimized when s be place in the centerFor this case , we should place the and index on the inner tracks The DBMS will alternately access the pages of the index and the thus , the two should reside in close law of proximity in to reduce seek times . By doing so , we will also...If you want to get a full essay, run it on our website: OrderCustomPaper.com
If you wan! t to get a full essay, visit our page: write my paper
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.