~ubuntu-branches/ubuntu/oneiric/pgpool2/oneiric

« back to all changes in this revision

Viewing changes to test/pdo-test/README.euc_jp

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2011-06-10 10:18:29 UTC
  • mfrom: (1.1.6 upstream) (4.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110610101829-m1aig6u0p74qpif3
Tags: 3.0.4-1
* New upstream release
* Use format 3.0 (quilt).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
pdo-test README
 
2
 
 
3
-pdo-test�Ȥ�?
 
4
 
 
5
pdo-test��php PDO�ɥ饤�Ф����Ѥ���pgpool�Υƥ��Ȥ�Ԥ��ץ������
 
6
�Ǥ���
 
7
 
 
8
pdo-test��ab(Apache HTTP server benchmarking tool)��Ȥ��ƥ��Ȥ��
 
9
���ޤ���
 
10
 
 
11
�ºݤμ¹���ϰʲ����̤�Ǥ���
 
12
 
 
13
abc 10 -n 100 "http://localhost/pdo-test/pdotest.php"
 
14
 
 
15
PDO�ɥ饤�Ф�pgpool�Ȥ���³�����def.inc�ե�������Խ����ޤ���
 
16
def.inc�����Ƥϰʲ����̤�Ǥ���
 
17
<?php
 
18
        /* �ۥ���̾������*/
 
19
        define("HOSTNAME","localhost");
 
20
        /* DB̾������*/
 
21
        define("DBNAME","postgres");
 
22
        /* ��³�桼��̾������*/
 
23
        define("USER","postgres");
 
24
        /* ��³port������*/
 
25
        define("PORT","9999");
 
26
        /* �ѥ���ɤ�����*/
 
27
        define("PASS","");
 
28
?>
 
29
 
 
30
�¹Ԥ��륯�����SQLList�ǥ��쥯�ȥ���Υե����뤫��������
 
31
�¹Ԥ���ޤ���
 
32
 
 
33
�ե�����ˤ�;(���ߥ�����)���ڤ��ʣ����SQL�򵭽Ҥ��Ƥ���������
 
34
 
 
35
�ޤ�������Υե�����Τ߼¹Ԥ��������ˤϡ��ʲ��Τ褦�˼¹�
 
36
���ޤ���
 
37
 
 
38
http://localhost/pdo-test/pdotest.php?query=�ե�����̾
 
39
 
 
40
PHP�����Ϥ��륨�顼��log.txt�˽��Ϥ���ޤ���
 
41
SQL��٥�Υ��顼�ˤĤ��Ƥ�ab�μ¹Է�̤���ʬ����褦�ˤʤäƤޤ���
 
42
 
 
43
�ʲ������顼��ȯ����������ab�μ¹Է�̤Ǥ���
 
44
Non-2xx responses��ɽ�����줿���ˤϲ�������DB�˥��顼��ȯ������
 
45
��ǽ��������Τǡ�log.txt��DB�Υ������ǧ���Ƥ���������
 
46
 
 
47
oncurrency Level:      10
 
48
Time taken for tests:   7.721773 seconds
 
49
Complete requests:      100
 
50
Failed requests:        0
 
51
Write errors:           0
 
52
Non-2xx responses:      100
 
53
Total transferred:      25100 bytes
 
54
HTML transferred:       5300 bytes
 
55
Requests per second:    12.95 [#/sec] (mean)
 
56
Time per request:       772.177 [ms] (mean)
 
57
Time per request:       77.218 [ms] (mean, across all concurrent requests)
 
58
Transfer rate:          3.11 [Kbytes/sec] received