Copyrighted Material

Copyrighted Material

COPYRIGHTED MATERIAL mysqladmin,62–66 Symbols phpMyAdmin, 69–71 -- (double dash), 88 Query Browser, 71–74 # (pound), 89–90 SQLyog, 66–69 % (modulus operator), 503–504 summary, 83–84 || (string concatenation) Workbench, 80–83 MySQL support, 107 accounts, user SQL mode definitions, 210 debugging problems, 490–494 \ (backslash) managing, 478–487 escape characters, 91–93 ACID (atomicity, consistency, isolation and durability) naming limitations and quoting, 93–94 compliance .(dot),95–97 defined, 319–320 ” (double quotation mark) PBXT, 410 naming limitations and, 93 understanding, 320–322 SQL mode definitions, 204 ACLs (Access Control Lists) ! (exclamation point), 89 defined, 474–475 ? (question mark), 49 securing MySQL, 649–653 ; (semi-colons), 60 security with stored routines, 256 ’ (single quotation mark), 93 activity logging, 520–522 \. (source),54–55 administration 32-bit systems Administrator tool, 74–80 vs. 64-bit systems, 12 log. See logs choosing hardware, 349–350 measuring performance. See performance measurement \! command, 62 with mysqladmin,62–66 64-bit systems server tuning. See MySQL server tuning vs. 32-bit systems, 12 storage engine. See storage engines choosing hardware, 349–350 user management. See user management OS architecture, 352 agent-based systems, 635–636 agentless systems, 635–636 aggregate functions A NULL values and, 211 abstraction, view, 307–308 overview, 783–784 access. See also security alerts, monitoring. See monitoring systems data access strategy, 596–606 algorithms database, 654 MyISAM index buffer, 366 user account problems, 491 partitioning, 496–497 Access Control Lists (ACLs). See ACLs (Access Control view, 309–310 Lists) aliases accessing MySQL creating trigger, 244 Administrator, 74–80 extension, 115 command-line client tool, 52–62 table, 592–594 with command-line tools, 49–52 ALLOW_INVALID_DATES, 204 823 A Index alpha releases, 11–12 atomicity, consistency, isolation and durability (ACID) ALTER EVENT, 295–296 compliance. See ACID (atomicity, consistency, ALTER ROUTINE, 270–271 isolation and durability) compliance ALTER TABLE attributes adding/dropping indexes, 223–225 binary data types, 171 adding/dropping partitions, 507–509 changing events, 296 creating/dropping key constraints, 231–237 character string type, 164–166 defined, 421 datetime type, 191–192 extensions, 115–118 ENUM and SET data types, 198–200 ALTER VIEW, 316–317 national character string types, 167 ANALYZE TABLE numeric type, 177–180, 181–182 defined, 156 auditing, trigger-based, 664–665 authentication query analysis, 615 data security, 656–665 analyzing queries. See query analysis lack of client support, 491–492 anonymous users managing user. See user management creating, 35–36 privileges. See privileges removing, 39 AUTO_INCREMENT ANSI, 204 master/master replication, 537, 735 ANSI QUOTES , 204 numeric type attributes, 177–178 Apache, 360 table definition extensions, 147 API (Application Programming Interface) autocommit mode, 157, 324–325 memcached programming libraries, 436 auto-completion security with stored routines, 256 mysql commands, 58–59 Apple OS. See Mac OS SQLyog, 67 Application Programming Interface (API) auto-generated data, 551 memcached programming libraries, 436 automated failover security with stored routines, 256 defined, 729 application-level partitioning, 514 with Linux-HA heartbeat, 742–744 architecture with MySQL Proxy, 740–741 Falcon, 402–403 automated monitoring. See monitoring systems high availability. See high availability architectures automated startup, 42 operating system, 352–353 automatic updates, 187–188 PBXT, 410–411 Axmark,David,4 Archive backing up, 462–463 understanding, 417–419 B backends archive packages, 18–20 changing query, 763–764 arguments MySQL Proxy, 751–755 bitwise operators, 784–787 backslash (\) INOUT to stored procedure, 261–262 escape characters, 91–93 Lua basics, 758–759 naming limitations and quoting, 93–94 mysqladmin,62–66 backup stored routines, events and triggers, 242 commercial options, 464–467 arithmetic MySQL Proxy tokens, 773 comparing storage engines, 377–378 articles on MySQL, 818 copying databases, 467 assertions, 108 event, 300 asynchronous replication file system snapshot, 451–452 defined, 524–525 frequency, 443–444 multi-master, 538–539 LVM, 455–460 atomicity, 321 maatkit parallel dump/restore, 450–451 824 Index C methods, 445–446 bitwise operators, 784–787 MySQL, 439–441 black box queries, 255–256 mysqldump, 446–450 Blackhole mysqlhotcopy, 462–463 complex replication, 536 online, 460–462 replication support, 527 phpMyAdmin, 70 understanding, 419–420 SAN and Microsoft VSS, 460 blank values, 650 security, 656 BLOB SELECT INTO OUTFILE, 450 data types, 168–170 simple replication, 530–531 indexing, 226–227 SQL Administrator, 79 block devices, 738–739 stored routine, 286–287 blogging, 6 summary, 472 bogging down, 585 trigger, 252–254 Boolean types, 180–183 uses for, 441–443 Bouman, Roland, 716, 744 what to and where to, 445 BTREE indexes ZFS, 453–454 defined, 221–222 bad passwords, 490–491 order, 225–226 batching redundant, 231 executing non-interactively, 54–55 types, 228–229 expensive operations, 628–629 buffer pools, 579 frequent operations, 629–631 buffers battery-backed write cache, 351 defined, 356–357 BEGIN, 322 InnoDB configuration, 385 BEGIN WORK, 322 InnoDB status, 389 benchmarking InnoDB storage engine options, 367–369 defined, 545–546 MyISAM, 365–366 with mysqlslap, 547–552 profiling, 574 overview, 546–547 storage engine support, 377–378 recommendations, 565–566 bugs. See also debugging with SysBench. See SysBench BIT_AND NULL, 784 Best Support For Multilingualism, 35 reports, 816 beta releases, 11–12 building queries, 67–69 binary collations character string type attributes and, 165 defined, 98 C binary file vs. source code, 10 CA (Certificate Authority) binary large object string types, 168–170 command-line tool options, 53 binary logs encrypted connectivity, 662 backing up, 445 cache hit ratio, 365–366 crash recovery, 468–471 caching defined, 518–519 implementing tables, 424–427 master/master replication and, 736 memcached, 434–438 rotating, 522–524 overview, 423–424 binary MySQL Proxy distributions, 750–751 PBXT configuration, 412 binary packages, 20–24 profiling, 576–577 binary plug-ins, 415 query cache, 427–434 bin-log, 732 scaling with memcached, 747 BIT summary, 438 NULL and, 784 Cacti, 637–638 sizes and ranges, 173–174 CALL, 259–260 825 C Index Callaghan, Mark, 525 SHOW commands, 136–137 canceling queries, 59–60 table definition extensions, 147 capacity planning, 585 CHARACTER_SETS, 695–696 cardinality, index, 615 characters CASCADE, 234 bit functions, 786 cascading replication, 535–536 case-sensitivity, 90–91 CASE, 282–283 escape, 91–93 case-sensitivity index length, 226–228 binary collations, 98 Lua basics, 757 escape characters, 92 national string types, 166–168 Falcon tablespace, 409 sets and collations, 98–105 language structure, 90–91 string types, 160–166 query cache, 428 wildcards, 475–476 CAST cheat sheets, 817–818 data types for, 811 check constraints defined, 102–105 MySQL deviations, 111–112 MySQL support, 107 simulating in views, 310–312 catalogs CHECK TABLE, 150–153 managing with Administrator, checksums 80 correcting data drift, 540–542 MySQL support, 107 table definition extensions, 147–148 object. See object catalog table maintenance extensions, 156 catch-all partitions, 499 child tables, 234 Certificate Authority (CA) chilling, 406 command-line tool options, 53 ciphers, 53 encrypted connectivity, 662 circular replication certificate files, 661–662 defined, 537–539 certification, MySQL, 820 scaling with, 736–737 CHANGE MASTER, 534 cleanup changelogs, 45–46 I/O test mode, 556–557 changing OLTP test mode, 563–565 events, 295–296 SysBench commands, 553 injecting queries and, 764–766 clear command MERGE tables, 512–513 defined, 59 query backend, 763–764 mysqladmin,63 stored routines, 270–271 client tool triggers, 246–247 MySQL access, 52–62 views, 316–317 setting characters sets and collation, 103 CHAR, 160–162 closing cursors, 287 character objects Cluster, MySQL. See MySQL Cluster character string types, 160 COALESCE PARTITION, 508–509 national character string types, 166 code Character Set screen, 35 language structure. See language structure character sets in MySQL community, 7 ALTER TABLE extensions, 116 source, 4 changing event, 299 source vs. binary file, 10 changing stored routine, 264 coercibility, 810–811 changing trigger, 249–250 cold backups character string type attributes and, 165–166 defined, 441 defined, 98–105 location, 445 MySQL support, 108 tools, 446 826 Index C COLLATION_CHARACTER_ transactional statement extensions, 156–158 SET_APPLICABILITY, 696–697 triggers. See triggers COLLATIONS, 696 user management, 478–487 collations comments changing event, 299 applying to events, 295 changing stored routine, 264 language structure, 88–90 changing trigger, 249–250 Lua, 757 character string type attributes and, 165–166 stored routine options, 266 language structure, 98–105 table definition extensions, 148 MySQL support, 108 commercial backup options, 464–467 SHOW commands, 137 commercial monitoring systems, 644–646 table definition extensions, 148 COMMIT COLUMN_PRIVILEGES, 712–713 defined, 322 COLUMNS, 676–679 extensions, 156–158 columns community, 6–7 ALTER TABLE extensions, 118 compactor threads, 411 privileges, 482 company background, 4–5 SHOW commands, 137 comparison operators stored routine warning, 257–259 defined, 789–791 Comma Separated Value (CSV), 420–421 MySQL support, 106–107 COMMAND in PROCESSLIST, 699–700 compilation command-line

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    35 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