Indexes-Indexing is way to sort and search records in the table. It will improve the speed of locating and retrieval of records from the table.It can be compared with the index which we use in the book to search a particular record.
In Sql Server there are two types of Index
1) Clustered Index
2) Non Clustered Index
Clustered Index:– Clustered index physically stored the data of the table in the order of the keys values and the data is resorted every time whenever a new value is inserted or a value is updated in the column on which it is defined.
In a table only 1clustered index is possible.
In a clustered Index, the leaf node contains the actual data.
Non Clustered Index:- In case of Non clustered index it create a sperate list of key values (or created a table of pointers) which points towards the location of the data in the data pages.
I am currently working as a Senior Database Professional and have around 18 years of experience in database.
Degree:-
Master Degree in Computer(MCA)
Certification course in Data Science & Machine Learning from Indian Institute of
Technology (IIT), Delhi
Work experience:-
Designing of the database.
Database Optimization.
Writing Complex Stored Procedures,Functions,Triggers etc.
Designing and developing SSIS & DTS packages.
Designing SQL Reports using SSRS.
Database Server Maintenance.
Certification:-
MCTS: DA-100: Analysing Data with Microsoft Power BI
MCTS: DP-300: Administering Relational Databases on Microsoft Azure
Microsoft certified Sql DBA in Sql server 2008 (MCTS).
Microsoft certified BI professional in Sql server 2008 (MCTS).
Oracle certified profession DBA in ORACLE 10g (OCP)
certified profession DBA in ORACLE 9i (OCP)
My other publication
Technical Blog:- Technologies with Vivek Johari
Guest Author and Blogger at sqlservercentral.com
Hi Vivek, If i have one clustered index and 10 non-clusterd index on a table. when i insert new data into table without disabling the indexes. do i need to re-build them after inserting the data?
and how bad will be the performance if i insert the data in to a table with 10 indexes with out disabling them, compared to a table with no indexes and inserting the same data
Vivek Ji it's good and simplest description of difference between Clustered Index and Non clustered Index. Thank You.
nice…simply superb
Hi Vivek,
If i have one clustered index and 10 non-clusterd index on a table.
when i insert new data into table without disabling the indexes.
do i need to re-build them after inserting the data?
and how bad will be the performance if i insert the data in to a table with 10 indexes with out disabling them, compared to a table with no indexes and inserting the same data
Hi vivek simply super…
Nice article!! Now we can have 999 non clustered index per table.
Yes Vimal and I have added this in my article too:-)
🙂
Really Nice Information,Thank You Very Much For Sharing.
WordPress Development Company
Can you please explain it by taking some examples
azure technology provides a cloud capabilities to your network. Azure can be done through saas and iaas. learn more in microsoft azure training
You given a fantastic information sql online training
… [Trackback]
[…] Find More to that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Info to that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Info on that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] There you will find 46056 more Information to that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Information on that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Information to that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Here you will find 49316 additional Information on that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] There you will find 11739 more Information to that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Here you will find 60462 additional Info on that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Here you can find 31623 more Information on that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Information on that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Read More on that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
[…] There you will find 48106 additional Info to that Topic: techmixing.com/2010/01/difference-between-c… […]
… [Trackback]
[…] Read More Information here on that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Info on that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Read More on that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Find More here to that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Info to that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
… [Trackback]
[…] Find More to that Topic: techmixing.com/2010/01/difference-between-clustered-and.html […]
[…] Clustered Index”.You can also click on the given url to read this article http://www.techmixing.com/2010/01/difference-between-clustered-and.html […]