For PHP application speed, speed up, and then speed! Part 3rd: Using the Memcache daemon to cache data in memory
The first two articles in this series provide the technology to speed up the PHP application. The 1th section describes the XCache,
Use the explain statement to check optimizer action +----+-------------+----------+-------+---------------+------+---------+------+------+------- ---------- | ID | Select_type | Table | Type | Possible_keys | Key | key_len| Ref | Rows | Extra +----+-
mysql| Data | database
MySQL Download and installation 1, download the introductionMySQL believe that you must have heard, if you do not know what it is, you can go to Google.MySQL's base camp:http://www.mysql.com/MySQL Download
MySQL is easy to learn and easy to use, with a wealth of technical documentation, these two factors make it widely used. However, as MySQL grows faster, even a MySQL veteran will sometimes sigh at the unexpected features of the software. This
The topic of old growth talk, in the interview will be the ability to assess, I personally think that the problem-solving ability is ranked first, higher than the learning ability priority. The ability to solve problems can not only see the
In the use of PHP 5, the value obtained through the MySQL query all become '??????? ', the original character set is wrong.
I installed MySQL 5 o'clock, has chosen the default character set for gb2312, but still return garbled, the solution is to
To adapt to the ever-changing technology, a considerable number of software engineers are gradually moving from desktop software such as Microsoft Access and SQL Server to using MySQL. While MySQL is strictly not an opponent of SQL Server, many
MySQL as a database, is simply a synonym for ease of use, the vast majority of database-driven Web applications choose it as their own database. For this reason, MySQL is used on many Web servers. While it's true that MySQL's command-line tools are
061 How do I delete a table?
Answer: Run command drop TABLE table_name;
062 Creating an Index
Indexing is especially important for queries as a major application. Most of the time the performance problem is simply because we forgot to add the
MySQL query all the information of the day:
The code is as follows
SELECT * FROM Test where year (regdate) =year (now ()) and month (RegDate) =month (today ()) and Day (regdate) =day (now)
This is a bit cumbersome, but also a simple wording:
The
4.3 column type selection and query efficiencyTo select columns that help make your query faster, you should follow the following rules (here, "BLOB type" should be understood to include B L O B also contains the text type):Using a fixed-length
After testing the installed Supesite today, a MySQL query error is sometimes generated after modifying the user space template:
SupeSite info: MySQL Query Error Script: /index.php
Error: Can't create/write to file 'C:\WINDOWS\TEMP\#sql_4f4_0.MYD' (
PHP is no doubt a very powerful server-side scripting language, but powerful features are always associated with significant risks, and in this chapter you will learn to use PHP's Safe mode to block some of the potential risk factors for PHP.
"Safe
To agree on several directories
/usr/local/php/sbin/php-fpm
/usr/local/php/etc/php-fpm.conf
/usr/local/php/etc/php.ini
First, the PHP-FPM start parameter
#测试php-FPM Configuration
/usr/local/php/sbin/php-fpm-t
/usr/local/php/sbin/php-fpm-c/usr/
ajax| Data | database
first, the introduction
Today, there are quite a few web applications, such as Backpack,blinksale and Gmail, that integrate database technology with Ajax.
This integration has a huge impact on Web
Server environment Liunx AS4 + PHP5 + Mysql5 + Apache 2
The utility top command queries system performance to find that the CPU often reaches 100%
Started thinking it was a DDoS attack ... Firewall installed (not working)
Start looking for a
This article mainly introduces the simple example of Php+mysql query optimization, analyzes the technique of optimizing query of SQL statement in Php+mysql program design, and has some reference value for improving query efficiency, which can be
PHP Beginners Headaches Most of the 14 problems between the "1" side can not pass the variable get,post,session in the latest PHP version of the automatic global variable is turned off, so to get the submission from the previous variable to use
When you submit a query, MySQL analyzes it to see if you can do some optimizations to make it faster to process the query. This section describes how the query optimizer works. If you want to know the optimization method used by MySQL, you can view
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.