2008-04-18

MySQL部分新特性将闭源

关键字: mysql 闭源
SUN真是开源的毒药,收购mysql以后,竟然宣布一些特性将闭源,只提供给企业版。 原帖见:注意Marten Mickos是Mysql CEO http://jcole.us/blog/archives/2008/04/14/just-announced-mysql-to-launch-new-features-only-in-mysql-enterprise/ Vadim的评论 http://www.mysqlperformanceblog.com/2008/04/15/partially-opensourced/
2008-02-14

TCMalloc : Thread-Caching Malloc

关键字: tcmalloc
原文http://google-perftools.googlecode.com/svn/trunk/doc/tcmalloc.html Sanjay Ghemawat Motivation TCMalloc is faster than the glibc 2.3 malloc (available as a separate library called ptmalloc2) and other mallocs that I have tested. ptmalloc2 takes approximately 300 nanoseconds to execute a ...
2008-01-25

Enum VS Varchar VS Int + Joined: What is Faster

关键字: enum varchar int join
Enum Fields VS Varchar VS Int + Joined table: What is Faster?from MySQL Performance Blog by Alexey KovyrinReally often in customers' application we can see a huge tables with varchar/char fields, with small sets of possible values. These are "state", "gender", "status&quo ...
2008-01-10

MySQL使用外键约束对性能有多大影响?

关键字: mysql foreign key constraint 外键约束
MySQL InnoDB表有外键约束功能,可以保证数据的一致性和实现一些级联操作,比如 表 product id, name 表 order id, product_id name product_id就可以使用Mysql的外键约束功能,如果插入新的order是,product_id在product表中并不存在则这条记录就不完整,不能插入数据库中。 现在我的疑问就是: MySQL在使用外键约束,做一致性检查的时候,对插入和更新性能有多少影响? 对查询性能应该没有太多影响
2007-12-05

SQL的隔离级别

关键字: isolation 隔离级别 sql
数据库的隔离级别主要是为读操作定义保护级别的;对于修改写操作,无论哪种隔离级别都可以保证写操作的正确执行。SQL标准为三种副作用: Dirty reads: 事务T2提交了数据,事务T1这时读取了T2提交的数据,T2发生异常rollback,那么T1读取的数据就是有问题的数据,是dirty read。 unrepeatable reads:事务T1读取数据以后,事务T2修改了T1读取的数据,事务T1以同样的查询从数据库读取数据,就会发现和上一次读取的不一致,所以称为unrepeatable reads。 phantom reads:事务T1查询数据 ...
2007-11-27

MySQL性能优化

关键字: mysql performance tuning 优化
作者:andyao 原文link: http://andyao.javaeye.com/admin/show/144033 转载请留名 1. 简介 在Web应用程序体系架构中,数据持久层(通常是一个关系数据库)是关键的核心部分,它对系统的性能有非常重要的影响。MySQL是目前使用最多的开源数据库,但是MySQL数据库的默认设置性能非常的差,仅仅是一个玩具数据库。因此在产品中使用MySQL数据库必须进行必要的优化。 优化是一个复杂的任务,本文描述MySQL相关的数据库设计和查询优化,服务器端优化,存储引擎优化。 2. 数据库设计和查询优化 在My ...
2007-11-09

10 tips for optimizing mysql queries

关键字: mysql 优化
By Justin Silverton use the explain command Use multiple-row INSERT statements to store many rows with one SQL statement. The explain command can tell you which indexes are used with the specified query and many other pieces of useful information that can help you choose a better in ...
Nuts and Bolts of Transaction Processing 关于XA事务的, 第二代分布式事务管理 The Challenges of Extreme Transaction Processing in a World of Services and Events 关于ETP事务,第三代分布式事务管理 Lessons from Pat Helland: Life Beyond Distributed Transactions  关于分布式事务的讨论      
2007-10-31

InnoDB vs MyISAM vs Falcon benchmarks

关键字: mysql InnoDB MyISAM 性能
MyISAM和InnoDB的性能比较的一篇文章,可以看出InnoDB并不比MyISAM慢。而且InnoDB提供事务支持。 PS: javaeye用的就是InnoDB InnoDB vs MyISAM vs Falcon benchmarks - part 1 Several days ago MySQL AB made new storage engine Falcon available for wide auditory. We cannot miss this event and executed several benchmarks to see how Falcon per ...
2007-09-18

Mysql 支持XA分布式事务

关键字: mysql xa jta
 纠正自己对mysql的一个误解,mysql从5.0开始支持XA DataSource。Connector/J 版本要使用5.0版本,5.0以下的不支持。 Mysql Connector/J 文档中提到: 1    Connector/J 5.0 provides support for all the functionality offered by Connector/J 3.1 and includes distributed transaction (XA) support. 2    You can ...
2007-09-12

Mysql编译安装参数优化

关键字: mysql compile
1. -static  13%    --with-client-ldflags=-all-static    --with-mysqld-ldflags=-all-static 静态链接提高13%性能 2. -pgcc  1%    CFLAGS="-O3 -mpentiumpro -mstack-align-double" CXX=gcc \      CXXFLAGS="-O3 -mpentiumpro -mstack-a ...
andyao
搜索本博客
我的相册
5420ab30-72c6-3b30-9492-388a5a0e5e66-thumb
Snap1
共 1 张
存档
最新评论