postgres.benchmark
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:3k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. # This file describes how to run MySQL benchmark suite with PostgreSQL
  2. #
  3. # WARNING:
  4. #
  5. # Don't run the --fast test on a PostgreSQL 7.1.1 database on
  6. # which you have any critical data; During one of our test runs
  7. # PostgreSQL got a corrupted database and all data was destroyed!
  8. # When we tried to restart postmaster, It died with a
  9. # 'no such file or directory' error and never recovered from that!
  10. #
  11. # Another time vacuum() filled our system disk with had 6G free
  12. # while vaccuming a table of 60 M.
  13. #
  14. # WARNING
  15. # The test was run on a Intel Xeon 2x 550 Mzh machine with 1G memory,
  16. # 9G hard disk.  The OS is Suse 7.1, with Linux 2.4.2 compiled with SMP
  17. # support
  18. # Both the perl client and the database server is run
  19. # on the same machine. No other cpu intensive process was used during
  20. # the benchmark.
  21. #
  22. # During the test we run PostgreSQL with -o -F, not async mode (not ACID safe)
  23. # because when we started postmaster without -o -F, PostgreSQL log files
  24. # filled up a 9G disk until postmaster crashed.
  25. # We did however notice that with -o -F, PostgreSQL was a magnitude slower
  26. # than when not using -o -F.
  27. #
  28. # First, install postgresql-7.1.2.tar.gz
  29. # Adding the following lines to your ~/.bash_profile or
  30. # corresponding file. If you are using csh, use 磗etenv