ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What are the differences between clustered and a non-clustered index?

user-image
تم إضافة السؤال من قبل مستخدم محذوف‎
تاريخ النشر: 2015/03/31
Lina Alqutub
من قبل Lina Alqutub , Software QA Manager , Bayt.com

What are the difference between clustered and a non-clustered index?

Balaji Manigela
من قبل Balaji Manigela , Admin Assistant , GULF LINK VENTURE.CO.WL

Indexes are also look like book index it is easy to identify.In clusterd index leaf node points to the actual data while in non-clusterd index the leaf node uses the clusterd index to locate data.

Jay Joshi
من قبل Jay Joshi , Database Developer , Accion Labs [Client: Amway]

A Clustered Index defines the way how Data is Physically Stored on your Disk. A Clustered Index is usually created on the Primary Column of the table. There can be only1 Clustered Index on a table.

A Non Clustered Index is usually created on a Non Primary Column of a table which is used to fetch the data faster when the Search is made on non primary column. There can be more than1 Non Clustered Index on a table.

In case if you need any further clarification, please let me know.

Thanks,

Jay J. Joshi

Gayasuddin Mohammed
من قبل Gayasuddin Mohammed , Advocate , Practicing Law before High Court at Hyderabad

Clustered index is the one which gets creates automatically along with your primary key field on it if it has one, at the creation of that particular table itself, purpose of the clustered index is the physical storage of data and the retrieving data is faster because of the index.   There is only one clustered index on the table. You can also create clustered index by create index index_name ...  on the primary key field of the table.

Non-clustered Index - this is a logical index can be created on any field of the table for the purpose of retrieving data in a quicker way. Many clustered index can be created on one table, but I think there is a limit of256 or so, I could not remember the number exactly now.

مستخدم محذوف‎
من قبل مستخدم محذوف‎

test question by hadeel123456

المزيد من الأسئلة المماثلة