CVS log for pgsql/contrib/pgbench/Attic/README.pgbench_jis

[BACK] Up to [PostgreSQL CVS Repository] / pgsql / contrib / pgbench

Request diff between arbitrary revisions - Display revisions graphically


Keyword substitution: kv
Default branch: MAIN


Revision 1.20
Tue Jan 6 13:43:31 2009 UTC (16 years, 6 months ago) by ishii
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.19: +1 -1 lines
Remove outdated Japanese README files per discussion.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Apr 8 01:15:07 2007 UTC (18 years, 3 months ago) by ishii
Branches: MAIN
CVS tags: REL8_3_STABLE, REL8_3_RC2, REL8_3_RC1, REL8_3_BETA4, REL8_3_BETA3, REL8_3_BETA2, REL8_3_BETA1, REL8_3_9, REL8_3_8, REL8_3_7, REL8_3_6, REL8_3_5, REL8_3_4, REL8_3_3, REL8_3_2, REL8_3_11, REL8_3_10, REL8_3_1, REL8_3_0
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -1 lines
Add -F option to set fillfactor for tellers, accounts and branches.
Patch contributed by Pavan Deolasee. Along with Japanese doc
modification by Tatsuo Ishii.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Apr 6 09:16:16 2007 UTC (18 years, 3 months ago) by ishii
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +25 -2 lines
Enhance pgbench -l option to add timestamp. Patch contributed by Greg
Smith. Along with Japanese doc updation by Tasuo Ishii.

> This patch changes the way pgbench outputs its latency log files so that
> every transaction gets a timestamp and notes which transaction type was
> executed.  It's a one-line change that just dumps some additional
> information that was already sitting in that area of code. I also made a
> couple of documentation corrections and clarifications on some of the more
> confusing features of pgbench.
>
> It's straightforward to parse log files in this format to analyze what
> happened during the test at a higher level than was possible with the
> original format.  You can find some rough sample code to convert this
> latency format into CVS files and then into graphs at
> http://www.westnet.com/~gsmith/content/postgresql/pgbench.htm which I'll
> be expanding on once I get all my little patches sent in here.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Apr 6 08:49:44 2007 UTC (18 years, 3 months ago) by ishii
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -52 lines
Various pgbench enhancements. Patch contributed by ITAGAKI Takahiro.

Also tweak README.pgbench/README.pgbench_jis:
  Remove history after pgbench was added to PostgreSQL contrib module.
  Those info was not only redundant since it has already been in CVS
  log, but also incomplete.
--------------------------------------------------------------------------
The attached is a patch to optimize contrib/pgbench using new 8.3 features.

- Use DROP IF EXISTS to suppress errors for initial loadings.
- Use a combination of TRUNCATE and COPY to reduce WAL on creating
  the accounts table.

Also, there are some cosmetic changes.

- Change the output of -v option from "starting full vacuum..."
  to "starting vacuum accounts..." in reflection of the fact.
- Shape duplicated error checks into executeStatement().


There is a big performance win in "COPY with no WAL" feature.
Thanks for the efforts!
--------------------------------------------------------------------------

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Oct 21 06:31:28 2006 UTC (18 years, 9 months ago) by ishii
Branches: MAIN
CVS tags: REL8_2_STABLE, REL8_2_RC1, REL8_2_BETA3, REL8_2_BETA2, REL8_2_9, REL8_2_8, REL8_2_7, REL8_2_6, REL8_2_5, REL8_2_4, REL8_2_3, REL8_2_2, REL8_2_17, REL8_2_16, REL8_2_15, REL8_2_14, REL8_2_13, REL8_2_12, REL8_2_11, REL8_2_10, REL8_2_1, REL8_2_0
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -1 lines
pgbench: More fix with handling default scaling factor in the default
scenarios. With multiple clinets, only the first client got the right
scaling factor and this gave a illusion of better performance in case
of the scaling factor greater than 1.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Sep 13 00:39:19 2006 UTC (18 years, 10 months ago) by ishii
Branches: MAIN
CVS tags: REL8_2_BETA1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -5 lines
Change "tps" to "scale" to avoid confusion

Fix bug with handling default scaling factor in the default
scenarios

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jul 26 07:24:50 2006 UTC (19 years ago) by ishii
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +75 -18 lines
New features contributed by Tomoaki Sato.

- predefined variable "tps"
  The value of variable tps is taken from the scaling factor
  specified by -s option.

- -D option
  Variable values can be defined by -D option.

- \set command now allows arithmetic calculations.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Nov 16 13:13:08 2005 UTC (19 years, 8 months ago) by ishii
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -4 lines
Fix comment on -v option

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Oct 4 13:46:52 2005 UTC (19 years, 9 months ago) by ishii
Branches: MAIN
CVS tags: REL8_1_STABLE, REL8_1_9, REL8_1_8, REL8_1_7, REL8_1_6, REL8_1_5, REL8_1_4, REL8_1_3, REL8_1_21, REL8_1_20, REL8_1_2, REL8_1_19, REL8_1_18, REL8_1_17, REL8_1_16, REL8_1_15, REL8_1_14, REL8_1_13, REL8_1_12, REL8_1_11, REL8_1_10, REL8_1_1, REL8_1_0RC1, REL8_1_0BETA4, REL8_1_0BETA3, REL8_1_0
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Oops. Partially saved file was committed.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Oct 4 13:40:45 2005 UTC (19 years, 9 months ago) by ishii
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -4 lines
Allow multiple -f options.
Make pgbench "script driven" to eliminate hard coded transaction
scenario. (Tatsuo Ishii)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Sep 29 13:44:25 2005 UTC (19 years, 10 months ago) by ishii
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +66 -13 lines
Add -f option which enables to read SQL commands from a file.
Patches Contributed by Tomoaki Sato.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Nov 26 06:53:18 2003 UTC (21 years, 8 months ago) by ishii
Branches: MAIN
CVS tags: REL8_1_0BETA2, REL8_1_0BETA1, REL8_0_STABLE, REL8_0_9, REL8_0_8, REL8_0_7, REL8_0_6, REL8_0_5, REL8_0_4, REL8_0_3, REL8_0_25, REL8_0_24, REL8_0_23, REL8_0_22, REL8_0_21, REL8_0_20, REL8_0_2, REL8_0_19, REL8_0_18, REL8_0_17, REL8_0_16, REL8_0_15, REL8_0_14, REL8_0_13, REL8_0_12, REL8_0_11, REL8_0_10, REL8_0_1, REL8_0_0RC5, REL8_0_0RC4, REL8_0_0RC3, REL8_0_0RC2, REL8_0_0RC1, REL8_0_0BETA5, REL8_0_0BETA4, REL8_0_0BETA3, REL8_0_0BETA2, REL8_0_0BETA1, REL8_0_0
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -1 lines
Patches from Yutaka Tanida. Create primary key indexes after data
insertion to reduce initialization time.

Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Wed Nov 26 06:48:53 2003 UTC (21 years, 8 months ago) by ishii
Branches: REL7_4_STABLE
CVS tags: REL7_4_9, REL7_4_8, REL7_4_7, REL7_4_6, REL7_4_5, REL7_4_4, REL7_4_3, REL7_4_29, REL7_4_28, REL7_4_27, REL7_4_26, REL7_4_25, REL7_4_24, REL7_4_23, REL7_4_22, REL7_4_21, REL7_4_20, REL7_4_2, REL7_4_19, REL7_4_18, REL7_4_17, REL7_4_16, REL7_4_15, REL7_4_14, REL7_4_13, REL7_4_12, REL7_4_11, REL7_4_10, REL7_4_1
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +6 -1 lines
Patches from Yutaka Tanida. Create primary key indexes after data
insertion to reduce initialization time.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jun 10 09:07:15 2003 UTC (22 years, 1 month ago) by ishii
Branches: MAIN
CVS tags: WIN32_DEV, REL7_4_RC2, REL7_4_RC1, REL7_4_BETA5, REL7_4_BETA4, REL7_4_BETA3, REL7_4_BETA2, REL7_4_BETA1, REL7_4
Branch point for: REL7_4_STABLE
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -0 lines
Fix uninitialized memory bug
Add support for PGHOST, PGPORT, PGUSER environment variables

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jul 20 03:02:01 2002 UTC (23 years ago) by ishii
Branches: MAIN
CVS tags: REL7_3_STABLE, REL7_3_9, REL7_3_8, REL7_3_7, REL7_3_6, REL7_3_5, REL7_3_4, REL7_3_21, REL7_3_20, REL7_3_2, REL7_3_19, REL7_3_18, REL7_3_17, REL7_3_16, REL7_3_15, REL7_3_14, REL7_3_13, REL7_3_12, REL7_3_11, REL7_3_10
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +12 -12 lines
Apply patches from Neil Conway.

> Hi Tatsuo,
>
> I've attached a patch for the version of pgbench in CVS. It includes the
> following changes:
>
>     - fix some spelling mistakes, indentation stuff, etc.
>
>     - minor code cleanup -- (void) args instead of (), etc.
>
>     - allocate the state array dynamically, so that it is only as
>     large as needed. This reduces the memory consumption of pgbench
>     slightly, and makes a larger MAXCLIENTS setting possible
>
>     - (the only controversial change) add an option "-l" to log
>     transaction latencies to a file. The "transaction latency"
>     is the time between when the BEGIN is issued and the transaction
>     commits. This is written to a file, along with the client #
>     and the transaction #. The data in the file can then be used
>     for things like:
>
>         - consistency analysis: is the TPS the same through the
>         entire run of pgbench, or does it change?
>
>         - more detailed stats: what is the average latency, worse-case
>         latency, best-case latency?
>
>         - graphs: feed the data to gnuplot, graph latency versus. time
>
>         - etc.
>
>     I was going to store this data in memory and write it to disk
>     at the end of the pgbench run, but that isn't feasible because
>     the data can be very large: for example, ~70MB if benchmarking
>     128 clients doing 100,000 transactions each.
>
> Cheers,
>
> Neil

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon May 20 05:07:28 2002 UTC (23 years, 2 months ago) by ishii
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -0 lines
Update docs about new -N option

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Feb 24 00:17:57 2002 UTC (23 years, 5 months ago) by ishii
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +13 -1 lines
Add -N option which disables updation of branches and tellers tables.
So there would be less contention with -N, that might be more realistic
test.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Oct 24 08:07:21 2001 UTC (23 years, 9 months ago) by ishii
Branches: MAIN
CVS tags: REL7_2_STABLE, REL7_2_RC2, REL7_2_RC1, REL7_2_BETA5, REL7_2_BETA4, REL7_2_BETA3, REL7_2_BETA2, REL7_2_BETA1, REL7_2_8, REL7_2_7, REL7_2_6, REL7_2_5, REL7_2_4, REL7_2_3, REL7_2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -1 lines
"time" is now a reserved keyword(changed to "mtime").

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Sep 9 03:15:56 2001 UTC (23 years, 10 months ago) by ishii
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +79 -65 lines
Add -U, -P, -C options. See README.pgbench for more details.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Feb 17 06:50:03 2001 UTC (24 years, 5 months ago) by ishii
Branches: MAIN
CVS tags: REL7_1_STABLE, REL7_1_2, REL7_1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -6 lines
Fix README in Japanese to sync with README.pgbench updated by Tom.
(thanks!)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 14:02:03 2000 UTC (25 years, 1 month ago) by momjian
Branches: MAIN
CVS tags: REL7_1_BETA3, REL7_1_BETA2, REL7_1_BETA
Add missing /contrib files

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

PostgreSQL CVSweb <[email protected]>