I'm currently experiencing performance issues on the content server. Currently it takes me over 10 minutes to run the following DQL in iDQL on the Content Server, and it only returns 150 objects before erring out:
SELECT * FROM custom_type WHERE FOLDER('/Cabinet/Folder/A', DESCEND)
Are there indices I can set in the database to make this query run faster? How does the FOLDER predicate work?
Also, when I browse the same folder in DAM, with the page set to display 100 objects at a time, it takes over 20 minutes to get the next 100. How does DAM browse folders? Does it use DQL to get these objects? If so, what is the DQL statement?