Index principle in database database