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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / monal

When you create Clustered Index data is physically sorted
based on the column used in clustered index.

don't know what is logical sort data.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL Server Interview Questions

Write a SQL Query to find first Week Day of month?

2 Answers  


Explain about system stored procedure?

0 Answers  


How to create database with physical files specified in ms sql server?

0 Answers  


How to stop a loop early with break statements in ms sql server?

0 Answers  


Tell me the difference between clustered and non-clustered index?

0 Answers  






Lets say due to N/W or Security issues client is not able to connect to server or vice versa. How do you troubleshoot?

1 Answers  


Does any body please help me what question's have asked for SSRS in the interview?

0 Answers  


how can u select the Distinct values in the table, table having 20 columns , i want all columns

2 Answers  


What happens if the update subquery returns multiple rows in ms sql server?

0 Answers  


As a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this?

0 Answers  


What are commit and rollback in sql?

0 Answers  


Explain user defined views?

0 Answers  


Categories