summaryrefslogtreecommitdiff
path: root/fml/doc/ja/tutorial/threadtrack/db.sgml
blob: 177e8160f57d408f50ec5cfcd686d5229e51d86d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!-- -*- mode:text coding:euc-jp -*-
   $FML: db.sgml,v 1.3 2003/05/31 08:51:10 fukachan Exp $
-->

<sect1 id="threadtrack.db">
	<title>
	����åɥ����ƥ�Υǡ����١���
	</title>

<para>
�ʲ��Τ褦�ʥǡ����١���������
����åɥ����ƥ�Υǡ����١����Ϲ�������Ƥ��ޤ���
<screen>
�ե�����̾      ���Ƥ���
----------------------------------------------
status		open / close
ml_name		elena
article_id	100
thread_id	elena/100
from		�إå��� From: (�᡼������ɥ쥹�η���)
sender		�إå��� Sender: (�᡼������ɥ쥹�η���)
x_sender	�إå��� X-Sender: (�᡼������ɥ쥹�η���)
</screen>
���Ȥ��С�BSD ��Ǥ���� 
status.db �Ȥ��ä� .db �Υե����뷲�Υ��åȤȤʤ�櫓�Ǥ���
</para>

<para>
�����Υե����뷲�ϳƣ̤ͣΥۡ���ǥ��쥯�ȥ�ǤϤʤ���
<screen>
$ml_home_prefix/@db@/�ͣ�̾/

��
/var/spool/ml/@db@/�ͣ�̾/
</screen>
�Ȥ����ǥ��쥯�ȥ�˺���Ƥ��ޤ���
����ϡ�(����Υɥᥤ����
<footnote>
<para>
�դˤ����С����ߡ��ɥᥤ���Ķ�����������ݥ��Ȥ�̵�뤷�Ƥ���櫓�Ǥ��͡�
�ޤ������ޤꤽ�������׵��̵���Ȼפ��ޤ����ɡ�
</para>
</footnote>
�ˤ���)�̤ͣ��������ߤ˻��Ȥ��������Ѥ����ꤵ��Ƥ��ޤ���
���Ȥ���
��support/100 �ε����� sales/98 ���ȯ���Ȥ��Ƥ����
�Ȥ��ä������ưŪ�ˣ̤ͣ������뵡ǽ��������뤿��Ǥ�
(��ǰ�ʤ��顢���ߤΤȤ�����̤�����Ǥ�)��
</para>

<para>
����åɥǡ����١����ϡ�
�����
article_id
��
thread_id
�� primary key �ˤ��Ƥ��ޤ���
����Ū�˽񤯤Ȱʲ��Τ褦�ˤʤ�ޤ���
<screen>
[thread .db]

	aritcle_id	=&gt;	thread_id

[article .db]

	thread_id	=&gt;	article_ids

	Example:	elena/100	=&gt; 100 101 103 105

[date .db]

	aritcle_id	=&gt;	unix_time

[sender .db]

	article_id	=&gt;	from

[message_id .db]

	mesasge_id	=&gt;	thread_id

[status .db]

	thread_id	=&gt;	status

[index .db]

	thread_id	=&gt;	"$ml_name " *

	Example: support/100 =&gt; support sales
</screen>
</para>

</sect1>