Robert Cemper · Jul 23, 2017 go to post

set exist=##class(%Dictionary.CompiledClass).%ExistsId(ClassName)

will tell you the status

Robert Cemper · Jul 22, 2017 go to post

If there is an index defined on PBD_PBO_ParRef  is it correctly generated?
If not sure, do rebuild index from MgmtPortal. 

Robert Cemper · Jul 21, 2017 go to post

What about chopping your query like this or similar

lastID=0

"Select TOP 10000 ID,Text from eprinstance.isegment where ID > ?"

passing lastID as query Parameter

Now you loop on it until you collected all records.

The basic idea is to limit your result set by TOP as your partition allows.

wink it's definitely independent of Cache versions.
 

Robert Cemper · Jul 21, 2017 go to post

I wish I had this half a year ago when I was teaching Caché basics to total fresh developers.

Great stuff.

Robert