Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8119035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:40:54+00:00 2026-06-06T04:40:54+00:00

I was reading about Indexes in databases. First, I have my original table. Then

  • 0

I was reading about Indexes in databases.

First, I have my original table. Then I add another table (the index table), which, every time I add a row in the first table, I make the effort of knowing where to insert it in the index table (say alphabetically). Then, when I search for some record, I use the index table, which transforms my searching problem to O(log) instead of O(n).

My question is the following: why not doing that effort in the original table?. At least if that table have only one index. If it has more, then apply the idea of tables of indexes. At least this idea is never mentioned in the literature I read, and I thought maybe there’s a good reason.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T04:40:57+00:00Added an answer on June 6, 2026 at 4:40 am

    This post has some very useful links: indexes in sql server, internal working and structure of indexes

    Short answer: The clustered index on your table should not be creating a separate mapping, as it sorts the original table itself. The other indices would create mappings to the row ids of the clustered one. This could be different based on the DB you are reading about.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been reading for the last two days about indexes and how to
I have been reading about how read.table is not efficient for large data files.
I was reading about Non Clustered Index which says that Nonclustered index contain only
I have a table with about 20+ million records. Structure is like: EventId UNIQUEIDENTIFIER
I am learning about all things SQL, and upon reading about indexes I naturally
Reading about both separatedly, looks like the same, html+xml+javascript. What's the difference between then?
After reading about it for so long, I now have chance to get my
After reading about at least the first 3 or 4 chapters of about 4
I'm about to launch a multi-domain affiliate sites which have one thing in common
Lately I have been reading about web crawling, indexing and serving. I have found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.