Quantcast
Channel: MySQL Performance Blog » Search Results » why do we use view instead of tables
Browsing all 48 articles
Browse latest View live

Post: Is disk Everything for MySQL Performance ?

… many disks they have instead of how many systems they …because Sphinx is doing all search heavy lifting we only need…or 5 hours ALTER TABLE command. Let me …it very easy to use LVM for backups …...

View Article



Post: MySQL Limitations Part 1: Single-Threaded Replication

…Use DRBD replication instead of MySQL replication. Problem: you end up with an idle standby server, which can’t be used…we could avoid that. Do the replication in the application. I know of...

View Article

Post: Distributed Set Processing with Shard-Query

… Why would you break this paradigm by passing around rows instead of…view over a union of all the already joined and aggregated data from all the nodes. A single temporary table is used to store the...

View Article

Post: Implementing efficient counters with MySQL

… on the master. So we learned it can be…why. Assume you have a counter in the blogpost table instead which has 2000 byte rows in average. 10mil of posts result in 20GB table…use MyISAM or HEAP tables...

View Article

Post: MySQL opening .frm even when table is in table definition cache

…of the FRM file. This is due to VIEWs being stored as the plain text of the SQL query inside the FRM file instead of the normal binary format FRM. some legacy check for a generic table… The post Post:...

View Article


Rendundant Array of Inexpensive Servers

So you need to design highly available MySQL powered system… how do you approach that ? Too often I see the question is approached by focusing on expensive hardware which in theory should be reliable....

View Article

Multiple column index vs multiple indexes

After my previous post there were questions raised about Index Merge on Multiple Indexes vs Two Column Index efficiency. I mentioned in most cases when query can use both of the ways using multiple...

View Article

Image may be NSFW.
Clik here to view.

Avoiding auto-increment holes on InnoDB with INSERT IGNORE

Are you using InnoDB tables on MySQL version 5.1.22 or newer? If so, you probably have gaps in your auto-increment columns. A simple INSERT IGNORE query creates gaps for every ignored insert, but this...

View Article


Image may be NSFW.
Clik here to view.

Which Linux distribution for a MySQL database server? A specific point of view.

One of the more common questions I get asked is which Linux distribution I would use for a MySQL database server. Bearing the responsibility for someone else’s success means I should advise something...

View Article


Percona XtraDB Cluster: Failure Scenarios with only 2 nodes

During the design period of a new cluster, it is always advised to have at least 3 nodes (this is the case with PXC but it’s also the same with PRM). But why and what are the risks ?The goal of having...

View Article

Image may be NSFW.
Clik here to view.

Review of MySQL 5.6 Defaults Changes

James Day just posted the great summary of defaults changes in MySQL 5.6 compared to MySQL 5.5 In general there are a lot of good changes and many defaults are now computed instead of hardcoded. Though...

View Article

InnoDB Full-text Search in MySQL 5.6 (part 1)

I’ve never been a very big fan of MyISAM; I would argue that in most situations, any possible advantages to using MyISAM are far outweighed by the potential disadvantages and the strengths of InnoDB....

View Article

Post: Is disk Everything for MySQL Performance ?

… many disks they have instead of how many systems they …because Sphinx is doing all search heavy lifting we only need…or 5 hours ALTER TABLE command. Let me …it very easy to use LVM for backups …...

View Article


Post: Distributed Set Processing with Shard-Query

… Why would you break this paradigm by passing around rows instead of…view over a union of all the already joined and aggregated data from all the nodes. A single temporary table is used to store the...

View Article

Post: Implementing SchemaSpy in your MySQL environment

…view of these three tables should look like this: Final Thoughts While I find the Relationships tab the most useful component of…tables, incrementing column names in tables, and tables with the string...

View Article


Post: MySQL Query Patterns, Optimized - Webinar questions followup

… view…of subqueries (correlated, non-correlated, derived tables, scalar subqueries) and we…instead of “>” and be guaranteed to find exactly one match.  But the tradeoff of…why you thought about...

View Article

Image may be NSFW.
Clik here to view.

Avoiding auto-increment holes on InnoDB with INSERT IGNORE

Are you using InnoDB tables on MySQL version 5.1.22 or newer? If so, you probably have gaps in your auto-increment columns. A simple INSERT IGNORE query creates gaps for every ignored insert, but this...

View Article


Image may be NSFW.
Clik here to view.

Which Linux distribution for a MySQL database server? A specific point of view.

One of the more common questions I get asked is which Linux distribution I would use for a MySQL database server. Bearing the responsibility for someone else’s success means I should advise something...

View Article

Percona XtraDB Cluster: Failure Scenarios with only 2 nodes

During the design period of a new cluster, it is always advised to have at least 3 nodes (this is the case with PXC but it’s also the same with PRM). But why and what are the risks ?The goal of having...

View Article

Image may be NSFW.
Clik here to view.

Review of MySQL 5.6 Defaults Changes

James Day just posted the great summary of defaults changes in MySQL 5.6 compared to MySQL 5.5 In general there are a lot of good changes and many defaults are now computed instead of hardcoded. Though...

View Article
Browsing all 48 articles
Browse latest View live




Latest Images