flagflag  If you want to see English page, please click "English" Button at Left.
  
現: 2008-12-21 (日) 03:29:18 gambled ソース
Line 1: Line 1:
 +** Texture DB [#e21299dc]
 +-A ''Plain file'' or ''Berkeley DB'' can be used as a Texture DB as of  ''v1.0.0''.
 +-When [[sl_cache>sl_cache (E)]] is started with ''-fdb'' option, ''Berkeley DB'' is used. Default is ''Plain file''.
 +-Even with the default plain file specified the cache works fast enough.
 +-If you wish to use the Berkeley DB then you will also need to specify the ''--enable-db'' option when running ''configure'' prior to building  [[sl_proxy>sl_proxy (E)]] and TUIS_Lib.
 +** Plain File [#zc6445d9]
 +-A directory named '''cache'' ' is made as a work directory in [[Temp_File_Dir>/sl_proxy (E)/Temp_File_Dir]], and subdirectories named ''00'', ''01'', ......., ''fe'', and ''ff'' are made in this directory.~
 +-Further subdirectories named ''00'', ''01'', ......, ''fe'' and ''ff''  are then made in each of those subdirectories.
 +-These correspond to the first and second bytes respectively of the texture data ''GUID''. Texture data are sorted and saved in their corresponding (sub)subdirectories.
 +- Texture data are save with the file name ''GUID.#'' where # is a number.
 +-The number ''#'' is a serial number used for when the texture data is divided into multiple parts.  The part numbered 0 contains the header (Jpeg2000) of the file.
 +-The texture data is saved without change.
 +
 +Ex.)  ''/var/sl_proxy/cache/f8/f7/f8f7b3af-1f4​2-c2ec-0bbd-a3cf0751f837.0''
 +
 +** Berkeley DB [#v6833a33]
 +-A directory named '''cache'' ' is made as a working directory in  [[Temp_File_Dir>/sl_proxy (E)/Temp_File_Dir]], and subdirectories named ''00'', ''01'', ......., ''fe'', and ''ff'' are made in this directory.~
 +-Texture data are sorted by the first hexadecimal number (byte) of the texture data ''GUID''.  Texture data within these categories are then saved using ''Berkeley DB''. Therefore, only one ''Berkey DB'' file is made in each subdirectory named ''00'', ''01'', ....., ''fe'', and ''ff''.
 +-The file name used is ''sl_cache_XX.db'' where ''XX'' is the first byte of the ''GUID''.
 +-Texture data is saved without change.
 +
 +Ex.)  ''/var/sl_proxy/cache/f8/sl_cache_f8.db'​'
 +
 +** MySQL [#j0c3ff49]
 +-Not yet supported.
  

  • sl_cache (E)/Texture DB のバックアップ差分(No. All)
    • 現: 2008-12-21 (日) 03:29:18 gambled

トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

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

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 2350235023502350
昨日 : 3947394739473947
総計 : 2446623324466233244662332446623324466233244662332446623324466233
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com