We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Question:

 Suppose we have a table “Employee” having column “age” in it. The table “employee” might have a data of different age groups according to their designations. The employee at high levels of post like Project Manager, Managing director etc has different age group when we are comparing it with other junior or senior level employees.

 

You have studied various indexing techniques for random access and better organization of data. By having a context of above scenario; if you have given an option to choose one indexing technique from two below indexes, which you would like to choose that will help to get optimized results? 

 

§         Clustered index

§         Un-clustered/Non-clustered index

 

You have to choose only one technique out of the two and give valid reasons to support your answer.


Note: Try to provide precise, to the point answer and avoid irrelevant details.


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 9228

Replies to This Discussion

Please Discuss here about this GDB.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

ustered Index

  • Only one per table
  • Faster to read than non clustered as data is physically stored in index order

Non Clustered Index

  • Can be used many times per table
  • Quicker for insert and update operations than a clustered index

Both types of index will improve performance when select data with fields that use the index but will slow down update and insert operations.

Alhmdulilah Done my GDB 

but bro sir ny kaha hy k 1 choose krna hy out of 2 types. apny 2no he choose ki hn.... ??? (Y)?

A.A plz hlp me the gdb of cs403 ful solution plzzzzzzzzzzz

Vu walo ny cs403 k is GDB ma trick use kiya hai k  hr koi aik index choose kray jo k glt hai sahe main solution ya hai k both indexes are best.or jo ya smjta hai waky aik index choose hoga sirf to usay relational database ka koi knowledge ni hai!

exact solution is both indexes are best 

sb sy bra hint ma ny dy diya ap logo ko ab phr b ni ap logo sy hoga to ap bht gnday bchay hain hahha

Hope it helps

vu walo hd hogyii  bcho ko phnsa rhy hoo confuse kr ry hoo!

thnx for sharing

anytime afterall its my last post here bcz its my last smester

pa ge tussi chay gay ooooooo

ab wo hint kia he ye b bata den plzzzzzzzzzzz

Clustered Index

  • Only one per table
  • Faster to read than non clustered as data is physically stored in index order

Non Clustered Index

  • Can be used many times per table
  • Quicker for insert and update operations than a clustered index

Both types of index will improve performance when select data with fields that use the index but will slow down update and insert operations.

Cluster index sorts the data with respect to the column on which it is applied, where as non-clustered index do not, it is just a logical sorting. Thus we can have only single clustered index and multiple non-clustered index on a table. Primary index on a table is clustered index. By default CREATE INDEX statement creates a non-clustered index

RSS

Latest Activity

+M.Tariq Malik replied to +M.Tariq Malik's discussion CS401 Assignment 01 Fall 2020 Solution / Discussion in the group CS401 Computer Architecture and Assembly Language Programming
15 minutes ago
+M.Tariq Malik liked +M.Tariq Malik's discussion CS401 Assignment 01 Fall 2020 Solution / Discussion
15 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion EDU602 Educational Leadership and Management Assignment 01 Fall 2020 Solution / Discussion in the group EDU602 Educational Leadership and Management
19 minutes ago
Profile IconAjmal, Muhammad Azeem, Muhammad Yaseen and 17 more joined Virtual University of Pakistan
21 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion EDU602 Educational Leadership and Management Assignment 01 Fall 2020 Solution / Discussion in the group EDU602 Educational Leadership and Management
21 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql) Assignment 01 Fall 2020 Solution / Discussion Due Date: 27-11-2020 in the group CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql)
24 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql) Assignment 01 Fall 2020 Solution / Discussion Due Date: 27-11-2020 in the group CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql)
25 minutes ago
+M.Tariq Malik liked +M.Tariq Malik's discussion CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql) Assignment 01 Fall 2020 Solution / Discussion Due Date: 27-11-2020
25 minutes ago
+M.Tariq Malik added a discussion to the group CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql)
26 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion STA301 GDB Fall 2020 Solution & Discussion in the group STA301 Statistics and Probability
28 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ECO401 Assignment 01 Fall 2020 Solution / Discussion Due Date: 30-11-2020 in the group ECO401 Economics
31 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ECO401 Assignment 01 Fall 2020 Solution / Discussion Due Date: 30-11-2020 in the group ECO401 Economics
33 minutes ago

Looking For Something? Search Here

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.