03 2014 档案

How to Read an Engineering Research Paper
摘要:William G. GriswoldCSE, UC San DiegoReading research papers effectively is challenging. These papers are written in a very condensed style because of ... 阅读全文

posted @ 2014-03-22 22:38 Still water run deep 阅读(329) 评论(0) 推荐(0)

Small things are better
摘要:Yesterday I had fun time repairing 1.5Tb ext3 partition, containing many millions of files. Of course it should have never happened – this was decent PowerEdge 2850 box with RAID volume, ECC memory and reliable CentOS 4.4 distribution but still it did. We had “journal failed” message in kernel log a 阅读全文

posted @ 2014-03-17 00:19 Still water run deep 阅读(201) 评论(0) 推荐(0)

Working with large data sets in MySQL
摘要:What does working with large data sets in mySQL teach you ? Of course you have to learn a lot about query optimization, art of building summary tables and tricks of executing queries exactly as you want. I already wrote about development and configuration side of the problem so I will not go to deta 阅读全文

posted @ 2014-03-17 00:12 Still water run deep 阅读(260) 评论(0) 推荐(0)

Why MySQL could be slow with large tables ?
摘要:If you’ve been reading enough database related forums, mailing lists or blogs you probably heard complains about MySQL being unable to handle more than 1.000.000 (or select any other number) rows by some of the users. On other hand it is well known with customers like Google, Yahoo, LiveJournal,Tech 阅读全文

posted @ 2014-03-17 00:09 Still water run deep 阅读(398) 评论(0) 推荐(0)

How to disable index in innodb
摘要:Q:I read from many places that disabling index before loading a data table can significantly speed up the importing process. But innodb does not support "disable index". Particularly, I got a warning message after runningALTERTABLE mytable DISABLE KEYS;+-------+------+--------------------- 阅读全文

posted @ 2014-03-17 00:02 Still water run deep 阅读(333) 评论(0) 推荐(0)

Any gotchas at all with converting from MyISAM to InnoDB?
摘要:Q:I'm ready to move from MyISAM to InnoDB but wanted to know if there was a full list of things to look for? For example, I haven't seen any list mention that running DISABLE KEYS on an InnoDB table will throw a warning, except the manual page for ALTER TABLE. It's that kind of thing I n 阅读全文

posted @ 2014-03-16 21:54 Still water run deep 阅读(262) 评论(0) 推荐(0)

bulk_insert_buffer_size and InnoDB
摘要:Q:I read the following on this pagehttp://dev.mysql.com/doc/mysql/en/server-system-variables.htmlbulk_insert_buffer_size MyISAM uses a special tree-like cache to make bulk inserts faster for INSERT ... SELECT, INSERT ... VALUES (...), (...), ..., and LOAD DATA INFILE. This variable limits the size o 阅读全文

posted @ 2014-03-16 21:17 Still water run deep 阅读(5116) 评论(0) 推荐(0)

MySQL DELAY_KEY_WRITE Option
摘要:delay_key_writeThis option applies only to MyISAM tables. It can have one of the following values to affect handling of the DELAY_KEY_WRITE table option that can be used in CREATE TABLE statements.If DELAY_KEY_WRITE is enabled for a table, the key buffer is not flushed for the table on every index u 阅读全文

posted @ 2014-03-16 20:29 Still water run deep 阅读(482) 评论(0) 推荐(0)

More on understanding sort_buffer_size
摘要:There have been a few posts by Sheeri and Baron today on the MySQL sort_buffer_size variable. I wanted to add some more information about this buffer, what is impacted when it is changed, and what to do about it?The first thing you need to know is the sort_buffer_size is a per session buffer. That i 阅读全文

posted @ 2014-03-16 20:02 Still water run deep 阅读(294) 评论(0) 推荐(0)

myisam_sort_buffer_size vs sort_buffer_size
摘要:Q:I am MySQL on server with 6GB RAM. I need to know what is the difference between myisam_sort_buffer_size and sort_buffer_size?I have following size set to them:myisam_sort_buffer_size = 8Msort_buffer_size = 256MPlease also mention if these values are fine or need adjustments?ThanksA:sort_buffer_si 阅读全文

posted @ 2014-03-16 20:01 Still water run deep 阅读(3155) 评论(0) 推荐(0)

share-Nothing原理
摘要:Share nothing理论在数据库设计和优化中的实践应用 首先介绍share nothing概念。最早接触它是在 DataBaseManagentSystem一书的并行数据库章节中。 并行数据库要求尽可能的去并行执行数据库操作,从而提高性能。在并行计算体系结构实现中有很多可选的体系结构。包括: share-memory:多个cpu共享同一片内存,cpu之间通过内部通讯机制(interconnection network)进行通讯; share-disk : 每一个cpu使用自己的私有内存区域,通过内部通讯机制直接访问所有磁盘系统。 Share-nothing: 每一个cpu都有私... 阅读全文

posted @ 2014-03-05 17:01 Still water run deep 阅读(4348) 评论(0) 推荐(1)

GROUP_CONCAT(expr)
摘要:This function returns a string result with the concatenated non-NULLvalues from a group. It returnsNULLif there are no non-NULLvalues. The full syntax is as follows:GROUP_CONCAT([DISTINCT] expr [,expr ...] [ORDER BY {unsigned_integer | col_name | expr} [ASC | DESC] [,col_... 阅读全文

posted @ 2014-03-02 14:04 Still water run deep 阅读(454) 评论(0) 推荐(0)

导航