亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: 用perl做大規(guī)模數(shù)據(jù)(千萬級(jí))高效處理的孔雀翎 [打印本頁]

作者: helbreathszw    時(shí)間: 2007-03-17 16:26
標(biāo)題: 用perl做大規(guī)模數(shù)據(jù)(千萬級(jí))高效處理的孔雀翎
呵呵,以前記得孔雀翎是可以讓一個(gè)不會(huì)武功的人能迅速PK掉武功高手的武器。
同樣在IT世界,perl+mysql就能成為一個(gè)高效的孔雀翎。學(xué)perl是因?yàn)閷?dǎo)入mysql數(shù)據(jù)時(shí)候需要一些正則處理,比如去掉不要的,或是做一些變更替換啥的,當(dāng)然用php,c,java也能做,但是perl比較適合懶惰的人。
哈哈,接下來就是對(duì)付千萬級(jí)的數(shù)據(jù)分析了,本來應(yīng)該要學(xué)會(huì)了算法,cache,多線程才能做的來的事情,現(xiàn)在統(tǒng)統(tǒng)讓mysql來處理,我們只要把數(shù)據(jù)導(dǎo)入到mysql就算大功告成。

于是,一切就變得簡(jiǎn)單了,當(dāng)然如果你肯花功夫?qū)W一些mysql的性能優(yōu)化,可以讓你產(chǎn)生10多倍的功效。
另外提一下,不要把數(shù)據(jù)庫當(dāng)作多么高深的東東,其實(shí)他就是一個(gè)高效算法集一身的文件處理系統(tǒng)。嘎嘎
作者: helbreathszw    時(shí)間: 2007-03-17 16:28
MySQL storage engines
One of the big advantages of MySQL is its concept of "pluggable storage engines". This means you can choose the most optimal storage engine for your needs. This also has a disadvantage: You have to know what you are doing...

MySQL provides the following storage engines:

mysql> SHOW ENGINES;

+------------+----------+-------------------------------------------------------+
| Engine     | Support  | Comment                                               |
+------------+----------+-------------------------------------------------------+
| MyISAM     | DEFAULT  | Default engine with great performance                 |
| MEMORY     | YES      | Hash based in memory tables                           |
| InnoDB     | YES      | Transactional storage engine with row-level locking   |
| Falcon     | YES      | Falcon storage engine                                 |
| BerkeleyDB | NO       | Transactional storage engine with page-level locking  |
| BLACKHOLE  | YES      | /dev/null storage engine for replication transmission |
| EXAMPLE    | YES      | Example storage engine                                |
| ARCHIVE    | YES      | Archive storage engine                                |
| CSV        | YES      | CSV storage engine                                    |
| ndbcluster | DISABLED | Clustered, fault-tolerant, memory-based tables        |
| FEDERATED  | YES      | Federated MySQL storage engine (like database links)  |
| MRG_MYISAM | YES      | Collection of identical MyISAM tables (MERGE)         |
| ISAM       | NO       | Obsolete storage engine                               |
+------------+----------+-------------------------------------------------------+



There are also some independent storage engine providers:

solidDB
PrimeBase XT
OpenOLAP
Thinking Networks Storage Engine
RitmarkFS
FS map to mysql
Sphinx Search
mdbtools storage engine
Distributed Data Engine
MemCacheD Storage Engine (by Brian Aker)
RRD Storage engine (insider information, unofficial name, not yet available). A work around you can find here: Round-Robin Database Storage Engine (RRD)
VEMySQL Velocity Storage Engine
NitroEDB
InfoBrigth
FIFO storage engine (Domas)
Amazon S3 storage engine
ScaleDB
作者: helbreathszw    時(shí)間: 2007-03-17 16:31
有了上述這些能力,就能讓你面對(duì)千萬級(jí)別的數(shù)據(jù)可以快速PK掉那些對(duì)算法,對(duì)緩沖,對(duì)線程有幾年功力的IT高手!
作者: 蘭花仙子    時(shí)間: 2007-03-17 16:38
本帖與Perl有任何關(guān)系么?去數(shù)據(jù)庫版炫吧。鎖之。




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2