Replies: 10 comments 3 replies
-
Am trying to build the schema in hammerdb but its taking time to creating rows on tables its keeps on generating nearly 1lakhs records. May i know how to reduce number of records creation, due to this issue am unable to proceed on hammerdb. Its taking more than 5hrs also still records keep on generating. May i know the values of virtual users and warehouse, etc to be entered? Here am help less. I have given varies values virtual user and warehouse still same issues taking more time to complete schema build. I have entered 1wareshouse and one virtual user for 8gb ram and 2core sql machine keeps on generating the rows in tables... Also let me know how many records will be generate on default while build schema on each tables? |
Beta Was this translation helpful? Give feedback.
-
All, |
Beta Was this translation helpful? Give feedback.
-
All, I apologize if I missed this some where in the discussions, but I combed the archive and could not find what I’m looking for. In the 08Jul19 HammerDB Blog, Using HammerDB as a Web Service the author goes into great detail regarding the syntax in the restchk.tcl script to test the Web Service interface to the HammerDB server. And I’ve got the script functioning correctly on my platform. However, following the discussion regarding the restchk.tcl script, the author is very brief regarding the development of scripts to build schemas and run workloads (i.e., When the environment is configured you can build schemas and run workloads with the same commands used for the CLI, for example:). The examples are as follows: set res [rest::post http://localhost:8080/buildschema "" ] The author concludes with “The key difference is that output is now stored in a job format that can be retrieved at a later point. An example is shown where a build generates a jobid.” And a third example: {"success": {"message": "Building 5 Warehouses with 6 Virtual Users, 5 active + 1 Monitor VU(dict value num_vu is set to 5): JOBID=5D23464E58D203E273738333"}} That is then used to query the status of the build. The output is stored in a SQLite database that by default runs in in-memory mode that is not persistent over restarts, however it can be configured to use a permanent database. Here is my ask, as I said above, I have the restchk.tcl script functioning on my platform. I understand how to do what I am attempting to accomplish via the GUI and CLI, but I am struggling with the syntax for buildschema and vurun scripts.
I am unclear on how you obtain the JOBID in order to query the status of a build. Any example scripts or other insights would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
Yes the information you need is in the documentation: Running Jobs: https://www.hammerdb.com/docs/ch10s04.html So the JOBID is printed as the result of a successful build or run (ie it successfully started) BUILD RUN You then query the JOBID to get the output that in the CLI is printed to stdout. QUERY When you start the webservice the home page lists the available commands. It is very similar to the CLI except for the interface. |
Beta Was this translation helpful? Give feedback.
-
Hello - wanting to use "HammerDB" for some internal "cloud" testing. Have had to build hammerdb RHEL 7.x from scratch - corporate has everything blocked and firewalled to death. Just e-mailed everything - vnc and hammerdb4.1, then have compiled and link-loaded 8.6.x tcl/tk/tkblt/tksvg(.7) - am close but am throwing this error at "./hammerdb" invocation - splash screen shows, then... Guidance much appreciated - thank you. |
Beta Was this translation helpful? Give feedback.
-
Am now running into this "theme" issue at 4-1,"hammerDB" invocation Still haven't got "tksvg" sorted - did try the generic.xml settings though and now this... |
Beta Was this translation helpful? Give feedback.
-
clearlooks is a non-compiled theme package in the lib directory. This is the theme used on Linux when not using SVG. |
Beta Was this translation helpful? Give feedback.
-
Hi all, I've been running a small test using HammerDB 4.7 with Oracle 19, and have been obtaining 0 TPM. NOPM seems to be displaying a value. I understand that this issue has been discussed here and has been fixed quite some time ago (#189) However, I am still facing the same problem and getting 0 TPM. Can I check how I can go about resolving this issue on my end? Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
-
Hi I am trying to generate data in Hammer DB for Oracle and receiving the below error could you please help me |
Beta Was this translation helpful? Give feedback.
-
Hello Steve, |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions