The following list describes some of the important characteristics
of the MySQL Database Software
. See section 1.5 MySQL 4.0 In A Nutshell.
MySQL
code gets tested with Purify
(a commercial memory leakage detector) as well as with Valgrind,
a GPL
tool (http://developer.kde.org/~sewardj/).
FLOAT
, DOUBLE
, CHAR
, VARCHAR
,
TEXT
, BLOB
, DATE
, TIME
, DATETIME
,
TIMESTAMP
, YEAR
, SET
, and ENUM
types.
See section 6.2 Column Types.
SELECT
and WHERE
clauses of queries. For example:
mysql> SELECT CONCAT(first_name, " ", last_name) -> FROM tbl_name -> WHERE income/dependents > 10000 AND age > 30;
GROUP BY
and
ORDER BY
clauses. Support
for group functions (COUNT()
,
COUNT(DISTINCT ...)
,
AVG()
, STD()
,
SUM()
, MAX()
, MIN()
, and GROUP_CONCAT()
).
LEFT OUTER JOIN
and RIGHT OUTER JOIN
with both standard
SQL and ODBC syntax.
DELETE
, INSERT
, REPLACE
, and UPDATE
return
the number of rows that were changed (affected). It is possible to return
the number of rows matched instead by setting a flag when connecting to the
server.
MySQL
-specific SHOW
command can be used to retrieve
information about databases, tables, and indexes. The EXPLAIN
command
can be used to determine how the optimiser resolves a query.
ABS
is a valid column name. The only restriction is that for a
function call, no spaces are allowed between the function name and the
`(' that follows it. See section 6.1.7 Is MySQL Picky About Reserved Words?.
MySQL Server
with databases that
contain 50 million records. We also know of users that
use MySQL Server
with 60,000 tables and about 5,000,000,000 rows.
MySQL Server
).
An index may use a prefix of a CHAR
or VARCHAR
field.
MySQL
server using TCP/IP Sockets,
Unix Sockets (Unix), or Named Pipes (NT).
MySQL
server. See section 9.2 MySQL ODBC Support.
MySQL
server is started. To see an example of very advanced sorting, look
at the Czech sorting code. MySQL Server
supports many different
character sets that can be specified at compile and runtime.
myisamchk
, a very fast utility for table checking,
optimisation, and repair. All of the functionality of myisamchk
is also available through the SQL interface.
See section 4 Database Administration.
MySQL
programs can be invoked with the --help
or -?
options to obtain online assistance.