outputPureQueryXml 등록 정보

Specifies the fully-qualified or relative path to and name of the file or files that the process of capturing SQL statements creates.

The format of the value that you set for this property is name.extension or name$X.extension.

name
Specifies the name of the file. Include the absolute or relative path to the file.
$X
Use this suffix if you are creating multiple pureQueryXML files for a clustered application. pureQuery replaces these characters with two values: the ID of the ClassLoader object for the application, and a timestamp that indicates when pureQuery created the given file.
.extension
The extension must be either .pdqxml or .xml.

When you are capturing SQL statements for the first time from a non-clustered application: You can use the outputPureQueryXml property or the pureQueryXml property. You must use one of them, however. The directory that you specify must exist. You must have permission to create files in that directory.

When you are capturing SQL statements for the first time from a clustered application: Use the outputPureQueryXml property with the $X suffix.

When you are capturing additional SQL statements from a non-clustered application for which you already created a pureQueryXML file: You can use the pureQueryXml property to specify the file as an input file and use the outputPureQueryXml property for capturing additional SQL statements that do not already appear in the input file.

When you are capturing additional SQL statements from a clustered application: Use the pureQueryXml property to specify as an input file the pureQueryXML file that is the result of the merge of the files that you created when you last captured SQL statements from the application. Use the outputPureQueryXml property with the $X suffix to specify the files that you want to capture additional SQL statements to.

You cannot use this property when you want an application to run only statements that were previously captured. You must use the pureQueryXml property to specify the file in which those statements are captured.

outputPureQueryXmloutputXmlRepository 등록 정보가 모두 설정된 경우, 예외가 발생합니다.

중요사항: 캡처된 SQL이 파일 시스템에 있는 파일에 저장되는 경우, 응용프로그램이 Quiesce 상태에 있고 파일을 검색할 때 파일이 기록되는 중이 아닌지 확인해야 합니다. 응용프로그램이 Quiesce 상태에 있지 않은 경우, 파일의 컨텐츠가 유효하지 않게 되거나 응용프로그램이 입출력 오류를 일으키는 파일을 갱신하지 못할 수 있습니다. -validateXml 옵션을 Merge 유틸리티 또는 Configure 유틸리티와 함께 사용하여 파일의 유효성을 보장할 수 있습니다.

피드백