Showing entries 8001 to 8010 of 44037
« 10 Newer Entries | 10 Older Entries »
Git remove last commit from local

Git is distributed version control system that is a awesome when ever you are working with git repository if you did commit your code in your local system by mistake then if you want to remove last commit from your project so lets see following examplestrong classexampleExamplestrong

Codership “hit a home run” in Galera Cluster® for MySQL Installation and Quick Start Webinar

Codership’s first Galera Cluster for MySQL webinar “hit a home run” in the world series of webinars.  One of the attendees said: “The Webinar was one of the best I have attended.  The fluff was minimized and the tech presentation hit a home run” .

Take a look Codership’s Galera Cluster® for MySQL Installation and Quick Start recorded webinar

http://galeracluster.com/videos/galera-cluster-installation-and-quick-start/

 

There will be other  Galera Cluster for MySQL webinars coming from the developers and experts of Galera Cluster, so stay tuned.

 

Galera, Galera Cluster and Galera Replication are registered trademarks of Codership.

MySQL replication primer with pt-table-checksum / pt-table-sync, part 2

This is the second and last tutorial blog post on how to use pt-table-checksum / pt-table-sync tools for MySQL replication.

In the first post, I showed you how to use the

pt-table-checksum

  /

pt-table-sync

  tools in a typical MySQL replication setup. In this post, we’ll discuss MySQL replication for more advanced topologies. I will show you how to use these tools in a chained …

[Read more]
Achieving 650K SELECTs per second in Aurora: a thing about Amazon Aurora query cache improvements

Following the recent post on replication performance and efficiency, I'd like to talk about another MySQL feature that has received some treatment in Aurora: the Query Cache.
We'll first discuss the limitations of "traditional" Query Cache implementation, we will then watch a sysbench read-only test take off and go from 250K reads per second to nearly 650K reads per second, all thanks to the improved Query Cache. Have fun!
Query Cache The MySQL Query Cache is a hugely useful feature that caches the result sets of SELECT statements in memory. It makes perfect sense in typical OLTP applications (especially web apps), where queries are quite repeatable because the same piece of data is often selected multiple times by many clients.
The following performance issues are associated with query cache implementation in vanilla …

[Read more]
Digging Down into JSON data with the MySQL Functions -- A Question from Peter Zaitsev

How do you dig down into the JSON data, say like in comments on a blog post? This is a badly paraphrased question from Peter Zaitsev of Percona at the end of a recent presentation of mine at the Great Wide Open conference. I have to admit I had not done like that with JSON data but it had to be able to be done, right? Surely it can be done. Can't it? Time to dig. I could not find an example of JSON data on a blog with comments. But the good folks at Mongo had an example of a restaurant with grades.


{
"address": {
"building": "1007",
"coord": [ -73.856077, 40.848447 ],
"street": "Morris Park Ave",
"zipcode": "10462"
},
"borough": "Bronx",
"cuisine": "Bakery",
"grades": [
{ "date": { "$date": 1393804800000 }, "grade": "A", "score": 2 },
{ "date": { "$date": …
[Read more]
Percona Server 5.7 performance improvements

In this blog post, we’ll be discussing Percona Server 5.7 performance improvements.

Starting from the Percona Server 5.6 release, we’ve introduced several significant changes that help address performance problems for highly-concurrent I/O-bound workloads. Some of our research and improvements were re-implemented for MySQL 5.7 – one of the best MySQL releases. But even though MySQL 5.7 showed progress in various aspects of scalability and performance, we’ve found that it’s possible to push I/O bound workload limits even further.

Percona Server 5.7.11 currently has two major performance features in this area:

[Read more]
Percona XtraBackup 2.3.4 is now available

Percona is glad to announce the release of Percona XtraBackup 2.3.4 on March 17th, 2016. Downloads are available from our download site or Percona Software Repositories.

Percona XtraBackup enables MySQL backups without blocking user queries, making it ideal for companies with large data sets and mission-critical applications that cannot tolerate long periods of downtime. Offered free as an open source solution, Percona XtraBackup drives down backup costs while providing unique features for MySQL backups.

This …

[Read more]
How to get current month data in MySql PHP

If you require to get all the records of current month using mysql query for example you have one table items and columns are id title description createdat and updateat Now you want to get all records of this month so you can fetch fields value using DATESUB and INTERVAL of mysql In fol

How to get current month data in MySql PHP

If you require to get all the records of current month using mysql query for example you have one table items and columns are id title description createdat and updateat Now you want to get all records of this month so you can fetch fields value using DATESUB and INTERVAL of mysql In fol

Connection timeout parameters in MySQL

Introduction

  • wait_timeout
  • interactive_timeout
  • net_read_timeout
  • net_write_timeout

What do these timeouts do in MySQL? If you search the web for one or more of these, you may find complaints that no comprehensive explanation exists for all of these timeouts in one place (besides the obvious documentation of dynamic server system variables in MySQL). This blog post seeks to provide a central documentation source for timeouts and provide some practical explanation.

Knowing what timeouts do helps in a troubleshooting effort. It’s good to understand when an issue is timeout related and when it’s not, and to know the right reasons for changing timeout variables, or the right time to ask the developer or ad-hoc user to please tune the variables in the session, instead of …

[Read more]
Showing entries 8001 to 8010 of 44037
« 10 Newer Entries | 10 Older Entries »