OnDemand User Group

Support Forums => MP Server => Topic started by: jeffs42885 on August 27, 2012, 08:11:37 AM

Title: Sort Issue with 8.4 - 8.5
Post by: jeffs42885 on August 27, 2012, 08:11:37 AM
Hello all,

I am experiencing an issue with sorting of documents in both the thick and the thin clients.

In our QA environment, the folder/reports are acting as expected, with the report date ascending from May - August, with the most recent hits at the bottom. Our QA environment is running 8.5

In production, this is not working the same way, the hits seem to be intermingled, and I checked the load ID's and the most recent load ID isn't showing at the bottom. I did a compare on the folders and saw that the ONLY difference was the version of OnDemand server we were running.

QA- SERVER VERSION:             8.4.0.3
PROD- SERVER VERSION:             8.5.0.5

Any feedback would be appreciated.

Thanks all ;)
Title: Re: Sort Issue with 8.4 - 8.5
Post by: Justin Derrick on August 28, 2012, 06:28:15 AM
In your second sentence, you say QA is running 8.5, but lower down, you say it's running 8.4.0.3...  Which is which?

There have been sorting improvements in 8.5, so if your 8.5.0.5 server is working properly, but your 8.4.0.3 server is returning strange results, it's probably time to get that upgrade done!  ;)

-JD.
Title: Re: Sort Issue with 8.4 - 8.5
Post by: jeffs42885 on August 28, 2012, 07:20:21 AM
Thanks for the feedback JD. I spoke to someone from IBM, and they said the sorting difference shouldn't make a difference, however, I will keep this in consideration :)
Title: Re: Sort Issue with 8.4 - 8.5
Post by: jeffs42885 on August 28, 2012, 07:40:59 AM
Woops-Just noticed my error!

PROD is 8.4.0.3, we are in the process of upgrading

QA is 8.5.0.5
Title: Re: Sort Issue with 8.4 - 8.5
Post by: jeffs42885 on August 29, 2012, 07:41:16 AM
In your second sentence, you say QA is running 8.5, but lower down, you say it's running 8.4.0.3...  Which is which?

There have been sorting improvements in 8.5, so if your 8.5.0.5 server is working properly, but your 8.4.0.3 server is returning strange results, it's probably time to get that upgrade done!  ;)

-JD.

JD- Do you have any documentation siting the sorting improvements in version 8.5?
Title: Re: Sort Issue with 8.4 - 8.5
Post by: Justin Derrick on August 31, 2012, 02:44:26 AM
I didn't see any.  I think Greg mentioned it during his presentation at ODUG last year.
Title: Re: Sort Issue with 8.4 - 8.5
Post by: jeffs42885 on August 31, 2012, 05:34:30 AM
I made a change at the folder level last night to sort on the field that the business is questioning, from 0 to 1.

It made the sort order appear properly via FAT/THICK client, but not via Thin Client.
Title: Re: Sort Issue with 8.4 - 8.5
Post by: jeffs42885 on September 19, 2012, 12:06:15 PM
Bumping this up for some more feedback.

In DEVELOPMENT odwek 8.5 on the thin client, I do not see a sort issue. 
In QA odwek 8.4.1.6 on the thin client, I do not see a sort issue. 

Both servers are running OnDemand 8.5.0.5

IBM suggested looking into OD_SORT_LOCATION_SERVER on our front end, but that is also not being used. Does anyone have feedback?
Title: Re: Sort Issue with 8.4 - 8.5
Post by: Justin Derrick on January 23, 2013, 08:19:25 AM
We've run into this problem lately.

The root cause of the problem we experienced was that the search was traversing more than 16 tables.  In CMOD 8.4, tables were searched in groups of 16 segment tables at a time.  If your search hits less than 16 tables, then maxhits + sort order works.  If you search MORE than 16 tables, all bets are off, and if you get any results at all, they won't be what you were looking for.  You can modify this behaviour by specifying a larger value with the ARS_DB_MAX_SQL_TABLES variable in ars.cfg. 

WARNING:  Changing ARS_DB_MAX_SQL_TABLES could cause problems in your database!  You'll need to work with your database administrator to ensure you have enough memory allocated to things like your sort heap and statement heap (DB2 parameters).  Nobody wants to diagnose database issues on production servers on the fly!  :)

All in all, upgrading to CMOD 8.5 is the best solution.
Title: Re: Sort Issue with 8.4 - 8.5
Post by: sisusteve on February 14, 2013, 04:12:58 AM
With the memory leak identified in CMOD 8.5.0.5 you would be advised to upgrade to 8.5.0.6