what is physical sort data and logical sort data in index?

Answer Posted / rajesh b patil

As it is explained in the Answer #1, The Clustered Index
uses the Physical Sorting, just like the Page Index at the
Beginning of your book, but The Logical sorting means it
will be done with the Non Clustered Indices, as you all know
the data in the server stored on the multi page files,
because the amount of data stored on the database is huge,
So in case of the logical sorting depending upon say query
results the records are at your disposal which you have got
after filtering using a where clause, then the data is
coming from different pages and there is no continuation
like SNO column in case case of select *, So the pages where
the desired data is found are actually will hold the
references, means the record say #3, from page #3, will hold
the address of the Previous record address as well as the
next record address just like your Double Linked List Nodes,
I hope now logical sorting is explained by me here.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where the sql logs gets stored? : sql server database administration

686


Explain what is the main purpose of having conversation group?

695


What are triggers? How do you invoke a trigger on demand?

963


Explain optimistic and pessimistic concurrency?

722


what is the maximum size of a row? : Sql server database administration

701






What is difference between group by and having?

719


What is cross join in sql server joins?

797


How to create user defined functions with parameters?

838


What are different types of views?

698


what is the difference between writing data to mirrored drives versus raid5 drives. : Sql server administration

704


what is database replicaion? What are the different types of replication you can set up in sql server? : Sql server database administration

721


What are the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?

794


what is difference between view and Dip.

2185


what are the different ways to return the rowcount of a table?

743


What is the difference between Clustered and Non-Clustered Index?

775