flagflag  

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.

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 2541, today: 1, yesterday: 1
Last-modified: 2008-12-21 (Sun) 03:29:18 (JST) (5604d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

39 user(s) are online (3 user(s) are browsing xpwiki)

Members: 0
Guests: 39

more...

Access Counter

Today : 2427242724272427
Yesterday : 9457945794579457
Total : 2332938423329384233293842332938423329384233293842332938423329384
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com