Chapter 10 . Databases And (My web server) Data 277 Summary
Friday, September 7th, 2007Chapter 10 . Databases And Data 277 Summary . MySQL includes six table types. Three are non-transactional, two are transactional, and one resides only in volatile memory. . The main table type in MySQL is MyISAM. MyISAM descends from the ISAM table type that includes fewer features. The MERGE table type is a collection of MySQL tables for quicker operation. . The two transactional table types in MySQL are BerkeleyDB and InnoDB. These table types use more resources than regular non-transactional tables but are safer in the event of error. . The HEAP table type is a temporary table that resides only in volatile memory. . The mysqladmin command is a powerful command for management and administration of a MySQL server. . With mysqladminyou can stop the server, troubleshoot performance problems, and create or delete databases. . There are two main methods for exporting data from MySQL, mysqldump and the SELECT … INTO OUTFILEstatement. . The mysqldump utility includes the ability to export both DDL and DML. Therefore, with mysqldump you can create a complete snapshot of a server including databases, tables, and the actual data. . The SELECT … INTO OUTFILEstatement is normally run from the MySQL CLI. With SELECT … INTO OUTFILEyou have the power of a regular SELECT statement while exporting data with many powerful options. . There are three main methods for importing data into MySQL. Data can be imported through the MySQL CLI, with the LOAD DATA INFILE statement, or with mysqlimport. . The MySQL CLI enables you to execute SQL statements by reading the contents of a file from the command line. . With the LOAD DATA INFILE statement you can import through the CLI with a number of options such as how to handle duplicate values. . The mysqlimport utility is a command-line version of LOAD DATA INFILE and includes the same options. The mysqlimport utility also includes an option to delete the data from the table prior to import. …
We recommend cheap and reliable webhost to host and run your web applications: Coldfusion Web Hosting services.