This is an automated email from the ASF dual-hosted git repository.
shivram pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hawq.git
The following commit(s) were added to refs/heads/master by this push:
new 4978898 Update PXF README to include profiling info
4978898 is described below
commit 4978898e87da5a6c265f99a00b37b618eebcba07
Author: Shivram Mani <[email protected]>
AuthorDate: Fri Jan 25 11:25:15 2019 -0800
Update PXF README to include profiling info
---
pxf/README.md | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/pxf/README.md b/pxf/README.md
index e51d83c..ec0f047 100644
--- a/pxf/README.md
+++ b/pxf/README.md
@@ -44,4 +44,16 @@ PXF could be built for a diffent databases, currently HAWQ
and Greenplum are sup
Configuration for target databases are stored in **gradle/profiles**.
HAWQ is a default database. To build it for Greenplum:
- ./gradlew clean build [buildRpm] [distTar] -Ddatabase="gpdb"
\ No newline at end of file
+ ./gradlew clean build [buildRpm] [distTar] -Ddatabase="gpdb"
+
+
+Profiling
+=========
+
+If you wish to profile the PXF, you could use [Java
profiler](https://www.ej-technologies.com/products/jprofiler/overview.html).
You can download JProfiler agent and update pxf-env.sh to set port say 10001
for profiler access.
+
+ export PXF_JVM_OPTS="-Xmx2g -Xms1g
-agentpath:jprofiler10/bin/linux-x64/libjprofilerti.so=port=10001"
+
+
+
+