Showing entries 7941 to 7950 of 44004
« 10 Newer Entries | 10 Older Entries »
How to convert Object into Array in PHP

Whenever you need to convert object to array in your php project then you can do that using array It is a pretty simple example to convert php object into array that way you can use array So lets see the following examplestrong classexampleExamplestrongpre classprettyprint lang

Want to be a superhero? Join the Database Performance Team!

Admit it, you’ve always wanted to fight danger, win battles and save the day! Who doesn’t? Do you want to be a superhero? Percona can show you how!

We don’t have any radioactive spiders or billionaire gadgets, but we do have our own team of superheroes dedicated to protecting your database performance: The Database Performance Team!

The Database Performance Team is comprised of our services experts, who work tirelessly every day to guarantee the performance of your database. Percona’s database services are some of our most valuable customer resources – besides the software itself. Whether it’s support, consulting, technical account managers, or …

[Read more]
How to Install and Configure MySQL Cluster on CentOS 7

MySQL Cluster is designed to provide a MySQL compatible database with high availability and low latency. The MySQL Cluster technology is implemented through the NDB (Network DataBase) and NDBCLUSTER storage engines and provides shared-nothing clustering and auto-sharding for MySQL database systems. In the shared-nothing architecture, each of nodes has its own memory and disk, the use of shared storage such as NFS, SANs is not recommended and supported.

Digging Down into JSON data with the MySQL Functions -- A Question from Peter Zaitsev -- Follow Up

Last time this blog covered digging into a JSON document in a MySQL 5.7 table. The goal was to pull certain records matching a particular criteria. Both Peter Zaitsev and Morgan Tocker get my thanks for their kind comments. My example was a little contrived in that an application would be used to fine tune seeking for a particular key value pair. I was trying to pull single records which is kind of silly when it is much easier to use PHP to parse the data. What follows below is a sample PHP script to grab out the matching records and then feed the results, the JSON document, into an array.


#!/usr/bin/php
<?php
$mysqli = new mysqli("localhost", "root", "hidave", "test");

/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", …
[Read more]
Working With JSON Data In MySQL - Part 1 of 3

This is the first in a series of posts about the MySQL JSON data type, how it compares to working with a document-oriented store like MongoDB, and how we can make use of it in the Laravel framework.

  • Part 1 is a quick look at the data type itself, and some of the functions available to work with that data. Specifically, we’ll focus on what kind of data to store and how to work with it, regardless of framework.

  • In Part 2 we’ll walk through which MongoDB patterns can be replicated in MySQL with the JSON type, as well as what can’t. We’ll also check out some alternative strategies for document-oriented storage using MySQL as a backing store.

  • Lastly, Part 3 will focus on using the JSON data type in Laravel applications, what contexts it is best suited for, and I’ll take a stab at some simple code you can use to …

[Read more]
Laravel 5 custom pagination view example

laravel default also provide pagination view using bootstrap design like next and previous button and number page with link but it is a very comman and generally used by most of developer If you want to change it using Presenter class of laravel you can set your own custom view for your paginatio

Plenty of 9s for MongoDB & MySQL at Percona Live 2016

The MySQL User Conference has a been fixture in all our calendars for many years now and every year, Santa Clara calls us back … The conference has evolved of course since its inception and yet stays the same, its original premise alive and kicking: a place to get together and exchange on MySQL and open source database knowledge and experiences! And today it’s called the Percona Live Data Performance Conference!

This year, the conference is really opening itself up to become inclusive of not only MySQL-related technologies and topics and go wide into MongoDB and Big Data territories as well. So there should be something new for everyone who’ll be attending and the programme looks quite promising indeed.

As in the previous two years, our team will be providing the necessary 9s for this year’s conference in the form of two talks and a …

[Read more]
General Tablespaces in MySQL 5.7 – Details and Tips

InnoDB in MySQL 5.7 introduced for the first time the ability to create a general tablespace and assign multiple tables to it.  These tablespaces can be assigned anywhere on the system.  They can even be assigned a smaller block size so that they can contain compressed tables that use that size as their key_block_size.…

How to remove particular value from jquery array

When i was working on my code PHP project at that time i need to remove specific items value from my javascript array i did google search and solve that but i would like to share in my site how to remove value from javascript array so lets see how to usestrong classexampleExamplestron

TokuDB impacts InnoDB Performance?

This blog discusses how TokuDB impacts InnoDB performance when the two run in the same environment.

You would think MySQL storage engines are fairly independent of each other, even in the same environment. Enabling one, or changing its configuration, logically should have no impact on the performance of other engines (such as InnoDB) when they are accessing tables. The reality, however, is more complicated than that!    

Now that we’ve shipped TokuDB, we’ve been getting feedback from our community and customers that enabling TokuDB might negatively affect performance – even for queries that don’t touch TokuDB tables (and in some cases, even when TokuDB is kept completely idle).

[Read more]
Showing entries 7941 to 7950 of 44004
« 10 Newer Entries | 10 Older Entries »