Showing entries 51 to 60 of 1248
« 10 Newer Entries | 10 Older Entries »
Displaying posts with tag: Databases (reset)
How to configure remote and secure connections for MySQL on Ubuntu 16.04

In this article, we will show you how to configure remote and secure connections for MySQL on Ubuntu 16.04 VPS.  ...

Read moreHow to configure remote and secure connections for MySQL on Ubuntu 16.04

The post How to configure remote and secure connections for MySQL on Ubuntu 16.04 appeared first on RoseHosting.

Cost/Benefit Analysis of a MySQL Index

We all know that if we add a MySQL index to speed up a read, we end up making writes slower. How often do we do the analysis to look at how much more work is done?

Recently, a developer came to me and wanted to add an index to a very large table (hundreds of gigabytes) to speed up a query. We did some testing on a moderately used server:

Set long_query_time to 0 and turn slow query logging on
Turn slow query logging off after 30 minutes.

Add the index (was on a single field)

Repeat the slow query logging for 30 minutes at a similar time frame (in our case, we did middle of the day usage on a Tuesday and Wednesday, when the database is heavily used).

Then I looked at the write analysis – there were no DELETEs, no UPDATEs that updated the indexed field, and no UPDATEs that used the indexed field in the filtering. There were only INSERTs, and with the help of pt-query-digest, here’s what I found: …

[Read more]
How to Install LEMP on Ubuntu 16.04

We’ll show you, how to install LEMP on Ubuntu 16.04. LEMP stack (Linux, Nginx, MySQL, PHP) should not be confused with ...

Read moreHow to Install LEMP on Ubuntu 16.04

The post How to Install LEMP on Ubuntu 16.04 appeared first on RoseHosting.

Barcelona MySQL Users Group Meetup on 5th July

If you’re in Barcelona next week you may be interested in the MySQL Meetup being held there by the Barcelona MySQL Meetup group on Wednesday 7th July at 7pm. I’ll be doing a talk on MySQL Failover and Orchestration and there will be opportunity to talk about MySQL and related topics afterwards. More information can … Continue reading Barcelona MySQL Users Group Meetup on 5th July

The post Barcelona MySQL Users Group Meetup on 5th July first appeared on Simon J Mudd's Blog.

How to Install LAMP on Ubuntu 16.04

We’ll show you How to Install LAMP on Ubuntu 16.04. LAMP (Linux, Apache, MySQL, PHP) is a combination of open ...

Read moreHow to Install LAMP on Ubuntu 16.04

The post How to Install LAMP on Ubuntu 16.04 appeared first on RoseHosting.

Why does the MySQL optimizer not do what I think it should?

In May, I presented two talks – one called “Are you getting the best out of your indexes?” and “Optimizing Queries Using EXPLAIN”. I now have slides and video for both of them.

The first talk about indexing should probably be titled “Why is MySQL doing this?!!?!!?” It gives insight into why the MySQL optimizer chooses indexes that you do not expect; especially when it does not use an index you expect it to.

The talk has something for everyone – for beginners it explains B-trees and how they work, and for the more seasoned DBA it explains concepts like average value group size, and how the optimizer uses those concepts applied to metadata to make decisions.

Slides are at http://technocation.org/files/doc/2017_05_MySQLindexes.pdf.
Click the slide image below to go to the video at …

[Read more]
MySQL Create User | Create a New MySQL User and Grant Permissions

MySQL is an open source relational database managed system (RDBMS) that enables users and applications to store, organize, and retrieve ...

Read moreMySQL Create User | Create a New MySQL User and Grant Permissions

Percona Live 2017

So glad to have had a successful Percona Live last week. Continuent were Diamond Sponsors and now that we are back into a company and not part of VMware we have a little more freedom to get back into the MySQL community.

I had two primary sessions, both on the replicator/ But one was looking specifically at the replicator and how we get data into Big Data targets, the other on general problems of replicating between heterogeneous sources. After the first of those, David from Percona interviewed me to understand a bit more about what I was talking about

I was also on the keynote panel where we discussed a variety of different …

[Read more]
Install phpMyAdmin on Ubuntu 16.04

phpMyAdmin is the most popular and most widely used web-based database management tools. It a free and open source PHP application, that allows the users to manage single or multiple SQL database servers, locally or on a remote server using a web browser with easy to use graphic user interface. Today, we are going to […]

Percona Live Featured Session with Casper Kejlberg-Rasmussen: Placing Databases @ Uber

Welcome to another post in the series of Percona Live featured session blogs! In these blogs, we’ll highlight some of the session speakers that will be at this year’s Percona Live conference. We’ll also discuss how these sessions can help you improve your database environment. Make sure to read to the end to get a special Percona Live 2017 registration bonus!

In this Percona Live featured session, we’ll meet Casper Kejlberg-Rasmussen, Software Developer at Uber. His session is Placing Databases @ Uber. Uber has many thousands of MySQL databases running inside of Docker containers on thousands …

[Read more]
Showing entries 51 to 60 of 1248
« 10 Newer Entries | 10 Older Entries »