Many of you know I publish a newsletter monthly. One thing I love about it is that after almost a decade of writing it regularly, the list has grown considerably. And I’m always surprised at how many former colleagues are actually reading it. So that is a really gratifying thing. Thanks to those who are, … Continue reading Should we be muddying the relational waters? Use cases for MySQL & Mongodb → …
[Read more]Pipe viewer is a command line tool which is used to monitor the throughput, display the estimated time of completion or to limit the transfer rate of a pipe (pipeline).
Install pipe viewer on Debian / Ubuntu with the following command.
apt-get install pv
On CentOS / Fedora / RedHat use the yum command to install pipe viewer
yum install pv
To use pipe viewer just insert the pv command between two processes to monitor the throughput of the pipe.
cat logfile.log.1 | pv | gzip -9 > logfile.log.1.gz 9,18MB 0:00:01 [ 9,1MB/s] [ <=>
Or limit the transfer rate of the pipe to a designated number of bytes.
cat logfile.log.1 | pv --rate-limit 100 | gzip -9 > logfile.log.1.gz 300B 0:00:03 [ 101B/s ] [ <=> ]
Related Posts:
- …
Although MyISAM has been the default storage engine for MySQL but its soon going to change with the release of MySQL server 5.5. Not only that, more and more people are shifting over to the Innodb storage engine and the reasons for that is the tremendous benefits, not only in terms of performance, concurrency, ACID-transactions, foreign key constraints, but also because of the way it helps out the DBA with hot-backups support, automatic crash recovery and avoiding data inconsistencies which can prove to be a pain with MyISAM. In this article I try to hammer out the reasons why you should move on to using Innodb instead of MyISAM.
At Kscope this year, I attended a half day in-depth session entitled Data Warehousing Performance Best Practices, given by Maria Colgan of Oracle. My impression, which was confirmed by folks in the Oracle world, is that she knows her way around the Oracle optimizer.
These are my notes from the session, which include comparisons of
how Oracle works (which Maria gave) and how MySQL works (which I
researched to figure out the difference, which is why this blog
post took a month after the conference to write). Note that I am
not an expert on data warehousing in either Oracle or MySQL, so
these are more concepts to think about than hard-and-fast advice.
In some places, I still have questions, and I am happy to have
folks comment and contribute what they know.
One interesting point brought up:
Maria quoted someone (she said the name but I did not grab it)
from …
In the past few months, I have tested many NoSQL solutions.
Redis, MongoDB, HBase yet Cassandra is the Column Store DB I
picked because of its speed (on writes), reliability, built in
feature set that makes it multi-datacenter aware. The one other
personal reward for Cassandra is it is written in Java. I like
reading and writing in Java more than C++ although it really does
not matter for me personally in the end.
Let us talk about the reason why I am introducing Cassandra into
my infrastructure and some of its drawbacks I have noticed so
far.
Why it is being introduced:
We have a feature where we record every single click for 50
million Monthly Active Users (real-time) and storing this in
mySQL is just waste of semi-good hardware for data that is only
looked at for the past 24 hours. Over the course of some time
(couple of months) more than 3 billion rows accumulated, which
translated into a 3.5 TB distributed …
Recently we put together a consolidation benchmark to see how an open-source stack performs against the proprietary stack from Microsoft. Solaris, MySQL, and Sun Web Server running on the open-source UltraSPARC T2 processor were pitted against a Microsoft SW stack running on a 4-socket QC Xeon server. This benchmark highlights the continued trend to incorporate MySQL open-source databases and how it works under virtualization (Solaris Zones).
The Sun SPARC Enterprise T5220 (1.4 Ghz UltraSPARC T2 processor) and Solaris Containers managing a consolidation of Open-Source Software components (MySQL Database and Sun Java System Web Server) provided 2.4 times better performance than the HP DL580 system (four Xeon quad-core processors) and a major virtualization software, Microsoft Windows 2003 Server EE, Microsoft SQLserver database and Microsoft IIS webserver.
The Sun SPARC Enterprise T5220 using the MySQL database in Solaris zones is …
[Read more]Recently we put together a consolidation benchmark to see how an open-source stack performs against the proprietary stack from Microsoft. Solaris, MySQL, and Sun Web Server running on the open-source UltraSPARC T2 processor were pitted against a Microsoft SW stack running on a 4-socket QC Xeon server. This benchmark highlights the continued trend to incorporate MySQL open-source databases and how it works under virtualization (Solaris Zones).
The Sun SPARC Enterprise T5220 (1.4 Ghz UltraSPARC T2 processor) and Solaris Containers managing a consolidation of Open-Source Software components (MySQL Database and Sun Java System Web Server) provided 2.4 times better performance than the HP DL580 system (four Xeon quad-core processors) and a major virtualization software, Microsoft Windows 2003 Server EE, Microsoft SQLserver database and Microsoft IIS webserver.
The Sun SPARC Enterprise T5220 using the MySQL database in Solaris zones is …
[Read more]Recently we put together a consolidation benchmark to see how an open-source stack performs against the proprietary stack from Microsoft. Solaris, MySQL, and Sun Web Server running on the open-source UltraSPARC T2 processor were pitted against a Microsoft SW stack running on a 4-socket QC Xeon server. This benchmark highlights the continued trend to incorporate MySQL open-source databases and how it works under virtualization (Solaris Zones).
The Sun SPARC Enterprise T5220 (1.4 Ghz UltraSPARC T2 processor) and Solaris Containers managing a consolidation of Open-Source Software components (MySQL Database and Sun Java System Web Server) provided 2.4 times better performance than the HP DL580 system (four Xeon quad-core processors) and a major virtualization software, Microsoft Windows 2003 Server EE, Microsoft SQLserver database and Microsoft IIS webserver.
The Sun SPARC Enterprise T5220 using the MySQL database in Solaris zones is …
[Read more]