You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
å®é¨ã¨ã³ããªã§ãã åæ© Oracleã®Statspack/AWRã§åãããã¡ã¤ã«åä½ã®Disk I/Oæ å ±ããMySQLã§ãæ¡åããããããã¯æ¬¡ã«ç¤ºããããªãã¼ã¿ã§ãã File IO Stats DB/Inst: ORA112/ORA112 Snaps: 6-7 ->Mx Rd Bkt: Max bucket time for single block read ->ordered by Tablespace, File Tablespace Filename ------------------------ ---------------------------------------------------- Av Mx Av Av Rd Rd Av Av Buffer BufWt Reads Reads/s (ms) Bkt Blks/Rd Writes Writes/s Wai
2010å¹´1æã®è¨äºSystemTapã§MySQLã®Disk I/Oãåæããã®ç¶ãã§ãã以åä½æããSystemTapã¹ã¯ãªããã¯ãå®ã¯MySQL 5.5ã®Disk I/Oãåæãããã¨ãã§ãã¾ããã§ãããã¨ããã®ããMySQL 5.5ããInnoDBãéåæI/Oãè¡ãããã«ãªã£ãã®ã§ããã以åã®ã¹ã¯ãªããã¯éåæI/Oã«å¯¾å¿ãã¦ããªãã£ãããã§ããæ¬æ¥ã¯MySQL 5.5ã«ãããInnoDBã®éåæI/Oã«ã¤ãã¦ã確èªãã¦ããããã¨æãã¾ãã éåæI/Oã¨ã¯ éåæI/Oã¨ã¯ãI/Oå¦çããããã¯ããããã¨ãªãã«è¡ãæ¹å¼ã®ãã¨ã§ããé常ã®I/Oå¦çã¯ãããå®äºããã¾ã§å¾ ãããã¦ãã¾ãã®ã§ãããéåæI/Oãç¨ãããã¨ã§I/Oå¦çã®å®äºãå¾ ã¤ãã¨ãªãã«ä»ã®å¦çãé²ãããã¨ãã§ãã¾ãã以ä¸ã®ã¦ã§ããµã¤ãã§ã¨ã¦ã詳ãã解説ããã¦ãã¾ãã ãããã¡ãã£ãã·ã¥ã¨AIOï¼1ï¼ - O'Reil
ãã¼ã¢ã³å´ããããªæãã§æ¸ãã¾ãã use Errno qw(EEXIST); use Fcntl qw(S_IFIFO); use POSIX qw(mkfifo); my $FIFO_NAME = "/tmp/my_messenger.fifo"; if (mkfifo($FIFO_NAME, 0666)) { # ok } elsif ($! == EEXIST) { die "$FIFO_NAME is not a fifo!" unless +(stat($FIFO_NAME) & !S_IFIFO) != 0; } else { die "failed to create fifo:$FIFO_NAME, $!"; } while (1) { open my $fh, '<', $FIFO_NAME or die "failed to open fifo:$FIFO_NAME,
MacBook Air ä¸ã§ Test::mysqld ãªãã¹ããèµ°ããã¦ãã㨠SSD ã®å¯¿å½ç¸®ãããã ãªã¼ã¨ããã£ã¦ tmpfs çãªãã®ã OS X ã«ããªããã®ãã¨æ¤ç´¢ããã hdid(8) ã§ã§ããã¨ã®ãã¨ã man ã®ä¸çªä¸ã®ã»ãã«ä¾ãè¼ã£ã¦ããã $ hdid -nomount ram://128000 /dev/disk1 ããã§ã¡ã¢ãªãã128000ã»ã¯ã¿ï¼1ã»ã¯ã¿512ãã¤ããªã®ã§62.5MBï¼åã¨ã£ã¦ä»®æ³ãã£ã¹ã¯ãã¤ããã $ newfs_hfs /dev/disk1 Initialized /dev/rdisk1 as a 63 MB HFS Plus volume HFSã§åæåãã¦ããã¨ã¯æ®éã« $ mkdir /tmp/mnt $ mount -t hfs /dev/disk1 /tmp/mnt ã§ãã¦ã³ãããã°OKã ä½ã£ããã£ã¹ã¯ã®ç ´æ£ã«ã¯ $ hdidu
MySQLfs ã使ãã¨ããªã¬ã¼ã·ã§ãã«ã»ãã¼ã¿ãã¼ã¹MySQLã®ä¸ã«ãã¡ã¤ã«ã·ã¹ãã ãå ¥ãããã¨ãã§ããããã®ãã¡ã¤ã«ã·ã¹ãã ä¸ã®ãã¡ã¤ã«ã«å«ã¾ãããã¤ãåã¯ãã¼ã¿ãã¼ã¹ã®åè¡ã«åå²ãã¦æ ¼ç´ãããããã大ããªãã¡ã¤ã«ãããå ´åããã¼ã¿ãã¼ã¹ã巨大ãªBLOBãã£ã¼ã«ãããµãã¼ããã¦ããå¿ è¦ã¯ãªãããã¡ã¤ã«ã·ã¹ãã ãMySQLãã¼ã¿ãã¼ã¹ã«å ¥ãã¦ããã¨ããã¼ã¿ãã¼ã¹ãåãã¦ããããã¯ã¢ãããã¯ã©ã¹ã¿ãªã³ã°ãã¬ããªã±ã¼ã·ã§ã³ã®æ©è½ãå©ç¨ãã¦MySQLfsãã¡ã¤ã«ã·ã¹ãã ãä¿è·ãããã¨ãã§ããã FedoraãopenSUSEãUbuntuã«ã¯MySQLfsã®ãã¤ããªã¼ã»ããã±ã¼ã¸ã¯å«ã¾ãã¦ããªãããããã£ã¦ãMySQLfsã使ãã«ã¯ã½ã¼ã¹ãããã«ãããå¿ è¦ããããã¾ãããããããmysql-develã¨fuse-develãã¤ã³ã¹ãã¼ã«ãã¦ãããªããã°ãªããªãï¼FUSEã«ãããä¸è¬ã®ããã°ã©ã
詳解ãã¡ã¤ã«ã·ã¹ãã Linuxã®ãã¡ã¤ã«ã·ã¹ãã ã詳解ãã¾ã ããããã¼ã¸ãã¼ã¸ä¸è¦§ã¡ã³ãã¼ç·¨é ãã¡ã¤ã«ã·ã¹ãã 諸å æçµæ´æ°ï¼ linuxfs 2006å¹´08æ09æ¥(æ°´) 21:32:11å±¥æ´ Tweet FrontPage ãã¡ã¤ã«ã·ã¹ãã 諸å 注æäºé æ´æ°è¨é² ã¡ã¸ã£ã¼ãªãã¡ã¤ã«ã·ã¹ãã ã®è«¸å Linux以å¤ã§ä¸»ã«ä½¿ç¨ããã¦ãããã¡ã¤ã«ã·ã¹ãã 諸å 並åãã¡ã¤ã«ã·ã¹ãã 諸å ãã¡ã¤ã«ã·ã¹ãã 諸å 注æäºé 1. 2006/08/09çã§ãã~ 2. kernel 2.6.18-rc4(2006/08/07)ã®ãã¼ã¿ã§ãã~ 3. Solaris 10 build45(2006/08/03)ã®ãã¼ã¿ã§ãã~ 4. 調ã¹ã¦ã¾ããééã£ã¦ããããããã¾ããã~ 5. å諸å ã®çç±ã«ã¤ãã¦ã¯ãåãã¡ã¤ã«ã·ã¹ãã æ¯ã®è©³è§£ã«ã¦èª¬æäºå®~ æ´æ°è¨é² 2006/08/09 2.2ç~ 200
Linux 2.6.22 以åã¯ã ã·ã³ããªãã¯ãªã³ã¯ (symbolic link) ã®ã¿ã¤ã ã¹ã¿ã³ã (time stamp) ã å¤æ´ãããã¨ãåºæ¥ãªãã£ãã Linux (ã«éãã unix ã®ã»ã¨ãã©å ¨ã¦) ã§ã¯ã ã·ã³ããªãã¯ãªã³ã¯ãæ®éã®ãã¡ã¤ã«ã¨åæ§ã ã¢ã¯ã»ã¹æ¥æã¨æ´æ°æ¥æã®ã¿ã¤ã ã¹ã¿ã³ããä¿æãã¦ããã BSD 㪠unix ãªã©ã§ã¯ã lutimes ã·ã¹ãã ã³ã¼ã«ã使ã£ã¦ã·ã³ããªãã¯ãªã³ã¯ã®ã¿ã¤ã ã¹ã¿ã³ããå¤æ´ã§ããã ã¨ããããLinux ã«ã¯ lutimes ã·ã¹ãã ã³ã¼ã«ãåå¨ããªãã ãããã£ã¦ã·ã³ããªãã¯ãªã³ã¯ã®ã¿ã¤ã ã¹ã¿ã³ãã¯ã ãã®ã·ã³ããªãã¯ãªã³ã¯ãä½æããæå»ã®ã¾ã¾ã§ããã tar ãªã©ã§ã¢ã¼ã«ã¤ããããªã¹ãã¢ããå ´åãã rsync ãªã©ã§ãã£ã¬ã¯ããªãã³ãã¼ããå ´åãªã©ã§ãã ã·ã³ããªãã¯ãªã³ã¯ã ãã¯å ã®ã¿ã¤ã ã¹ã¿ã³ãã復å ãããã 復å ããæ
ãã£ã¹ã¯ã¬ã¹ (diskless) ãµã¼ããå¤æ°éç¨ãããã¨ããã¨ãããã¯ã¨ãªãã®ãã NAS (Network Attached Storage) ãµã¼ãã®æ§è½ã å¤æ°ã®ãã£ã¹ã¯ã¬ã¹ãµã¼ããè³ãããã¤é«ä¿¡é ¼ãª NAS ãµã¼ãã¨ãªãã¨ã ã©ããã¦ãé«ä¾¡ãªãã®ã«ãªããã¡ã§ããã NAS ãµã¼ãæ¬ä½ã®ä¾¡æ ¼ããããã¨ãªããã ãã£ã¹ã¯ãå£ããã¨ãã®äº¤æä½å¶ãªã©ã®ä¿å®éç¨è²»ç¨ãé«ãã¤ãã ããã§ããå¤æ°ã®ãã¼ããã£ã¹ã¯å èµãµã¼ã (ã¤ã¾ãä¸è¬çãªãµã¼ã) ã éç¨ãã¦åãµã¼ãã®ãã£ã¹ã¯ãæ¥ã 交æãç¶ãã (éç¨å°æ°ãå¤ããªãã¨ã æ¯é±ã®ããã«ã©ããã®ãã£ã¹ã¯ãå£ããã¨è¨ã£ã¦ãéè¨ã§ã¯ãªã) ããã¯ã ãã£ã¹ã¯ãä¸ã¶æã® NAS ã«ã¾ã¨ããã»ããã¾ã å®ãã ã¨ãããã㧠NAS/SAN ã¸ã®ã·ããã¯ä»å¾ãé²ãã ããã ãããã CPU ãã¡ã¢ãªãªã©ã¨ãã¼ããã£ã¹ã¯ã¨ã§ã¯ã æ éçã®ã±ã¿ãéãã®ã ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}