MySQL 5.0, 5.1 and Innodb Plugin CPU Efficiency (1)
share
digg
by
Peter (22)
on
MySQL Performance Blog (5)
1 day, 9 hours
ago
permalink
We’ve recently done benchmarks comparing different MySQL versions in terms of their CPU efficiently in TPC-C like Workload. We did it couple of weeks ago so MySQL 5.0.67, MySQL 5.1.29 and Innodb Plugin 1.0.1 were used which are not very recent, though we do not think results will differ a lot with today versions. Results are as follows: The system was 2* Quad Core Xeon E5310, CentOS 5, Data stored on ramfs. We controlled number ...
Innodb 索引结构了解 - Innodb Index Structure (1)
share
digg
by
Sky (4)
on
Alibaba DBA Team (4)
1 week, 4 days
ago
permalink
Innodb 作为 MySQL 中使用最为广泛的 事务型存储引擎,不仅在事务实现数据版本控制方面和其他存储引擎有一定的区别,其数据结构也是以非常有特点的方式存储的。 每个Innodb表的数据其实可以说就是以一个树型(B-Tree)结构存储的,表的数据和主键(Primary Key)共同组成了一个索引结构,也就是我们常说的Innodb的Clustered Primary Key。在这个Clustered Primary Key中,Leaf Nodes其实就是实际的表记录,我们常规理解上的索引信息全部在Branch Nodes上面。 除了Clustered Primary Key之外的其他所有索引在Innodb中被称为Secondary Index。Secondary Index就和普通的B-Tree索引差不多了,只不过在Secondary Index的所有Leaf Nodes上面同时包含了所指向数据记录的主键信息,而不是直接指向数据记录的位置信息。 所以,在 Innodb 中,如果主键值占用存储空间较大的话,会直接影响整个存储 Innodb 表所需要的物理空间,同时也会直接影响到 Innodb 的查询性能。 下面是画的一张 Innodb 索引基本结构图,包括 Primary Key 和 Secondary Index 两种索引的比较。 原文出自: Innodb 索引结构了解 - Innodb Index Structure
ZFS and MySQL … not yet « domas mituzas: vaporware, inc. (2)
share
digg
by
Domas Mituzas (0)
on
domas mituzas: vaporware, inc. (0)
2 weeks, 6 days
ago
permalink
Today I attended kick-ass ZFS talk (3 hours of incredibly detailed material presented by someone who knows the stuff and knows how to talk) at CEC (Sun internal training event/conference), so now I know way more about ZFS than I used to. Probably I know way more about ZFS than Average Joe DBA \o/ And now I think ZFS has lots of brilliant design and implementation bits, except it doesn’t match database access pattern needs. ...
Could Bank Rules End the Fair Value Debate? (1)
share
digg
on
CFO.com: Today in Finance (6)
3 weeks, 1 day
ago
permalink
It wouldn't be the first time bank regulators broke from accounting rulemakers to find a solution to dwindling capital reserves.
Why use a VARCHAR when you can use TEXT? (3)
share
digg
on
Eric Florenzano's Latest Posts (0)
3 weeks, 3 days
ago
permalink
Admit it, you've done it many times before: you create a database schema, arbitrarily guessing at upper limits to the lengths of various columns, only to later have to perform annoying schema upgrades as you change those columns to fit real-world data. If you're using PostgreSQL, what you're doing is pointless. There is quite literally no performance benefit to be had, and possibly a performance penalty as the database needs to check the length constraint. ...
Introduction to the Innodb IO subsystem (2)
share
digg
by
Neelakanth Nadgir (0)
on
Planet MySQL (22)
1 month
ago
permalink
Introduction to the Innodb IO subsystem Basics When a client connects to MySQL, it creates a thread to handle it. This thread executes SQL queries and interacts with the storage engine (for simplicity, lets call them user threads). Innodb uses a four (4) additional threads to implement asynchronous io1. Although Innodb has an option innodb_file_io_threads to control the number of IO handler threads, it has no effect on how many IO handler threads are actually ...
NPR: 11-02-2008 Wait Wait... Don't Tell Me! (1)
share
digg
Escalator Wire Frame Sculpture (3)
share
digg
by
Alex (138)
on
Neatorama (212)
1 month
ago
permalink
Photo: W. Woessner That’s a wire sculpture of an escalator by Fritz Panzer, as seen at the Krobath Wimmer gallery: Link
InnoDB logfiles (1)
share
digg
by
Sheeri K. Cabral (0)
on
Planet MySQL (22)
1 month, 1 week
ago
permalink
The unsung heroes of InnoDB are the logfiles. They are what makes InnoDB automatic crash recovery possible. Database administrators of other DBMS may be familiar with the concept of a “redo” log. When data is changed, affected data pages are changed in the innodb_buffer_pool. Then, the change is written to the redo log, which in MySQL is the InnoDB logfile (ib_logfile0 and ib_logfile1). The pages are marked as “dirty”, and eventually get flushed and written ...