December 29, 2011 at 12:13 am
[font="Times New Roman"]
In SQL Server, indexes are organized as B-trees. is there anyway to access this B-trees??
Regards,
Anil Kumar
MCTS
[/font]
December 29, 2011 at 12:32 am
What do you mean by accesing the B-Tree. Every time the query optimizer decides to use an index you will access the B-tree.
If you want to know how many levels the B-tree has you can use sys.dm_db_index_physical_stats.
[font="Verdana"]Markus Bohse[/font]
December 29, 2011 at 12:37 am
Check the following link:
http://msdn.microsoft.com/en-us/library/ms177443.aspx
HTH
---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
December 29, 2011 at 1:09 am
MarkusB (12/29/2011)
What do you mean by accesing the B-Tree. Every time the query optimizer decides to use an index you will access the B-tree.If you want to know how many levels the B-tree has you can use sys.dm_db_index_physical_stats.
[font="Times New Roman"]
Dear Markus,
I just need to see how the data is getting stored in the form of B-Tree.
In btwn thanx a lot for your help :-)[/font]
December 29, 2011 at 1:12 am
@ry@n (12/29/2011)
MarkusB (12/29/2011)
What do you mean by accesing the B-Tree. Every time the query optimizer decides to use an index you will access the B-tree.If you want to know how many levels the B-tree has you can use sys.dm_db_index_physical_stats.
[font="Times New Roman"]
Dear Markus,
I just need to see how the data is getting stored in the form of B-Tree.
In btwn thanx a lot for your help :-)[/font]
In that case the link provided by free_mascot should help you further.
[font="Verdana"]Markus Bohse[/font]
December 29, 2011 at 3:08 am
@ry@n (12/29/2011)
I just need to see how the data is getting stored in the form of B-Tree.
Maybe have a read through this series:
http://www.sqlservercentral.com/articles/Indexing/68439/
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 29, 2011 at 9:26 pm
[font="Times New Roman"]
Dear Gail,
Thanx a lot for sharing the link. i hope it can help me.
[/font]
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply