Question 1 1 . Among the five , we should create an unclustered hashish forefinger on (ename , age , sal ) fields of Emp (b ) since we could only do an index finger scan for us to speed up the point . If our system does not include index only architectural plans indeed we shouldn t create an index for this research (e . However since this query requires us to access all Emp . records , an index would really serve us anything at all . Therefore , we should access the records victimisation a scan2 . For this case , we should create clustered dense B shoetree index (c ) on (floor , budget ) fields of Dept , because the records lead be organized under these fields . Thus , if we respect 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 t he of the budget .
Note that this plan is not an index-only plan (must look up didsQuestion 2We should place the in the perfume 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 resemblance in to reduce seek times . By doing so , we will also...If you want to get a full essay, frame it on our website: OrderCustomPaper.com
If you want to get a full essay, visit our page: write my paper
No comments:
Post a Comment