tutorials

Geeksww.com RSS Follow geeksww on Twitter

Prev | 1 | Next

innodb_flush_log_at_timeout in 5.6

Submitted by Webmaster on Monday September 15, 2014

A setting that isn't used much but could be used more is innodb_flush_log_at_timeout, which controls how often InnoDB does an fsync from the OS buffer to disk. Here's how it interacts with innodb_flush_log_at_trx_commit.

Category:

Database Management Systems > MySQL > Administration

Tags:

mysql performance tuning

Quick, passwordless login using SSH

Submitted by Webmaster on Thursday May 01, 2014

There are two parts to this tutorial. In the first one, I am going to show how to login to a remote server without using a password (when you normally do need a password to login). Secondly, I am also going to show you how to setup SSH on your local machine so that you can use short aliases to connect to remote machines. I have successfully used these techniques on Linux and Mac OS X for the past year or so.

Category:

Tools > Security > Tips and Tricks

Tags:

linux security macosx ssh passwordless config

How to setup Spamassasin to run as a deamon

Submitted by Webmaster on Thursday October 31, 2013

SpamAssasin is perhaps the most powerful spam filter out there and many companies and projects are using it on a regular basis. In this tutorial, I am going to explain you how to run SpamAssasin as a daemon and use spamc program to check for spam in email's content.

Category:

Tools > Security > Administration

Tags:

linux security opensource spam spamassasin

Starting with Git - Setting up remote environment for Git

Submitted by Webmaster on Saturday June 08, 2013

In the tutorial, I will discuss the setup and configuration for remote and local Git repositories using SSH to transfer files between server and client. I used a Linux based server and a Mac OS X client for development but steps should work on similar environments supporting SSH.

Category:

Tools > Development > Configuration

Tags:

security development git version-control ssh remote

How to SSH into EC2 instance without identity file and password

Submitted by Webmaster on Monday May 27, 2013

I had to type in the location and name of my identity file and a long string of username@hostname anytime I'd try to SSH into my Amazon EC2 instance for administration. I found an easy solution that I am sharing with you here.

Category:

Operating Systems > MacOS X > Tips and Tricks

Tags:

security macosx amazon ssh aws ec2 passwordless

Is MySQL 5.6 slower than MySQL 5.5? No, it's faster

Submitted by Webmaster on Friday February 22, 2013

MySQL 5.6 is believed to be the best MySQL release ever. In order to find out if it is true or not I ran some benchmarks and I am going to share the results with you in this tutorial. Please note that I only tested with default settings (in both cases) and using sysbench as a benchmarking tool, so its a pretty basic test. I highly recommend that you test on your particular workload before upgrading and share your results.

Category:

Database Management Systems > MySQL > Tips and Tricks

Tags:

performance optimization benchmark mysql5.5 mysql5.6 sysbench compare

Download, configure, compile, and install MySQL 5.6

Submitted by Webmaster on Wednesday February 06, 2013

MySQL 5.6 is the latest production-ready release of the most popular opensource database management system on the planet ie. MySQL.

Category:

Database Management Systems > MySQL > Installation

Tags:

linux source-code compile install download mysql5.6

Fast, parallel restore from SQL dumps (mysqldump) for MySQL

Submitted by Webmaster on Friday June 29, 2012

I have used the technique that I am going to describe below on several occasions to restore from a SQL dump generated using mysqldump. In some cases, the restore that had taken 2 days and still could not finish successfully was completed in 5-6 hours using this simple technique. Please keep in mind that this is not a pure parallel method but I'd say it is almost parallel and have proven to be faster than regular single-threaded restore.

Category:

Database Management Systems > MySQL > Tips and Tricks

Tags:

mysql sql mysqldump parallel restore cli fast

How to download and install MySQL on Mac OS X

Submitted by Webmaster on Wednesday May 23, 2012

MySQL is the most popular open source database management system. It allows you to quickly download and install and run a powerful database system on almost any platform available including Linux, Windows, and Mac OS X etc.

Category:

Database Management Systems > MySQL > Installation

Tags:

macosx install opensource mysql download

MySQL DATE_FORMAT function and ORDER BY

Submitted by Webmaster on Monday December 12, 2011

An interesting scenario that I came across today was the fact that if you use the same alias as the column name in a formatted string (using DATE_FORMAT) and you also use same alias in ORDER BY or GROUP BY clause then MySQL uses the string output of DATE_FORMAT to sort records rather than the actual date column.

Category:

Database Management Systems > MySQL > Tips and Tricks

Tags:

mysql function tip date_format order_by

Prev | 1 | Next