Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Cơ sở dữ liệu
MySQL Database Usage & Administration PHẦN 5
Đang chuẩn bị liên kết để tải về tài liệu:
MySQL Database Usage & Administration PHẦN 5
Diễm Thảo
84
37
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Hỗ trợ cho các phím nước ngoài và cam kết, rollback, và cuộn về phía trước hoạt động hoàn thành bức tranh này là một trong hầu hết các định dạng bảng đầy đủ tính năng có sẵn trong MySQL. Không đồng bộ I / O và một bộ đệm đọc trước tuần tự cải thiện tốc độ phục hồi dữ liệu, và một "thuật toán bạn thân" và kết quả loại Oracle tablespaces trong tập tin tối ưu hóa và quản lý bộ nhớ. . | 128 Part I Usage Locking more than one table at the same time is not uncommon. This can be easily accomplished by specifying a comma-separated list of table names and lock types after the LOCK TABLES command as in the following mysql LOCK TABLES flight READ flightdep WRITE Query OK 0 rows affected 0.05 sec The previous statement locks the flight table in read mode and the flightdep table in write mode. Tables can be unlocked with a single UNLOCK TABLES command as in the following mysql UNLOCK TABLES Query OK 0 rows affected 0.05 sec There is no need to name the tables to be unlocked. MySQL automatically unlocks all tables that were locked previously via LOCK TABLES. There are two main types of table locks read locks and write locks. Let s take a closer look. The READ Lock A READ lock on a table implies that the thread client setting the lock can read data from that table as can other threads. However no thread can modify the locked table by adding updating or removing records for so long as the lock is active. Here s a simple example you can try to see how READ locks work. Begin by placing a READ lock on the flight table mysql LOCK TABLE flight READ Query OK 0 rows affected 0.05 sec Then read from it mysql SELECT FlightID FROM flight LIMIT 0 4 --------- flightid --------- 345 535 589 652 --------- 4 rows in set 0.00 sec No problems there. Now write to it mysql INSERT INTO flight FlightID RouteID AircraftID - VALUES 834 1061 3469 ERROR 1099 HY000 Table flight was locked with a READ lock and can t be updated Chapter 5 Using Transactions 129 MySQL rejects the INSERT because the table is locked in read-only mode. What about other threads clients accessing the same table For these threads reads selects will work without a problem. However writes inserts updates or deletes will cause the initiating thread to halt and wait for the lock to be released before proceeding. Thus only after the locking thread executes an UNLOCK TABLES command and releases its locks will the .
TÀI LIỆU LIÊN QUAN
Cài đặt Database Server (MySQL)
MySQL Fourth Edition
MySQL GUI Tools Manual
Bài giảng PHP và MySQL - Chương 5: Lập trình ứng dụng WEB với PHP
High Performance MySQL
Website Database Basics With PHP and MySQL
Sams Teach Yourself PHP, MySQL and Apache
Web Database Applications with PHP & MySQL, 2nd Edition
MySQL Administrator's Bible- P2
mySQL - Part 2 - Manager mySQL Server - Backup & Restore Database
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.