投影仪换了nn次,死机nn次,拖了一个多小时,tnnd,没有抽奖,最后每人一只读卡器就算了,汗啊汗,走了还被人老点到体育中心才坐上地铁,又下大雨,什么世道啊什么世道。。。
得知了java还有一个real time jdk的版本,好像功能很强大,non-heap memory object…
还有glassfish最新版的性能好像不错,真的实现了单线程异步处理请求,就是不知道线程作用域的变量会不会有影响。。。
Jun 12 2008
投影仪换了nn次,死机nn次,拖了一个多小时,tnnd,没有抽奖,最后每人一只读卡器就算了,汗啊汗,走了还被人老点到体育中心才坐上地铁,又下大雨,什么世道啊什么世道。。。
得知了java还有一个real time jdk的版本,好像功能很强大,non-heap memory object…
还有glassfish最新版的性能好像不错,真的实现了单线程异步处理请求,就是不知道线程作用域的变量会不会有影响。。。
Jun 11 2008
今天花了一天的时间把普通客服需要的报表搞定了,他们查报表都是要超级动态的,报表应该是统计用的,他们就是拿来查询用的,这样服务器想不死都难啊。。。
明天要去东站那边参加个研讨会,sun举办的,不知道这次有没有得抽奖,上次就拿了个u盘+两本书,嘿嘿,出席这些会议主要就是抽奖吃饭的啦,哈哈哈。
Jun 10 2008
看来是孤陋寡闻了,竟然去年12月就出来了,第二集可以说是wow电影里面最经典的制作,不知道第三集的水平如何,下载2.33g的高清晰版ing。。。
中文版在线观看地址:
[ http://wow.17173.com/videofile/2007-12-14/20071214131111348.shtml ]
方便所有不会用外挂字幕,以及无法下载2G视频的大家!
剧情和对话的确是没得说,萨尔和吉安娜的关系非同一般啊。
兽王雷克萨,也是有智慧的人,萨鲁法尔大王的台词显示了其背后的经历,
片头对灰烬使者的介绍和原作也是非常的像的。
这么长的视频,压出来真不容易啊。
[ http://wow.17173.com/videofile/2007-08-21/20070821173626827.shtml ]
《远古传说1》中文版
[ http://wow.17173.com/videofile/2006-06-26/20060626164030109.shtml ]
《远古传说2》中文版
远古3视频全部音乐列表(fakejehuty 提供)
Pirates of the Caribbean 3 – 03 At Wit’s End
10 – In Search of the Grail
Theme – Good, The Bad, And The Ugly
Pirates of the Caribbean 3 – 11 I Don’t Think Now Is The Best Time
Saw Soundtrack – Final theme
Star Wars Episode II – Attack Of The Clones – 02 – Across The Stars (Love
Theme)
13_-_Hans_Zimmer_-_Barbarian_Horde
Metal_Gear_Solid_LegendoftheSnake_OC_ReMix
Naruto OST – 08 Sadness and Sorrow
Naruto – Strong And Strike
Naruto – Main Theme
Warcraft 3 – Comradeship
Lord of The Rings – Main Theme
Pirates of the Caribbean 3 – 05 Up Is Down
Coco Lee – A Love Before Time (Mandarin)
01 – Moya
Metal Gear Solid 3 – Snake Eater (Soundtrack) – 211 – Norihiko Hibino – Last
Showdown
Metal Gear Solid 3 – Snake Eater (Soundtrack) – 210 – Harry Gregson –
Williams – Lifes End
King Arthur Soundtrack – 05-Another Brick in Hadrian’s Wall
Nightwish – End Of All Hope
Jun 10 2008
ibdata1这个垃圾文件除了reload整个database是没办法缩小的了,每个table用不同的索引文件看上去会舒服一点。。。
You can store each InnoDB
table and its indexes in its own file. This feature is called “multiple tablespaces” because in effect each table has its own tablespace.
Using multiple tablespaces can be beneficial to users who want to move specific tables to separate physical disks or who wish to restore backups of single tables quickly without interrupting the use of the remaining InnoDB
tables.
You can enable multiple tablespaces by adding this line to the [mysqld]
section of my.cnf
:
[mysqld] innodb_file_per_table
After restarting the server, InnoDB
stores each newly created table into its own file
in the database directory where the table belongs. This is similar to what the tbl_name
.ibdMyISAM
storage engine does, but MyISAM
divides the table into a data file
and the index file tbl_name
.MYD
. For tbl_name
.MYIInnoDB
, the data and the indexes are stored together in the .ibd
file. The
file is still created as usual.tbl_name
.frm
If you remove the innodb_file_per_table
line from my.cnf
and restart the server, InnoDB
creates tables inside the shared tablespace files again.
innodb_file_per_table
affects only table creation, not access to existing tables. If you start the server with this option, new tables are created using .ibd
files, but you can still access tables that exist in the shared tablespace. If you remove the option and restart the server, new tables are created in the shared tablespace, but you can still access any tables that were created using multiple tablespaces.
InnoDB
always needs the shared tablespace because it puts its internal data dictionary and undo logs there. The .ibd
files are not sufficient for InnoDB
to operate.
You cannot freely move .ibd
files between database directories as you can with MyISAM
table files. This is because the table definition that is stored in the InnoDB
shared tablespace includes the database name, and because InnoDB
must preserve the consistency of transaction IDs and log sequence numbers.
To move an .ibd
file and the associated table from one database to another, use a RENAME TABLE
statement:
RENAME TABLEdb1.tbl_name
TOdb2.tbl_name
;
If you have a “clean” backup of an .ibd
file, you can restore it to the MySQL installation from which it originated as follows:
ALTER TABLE
statement:
ALTER TABLE tbl_name
DISCARD TABLESPACE;
This statement deletes the current .ibd
file.
.ibd
file back in the proper database directory.ALTER TABLE
statement:
ALTER TABLE tbl_name
IMPORT TABLESPACE;
In this context, a “clean” .ibd
file backup means:
.ibd
file..ibd
file..ibd
file..ibd
file from the buffer pool to the file.You can make a clean backup .ibd
file using the following method:
SHOW ENGINE INNODB STATUS
shows that there are no active transactions in the database, and the main thread status of InnoDB
is Waiting for server activity
. Then you can make a copy of the .ibd
file.Another method for making a clean copy of an .ibd
file is to use the commercial InnoDB Hot Backup tool:
InnoDB
installation..ibd
files in the backup.Jun 09 2008
凯尔特人主场,全场都是beat LA 标语,貌似历史由来已久。。。湖人与凯尔特人在总决赛碰头都已经11次了。。。今天的比赛到最后真tmd混乱,湖人竟然由落后20多分追上来了,都不知道怎么追的,本来打算不看的了,谁知道到最后还是这么激烈,期待湖人下场的发挥。。。
Jun 08 2008
VIA本月5日于台北Computex 08大会上发布全新Nano处理器与Mini-ITX 2.0规格,针对小尺寸桌面计算机。会上NVIDIA芯片组业务总经理Drew Henry竟为VIA站台,虽然没有正式公布芯片组合作计划,但两方关系不言而喻,会后VIA总经理特别助理陈主望,更亲吻Drew Henry的光头,昔日的主要竞争对手,今日却同仇敌忾,一吻泯恩仇。
Jun 06 2008
又下了一天的雨,早上上班的时候鞋湿了一半,一到公司就把鞋子袜子全脱了,凉了一天。。。哪知道这个鬼天下了一天晚上还在下。。。以后要穿下凉鞋。。。好像小学之后就没有穿过凉鞋了,还要放一对拖鞋在公司,记得以前在无线的时候很多人都是一回来就换拖鞋的了,像在家一样,哈哈。
我觉得她最好的归宿是在浙江,但是我不舍得放手。。。对不起。
Jun 05 2008
昨晚在sun的论坛问了一下,今天既然10几篇回复,真tmd热情。。。
完善了一下那个简单的脚本,应该可以用了。。。
#!/usr/sbin/dtrace -s
#pragma D option quiet
dtrace:::BEGIN
{
self->index = 0;
tstart = timestamp;
}
hotspot$1:::method-entry
{
mname = strjoin(strjoin(copyinstr(arg1,arg2),”->”),copyinstr(arg3,arg4));
self->index++;
self->mname[self->index] = mname;
self->mtime[self->index] = timestamp;
@count[mname] = count();
}
hotspot$1:::method-return
{
mname = strjoin(strjoin(copyinstr(arg1,arg2),”->”),copyinstr(arg3,arg4));
mindex = (self->mname[self->index] == mname) ? -1 : 0;
mtime = (mindex == -1) ? self->mtime[self->index] : tstart;
/*
mname = (mindex == -1) ? mname : strjoin(“non-start-“, mname);
printf(“method : %s : start : %d\n”, mname, tstart);
*/
@time[mname] = avg(timestamp – mtime);
self->index += mindex;
}
Jun 04 2008
1、编译64位程序的问题,ELFCLASS32错误,不会自动去找64位的类库,ld的时候,不知道参数是不是有错了。
2、dtrace的问题,脚本里面无法使用if/else/for/while,有这样的需要,在sun发贴,不知道能不能找到解决方案,dtrace是动态勾入进程的,在统计函数调用占用时间上面,因为是中途调用,可能没有函数入口,所以要判断一下,就一个判断,无法实现就麻烦了。。。
广州继续暴雨ing,可能还要持续几天这种天气,今早碰到alin和我说他一天换一双鞋子,今天再这样就没鞋换了,嘿嘿。