Solved

indid = 255 and impid = -1

Posted on 2006-11-02
4
853 Views
Last Modified: 2007-12-19
I have a few indexes from an inherited database that have the values in the sysindexes table of impid = -1 and indid = 255.  The names of the indexes are not in the table itself.  Were these indexes that had been dropped?  What does indid = 255 mean?  what does impid = -1 mean?
0
Comment
Question by:KathleenR
  • 2
4 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17857943
>What does indid = 255 mean?  
Indid 255 are holders in sysindexes for text, ntext and image data.

>Were these indexes that had been dropped?  
no

>what does impid = -1 mean?
column impid = -1 has no meaning for these
0
 

Author Comment

by:KathleenR
ID: 17858008
so how is it these indexes are in the sysindexes table but when I go to manage indexes on the table they are not there or when I try to do a dbcc indexdefrag the command errors on those index names?

0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 17858067
they are not normal indexes, as said they are system (internal) indexes. they are to keep the correlation between the table rows and the text, ntext and image data which are not inline with the rows on the same pagees, but on other pages.
you don't need to dbcc indexdefrag those, simply ignore them
0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 17858111
select sysobjects.name,sysindexes.name, * from sysindexes, sysobjects where sysindexes.id = sysobjects.id
and xtype = 'u'

this will give u the name of the table or view which is indexed
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question