flagflag  If you want to see English page, please click "English" Button at Left.

SIM DB anchor.png

  • The Plane file and Berkeley DB can be used as a Tecture DB in v1.0.0.
  • When sl_info is started with -fdb option, Berkelry DB is used. Default is Plane file.
  • The speed goes out enough also even if it is Plane file of default.
  • It is necessary to specify --enable-db option with configure of sl_proxy and TUIS_Lib to use Berkeley DB.

The data of SIM preserved in DB is

  • SIM Name. (32Byte)
  • GUID of SIM. (40Byte)
  • Region Handler. (8Byte)
  • SIM's IP address. (Binary form. 4 Byte)
  • SIM's access. (2Byte)
  • State of data. (2Byte)
  • X coordinate of SIM. (4 Byte)
  • Y coordinate of SIM. (4 Byte)
  • Update Time. (Linux Time. 4Byte)
Page Top

Plane File anchor.png

  • In SIM DB, to make SIM name and the region handler a retrieval key, two kinds of data bases are made. Contents are the same. As for these DB, the file name (key) is only different.
Page Top

When the region handler is a key (file name) anchor.png

  • The directory named 'info/sim_handle ' is made for work directory Temp_File_Dir, and the subdirectory named 000, 001, 002, ......., 254, and 255 is made in the directory.
  • These subdirectories are assumed to be a modulo to 256 of the X coordinates of SIM, so SIM data is classified, and it preserves it.
  • The file name becomes X coordinate(6digits)-Y coordinate(6digits) of SIM.

Ex.) /var/sl_proxy/info/sim_handle/243/001011​-000987

Page Top

When the SIM name is a key (file name) anchor.png

  • The directory named 'info/sim_name ' is made for work directory Temp_File_Dir, and the subdirectory named @, A, B, ......., Y, and Z is made in the directory.
  • These subdirectories are assumed to be an initial of SIM name, SIM data is classified, and it preserves it. @ is used to classify SIM of the initial other than the alphabet.
  • The file name when preserving it becomes SIM name.

Ex.) /var/sl_proxy/info/sim_name/T/TUIS

Page Top

Berkeley DB anchor.png

  • The directory named 'info ' is made for work directory Temp_File_Dir.
  • Two DB files are made by SIM name and region handler as keys.

Ex.) /var/sl_proxy/info/sim_info.db, /var/sl_proxy/info/sim_info_handle.db

Page Top

MySQL anchor.png

  • It is not possible to use it now.

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom
Counter: 2536, today: 1, yesterday: 1
最終更新: 2008-12-21 (日) 03:29:18 (JST) (5599d) by iseki

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
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
<今日>

オンライン状況

79 人のユーザが現在オンラインです。 (8 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 79

もっと...

アクセスカウンタ

今日 : 3497349734973497
昨日 : 1169911699116991169911699
総計 : 2329083223290832232908322329083223290832232908322329083223290832
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com