Showing entries 36751 to 36760 of 44147
« 10 Newer Entries | 10 Older Entries »
PHP: What is mysqlnd, do I need it?

A blog comment from Ian makes me wonder if I failed to state clearly what mysqlnd is. See below for his comment. Ian, I am thankful for your blog comment and question! Probably you are not the only reader who needs a little more background knowledge about mysqlnd. Please allow me to answer your question in public and in depth. FAQ: What is mysqlnd, do I need it?.

The acronym “mysqlnd” stands for “MySQL native driver for PHP”. This pretty much says nothing to most people, I guess.

  • “native”: Is it written in PHP? No, that would be two slow. As you probably know, PHP itself is a program written in C. Therefore native means C and tightly integrated into PHP on the level of C. This is for sure a good thing as the driver can try to squeeze out the optimum of PHP. …
[Read more]
Introducing MySQL Visual Explain

If you’ve ever wished you could see MySQL’s EXPLAIN output formatted as a tree, now you can. MySQL Visual Explain transforms EXPLAIN output into a hierarchical view of the query plan, which is significantly easier to read and understand. What it does MySQL Visual Explain is a command-line tool, not a Graphical User Interface (GUI). You can use it two ways: Give it a query and some connection options, and it will connect and EXPLAIN the query, then show you the result as a tree.

Microsoft, MySQL and the skewed WAMP

In his OSCON keynote last Thursday (26 July 2007), Bill Hilf of Microsoft described his perspective of the “two steps forward, one step backward” relationship between Microsoft and the world of Open Source. Amongst the steps forward, I count the establishment of a web site microsoft.com/opensource, releasing some Microsoft software under an OSI compliant license, and — specifically to MySQL — the mentioning of the MySQL Connector for Visual Studio in his OSCON presentation.

Microsoft seems to be acknowledging that there is a …

[Read more]
A certification worth having?

After taking a well earned break from studying, I dusted off my copy of the MySQL Certification Guide and lost my head again for a good 4 days or so.

My goal this time was to achieve Certified MySQL 5.0 Developer through upgrading my Core certification - sounds easy right?.

That’s what I though. I totally underestimated this exam, thinking it was just an upgrade and that the questions would be straightforward, after all there are only 60 questions in this exam compared to the 70 per exam for DBA!.

Having spent less time this year writing code, …

[Read more]
More Gotchas with MySQL 5.0

Working on large upgrade of MySQL 4.1 running Innodb to MySQL 5.0 and doing oprofile analyzes we found very interesting issue of buf_get_latched_pages_number being responsible for most CPU usage. It did not look right.

The close look revealed this is the function which is used to compute number of latched pages in Innodb Buffer Pool, which is called when you run SHOW INNODB STATUS and SHOW STATUS. In this case for same of monitoring SHOW GLOBAL STATUS was run every couple of seconds being considered fast operation, as it is in MySQL 4.1

But why buf_get_latched_pages_number ? Because this function traverses whole buffer pool to compute number of latched pages, which is quite slow with buffer pools containing millions of pages. But even worse this is done while holding global buffer pool mutex.

Another …

[Read more]
How to write a successful patch

Submitting patches to Open Source code doesn't come naturally to everyone. It is not easy, since it requires coding skills that the average user does not have. Moreover, code patches require a fair amount of additional documentation, without which the patch itself is virtually useless. These notes will walk you through the requirements of a good patch for MySQL server and perhaps other projects.

A Tour of the MySQL C API

Introduction

Using Eclipse, we'll develop an example application that will document key structures, and demonstrate several API calls. This article will also cover configuring Ubuntu and Eclipse for MySQL client development. Let's get going...

Ubuntu

You'll need to install the build-essential, Eclipse and the Eclipse CDT packages:





MySQL

In order to develop an application with the API, you'll need libmysqlclient and all the header files installed.


[Read more]
PHP: mysqlnd checked in to PHP 6 (HEAD)

Recently mysqlnd, the MySQL native driver for PHP, has been checked in to the PHP 6 (HEAD) development tree on cvs.php.net. This blog posting gives a quick overview how you can build PHP 5 and PHP 6 with mysqlnd support.

What mysqlnd is and what not

If you do not know what mysqlnd is or not is, read up the details on http://dev.mysql.com/downloads/connector/php-mysqlnd/. In short: mysqlnd is is a replacement for the libmysql, the MySQL Client Library. It it closely integrated into PHP and it is distributed under the terms of the PHP license. You can now …

[Read more]
PHP: mysqlnd checked in to PHP 6 (HEAD)

Recently mysqlnd, the MySQL native driver for PHP, has been checked in to the PHP 6 (HEAD) development tree on cvs.php.net. This blog posting gives a quick overview how you can build PHP 5 and PHP 6 with mysqlnd support.

What mysqlnd is and what not

If you do not know what mysqlnd is or not is, read up the details on http://dev.mysql.com/downloads/connector/php-mysqlnd/. In short: mysqlnd is is a replacement for the libmysql, the MySQL Client Library. It it closely integrated into PHP and it is distributed under the terms of the PHP license. You can now …

[Read more]
Log Buffer #55: a Carnival of the Vanities for DBAs

The 55th edition of Log Buffer, the weekly review of database blogs, is published on the Ardent Performance Computing Blog, thanks to Jeremy Schneider. Hasan Tonguç Yilmaz’s Oracle Blog takes next week’s LB. Please send an email to the Log Buffer administrator if you’d like to edit and publish an edition of your own. Jeremy Schneider’s [...]

Showing entries 36751 to 36760 of 44147
« 10 Newer Entries | 10 Older Entries »