Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

DMX_SearchResults has many records, but no index is on the table?
Last Post 11/22/2010 12:14 PM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
SHC Forums
New Member
New Member
Posts:3


--
11/11/2010 6:27 PM

There are 8,082,834 rows in our current DMX_SearchResults table in our database instance, but there no index on this table and we are not sure how this table is even used or populated?

Is this table used when a user executes a search each time somehow?

Thx! Todd

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/16/2010 6:35 PM
Hi Todd,

Indeed. There is a key in the table to identify the time and the session. The results for a particular user get removed once he/she searches again. After a while old search results get auto deleted. Note that this table does not contain any "content" but only pointers to documents that matched search criteria.

On the auto deletion: the values in the key column start with a date code. This must not be older than today.

Peter
SHC Forums
New Member
New Member
Posts:3


--
11/16/2010 8:19 PM

Thx for the response!

We are running DMX 05.02.07. When I look at the table DMX_SearchResults, which currently has 8,508,483 entries, there are no indexes, triggers, primary keys, etc on it, plus the three columns I do see on it are

SearchID, EntryID, and Rank.

Is the SearchID the key you mentioned, and if so, what other tables does this one connect will to get the date info specified?

It just seems to us that the amount of records is very high, and without indexes, etc, not sure if its performing as it should. Should we be clearning this table out from time to time ourselves?

Any more info would be appreciated.

Todd

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/22/2010 12:14 PM
Hi Todd,

This issue was fixed in 5.2.8.

Peter
You are not authorized to post a reply.