summaryrefslogtreecommitdiff
path: root/fml/doc/ja/tutorial/threadtrack/db.sgml
blob: 48e7dfcf51de5573675c091436ccfed03ddc599c (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
<!--
   $FML: db.sgml,v 1.2 2003/04/15 14:51:44 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>
/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>