Download View this document as PDF

Transcript
Localization
2
Get metrics information with optimization similar to version 12.5.4 in
Adaptive Server 15.0:
QPTune -A start -M _basic_ -i oltp.xml -l 10
-S my_host:5000/my_database
<Run your query, application, or stored procedure>
QPTune -A collect -M _basic_ -T 0 -o basic.xml
-S my_host:5000/my_database
3
Compare the metrics information:
QPTune -A compare -d 10 -o best.xml
-f basic.xml,oltp.xml,mix.xml,dss.xml
-S my_host:5000/my_database
4
Fix query plans with the best out of the comparison:
QPTune -A fix -i best.xml
-S my_host:5000/my_database
5
(Optional) Verify the performance improvement after the plan fixup, rerun the application, and collect the metrics information:
QPTune -A collect -T 0 -o new_best.xml
-S my_host:5000/my_database
Performing a compare of new_best.xml with any of the other XML output
files should establish that new_best.xml gives the best results.
Localization
The QPTune command line utility has been localized so its messages can
display in these 9 languages other than English: Chinese, French, German,
Japanese, Korean, Polish, Portuguese, Spanish, and Thai. The language
properties files are packaged in the qptune.jar file. QPTune sets the display
according to the language set on the system’s default locale.
QPTune GUI
The QPTune GUI is a set of Java libraries that are used by the Adaptive Server
plug-in.
44
Adaptive Server Enterprise