Mysql Is a Relational Database Management System (RDBMS)[1] That Runs As a Server Providing Multi-User Access to a Number of Databases

Mysql Is a Relational Database Management System (RDBMS)[1] That Runs As a Server Providing Multi-User Access to a Number of Databases

MySQL is a relational database management system (RDBMS)[1] that runs as a server providing multi-user access to a number of databases. MySQL is officially pronounced /maųŤskju:Ťl/ ("My S-Q-L"),[2] but is often also pronounced /maųsi:kwĽl/ ("My Sequel"). It is named for original developer Michael Widenius' daughter My. The SQL phrase stands for Structured Query Language.[3] The MySQL development project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation.[4] Members of the MySQL community have created several forks (variations) such as Drizzle, OurDelta, Percona Server, and MariaDB. All of these forks were in progress before the Oracle acquisition (Drizzle was announced 8 months before the Sun acquisition). Free-software projects that require a full-featured database management system often use MySQL. Uses MySQL is a popular choice of database for use in web applications, and is a central component of the widely-used LAMP web application software stack²LAMP is an acronym for "Linux, Apache, MySQL, PHP". Its popularity is closely tied to the popularity of PHP. MySQL is used in some of the most frequently visited web sites on the internet including Flickr,[7] Facebook,[8][9] Wikipedia,[10] Google²though not for searches,[11] Nokia.com[12] and YouTube.[13] [edit] Platforms and interfaces MySQL is written in C, and C++. Its SQL parser is written in yacc, and a home-brewed lexical analyzer named sql_lex.cc[14] MySQL works on many different system platforms, including AIX, BSDi, FreeBSD, HP-UX, i5/OS, Linux, Mac OS X, NetBSD, Novell NetWare, OpenBSD, OpenSolaris, eComStation, OS/2 Warp, QNX, IRIX, Solaris, Symbian, SunOS, SCO OpenServer, SCO UnixWare, Sanos, Tru64 and Microsoft Windows. A port of MySQL to OpenVMS also exists.[15] Many programming languages with language-specific APIs include libraries for accessing MySQL databases[examples needed]. In addition, an ODBC interface called MyODBC allows additional programming languages that support the ODBC interface to communicate with a MySQL database, such as ASP or ColdFusion. The HTSQL - URL based query method also ships with MySQL adapter allowing direct interaction with MySQL database from any web client via structured URLs. The MySQL server and official libraries are mostly implemented in ANSI C/ANSI C++. [edit] Management and graphical frontends MySQL Workbench in Windows, displaying the Home Screen which streamlines use of its full capabilities MySQL is primarily an RDBMS and therefore ships with no GUI tools to administer MySQL databases or manage data contained within. Users may use the included command-line tools,[16] or download MySQL frontends from various parties that have developed desktop software and web applications to manage MySQL databases, build database structure, and work with data records. [edit] Official The official MySQL Workbench is a free integrated environment developed by MySQL AB, that enables users to graphically administer MySQL databases and visually design database structure. MySQL Workbench replaces the previous package of software, MySQL GUI Tools. Similar to other third-party packages but still considered the authoritative MySQL frontend, MySQL Workbench lets users manage the following: y Database design & modeling y SQL development ² replacing MySQL Query Browser y Database administration ² replacing MySQL Administrator MySQL Workbench is available in two editions, the regular free and open source Community Edition which may be downloaded from the MySQL website, and the proprietary Standard Edition which extends and improves the feature set of the Community Edition. [edit] Third-party Several other third-party proprietary and free graphical administration applications (or "Frontends") are available that integrate with MySQL and enable users to work with database structure and data visually. Some well-known frontends are: y phpMyAdmin - a free Web-based frontend widely installed by Web hosts worldwide, since it is developed in PHP and requires the LAMP stack or WAMP. y HeidiSQL - a full featured free frontend that runs on Windows, and can connect to local or remote MySQL servers to manage databases, tables, column structure, and individual data records. Also supports specialised GUI features for date/time fields and enumerated multiple-value fields.[17] y Adminer - a free MySQL frontend written in one PHP script, capable of managing multiple databases, with many CSS skins available. y DBEdit - a free frontend for MySQL and other databases. y Navicat - a series of proprietary graphical database management applications, developed for Windows, Macintosh and Linux. y Other available proprietary MySQL frontends include Aqua Data Studio, dbForge Studio for MySQL, Epictetus, Oracle SQL Developer, SchemaBank, SQLyog, SQLPro SQL Client, Toad, Toad Data Modeler [edit] Command-line MySQL ships with a suite of command-line tools for tasks such as querying the database, backing up data, inspecting status, performing common tasks such as creating a database, and many more. A variety of third-party command-line tools is also available, including: y Maatkit, a set of power-user tools written in Perl y MySQL Sandbox, a set of scripts for quickly starting server instances for testing and development [edit] Deployment MySQL can be built and installed manually from source code, but this can be tedious so it is more commonly installed from a binary package unless special customizations are required. On most Linux distributions the package management system can download and install MySQL with minimal effort, though further configuration is often required to adjust security and optimization settings. Though MySQL began as a low-end alternative to more powerful proprietary databases, it has gradually evolved to support higher-scale needs as well. It is still most commonly used in small to medium scale single-server deployments, either as a component in a LAMP based web application or as a standalone database server. Much of MySQL's appeal originates in its relative simplicity and ease of use, which is enabled by an ecosystem of open source tools such as phpMyAdmin. In the medium range, MySQL can be scaled by deploying it on more powerful hardware, such as a multi-processor server with gigabytes of memory. There are however limits to how far performance can scale on a single server, so on larger scales, multi-server MySQL deployments are required to provide improved performance and reliability. A typical high-end configuration can include a powerful master database which handles data write operations and is replicated to multiple slaves that handle all read operations.[18] The master server synchronizes continually with its slaves so in the event of failure a slave can be promoted to become the new master, minimizing downtime. Further improvements in performance can be achieved by caching the results from database queries in memory using memcached, or breaking down a database into smaller chunks called shards which can be spread across a number of distributed server clusters.[19] [edit] Features As of April 2009, MySQL offers MySQL 5.1 in two different variants: the open source MySQL Community Server and the commercial Enterprise Server.[20] They have a common code base and include the following features: y A broad subset of ANSI SQL 99, as well as extensions y Cross-platform support y Stored procedures y Triggers y Cursors y Updatable Views y True Varchar support y INFORMATION_SCHEMA y Strict mode[further explanation needed] y X/Open XA distributed transaction processing (DTP) support; two phase commit as part of this, using Oracle's InnoDB engine y Independent storage engines (MyISAM for read speed, InnoDB for transactions and referential integrity, MySQL Archive for storing historical data in little space) y Transactions with the InnoDB, BDB and Cluster storage engines; savepoints with InnoDB y SSL support y Query caching y Sub-SELECTs (i.e. nested SELECTs) y Replication support (i.e. Master-Master Replication & Master-Slave Replication) with one master per slave, many slaves per master, no automatic support for multiple masters per slave. y Full-text indexing and searching using MyISAM engine y Embedded database library y Partial Unicode support (UTF-8 and UCS-2 encoded strings are limited to the BMP) y Partial ACID compliance (full compliance only when using the non-default storage engines InnoDB, BDB and Cluster) y Partititoned tables with pruning of partitions in optimiser y Shared-nothing clustering through MySQL Cluster y Hot backup (via mysqlhotcopy) under certain conditions[21] The developers release monthly versions of the MySQL Server. The sources can be obtained from MySQL's web site or from MySQL's Bazaar repository, both under the GPL license. [edit] Distinguishing features MySQL implements the following features, which some other RDBMS systems may not: y Multiple storage engines, allowing one to choose the one that is most effective for each table in the application (in MySQL 5.0, storage engines must be compiled in; in MySQL 5.1, storage engines can be dynamically loaded at run time): o Native storage engines (MyISAM, Falcon, Merge, Memory (heap), Federated, Archive, CSV, Blackhole, Cluster, Berkeley DB, EXAMPLE, and Maria) o Partner-developed storage engines (InnoDB, solidDB, NitroEDB, Infobright (formerly Brighthouse), Kickfire, XtraDB,

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us