Hi Steve
Thanks again for the info. I have looked at the log entries and I do see the LIST TAGS RECURSIVELY WHERE ROWCOUNT=250 message immediately after the LIST GROUPS directive (at 09:06:01 AM this morning).
1/7/2014|9:06:01 AM|990|.|30|4164|PI_PCo_Wrexham|Information|AgentBase|Tag Query: pragma UseLegacy;LIST Tags RECURSIVELY WHERE RowCount=250;|"" |
1/7/2014|9:06:01 AM|990|.|30|4164|PI_PCo_Wrexham|Information|AgentBase|Query: <pco:tag xmlns:pco="uri:sap-pco-request"><![CDATA[pragma UseLegacy;LIST Tags RECURSIVELY WHERE RowCount=250;]]></pco:tag>|"" |
1/7/2014|9:06:01 AM|927|.|24|4164|PI_PCo_Wrexham|Information|PCoQueryRequestHandler|Query Processing Time: 15.6013 milliseconds|"" |
1/7/2014|9:06:01 AM|927|.|24|4164|PI_PCo_Wrexham|Information|AgentBase|Tag Query: pragma UseLegacy;LIST Groups RECURSIVELY WHERE RowCount=250;|"" |
1/7/2014|9:06:01 AM|927|.|24|4164|PI_PCo_Wrexham|Error|AgentBase|Error executing Directives of Tag Query: pragma UseLegacy;LIST Groups RECURSIVELY WHERE RowCount=250;|"ParserException: Parse Error occured in directive number 1 |
I looked for a return message (I assume these are the ones which show the number of milliseconds) and I found the one for the same thread (30) as the LIST TAGS message at 09:07:45, showing 103401.2101 ms.
1/7/2014|9:07:45 AM|390|.|30|4164|PI_PCo_Wrexham|Information|PCoQueryRequestHandler|Query Processing Time: 103401.2101 milliseconds|"" |
There are hundreds of information and warning messages between these but none for the same thread and all for specific tag queries running from live applications. Unfortunately I can't find a way to attach the file for you to see the detail.
However, I did some further testing, going back to my 2.1 version, and although this shows the same type of log messages, it does not have the same delay (takes 3 seconds to return the tags). So, I have now removed v2.3 from my live PI server and installed v2.1. This now returns the tags in 3 seconds and does not seem to have had any other adverse effect. I don't have version 2.2 so I cannot test with that but I am now inclined to leave v2.1 in place. I did some timings on my other 3 PCo instances and 2 of them returned the tags in about 25 seconds and the other returned it in 1.5 minutes. The users on those instances are not doing direct tag retrieval queries so have not seen any problem so far. The one which has been giving me problems is where the users are changing selecting their own tags through an MII Chart, using the "Settings/Query Properties/Select Tags" option. This does the same thing as the MII Workbench when opening a tag query and select tag query details.
I have not extracted the Verbose messages in my latest testing but I will try and generate a Verbose log for both v2.1 and 2.3 to try and get a comparison.
The explicit version I am having problems with is 2.300.1406.1651