Select the product you need help with
ข้อกำหนดระบบย่อยของ i/o ของเซิร์ฟเวอร์ SQL ของ Microsoft สำหรับฐานข้อมูล tempdbหมายเลขบทความ (Article ID): 917047 - ผลิตภัณฑ์ที่เกี่ยวข้องในบทความนี้ เนื้อหาบนหน้านี้สรุปMicrosoft SQL Server ต้องใช้ระบบย่อย I/O ที่ใช้เก็บฐานข้อมูลของระบบและผู้ใช้อย่างสมบูรณ์ honor ความต้องการเขียนล่วงหน้าล็อก (WAL) ผ่านรักษา I/O เฉพาะ ข้อกำหนดเหล่านี้ไม่จำเป็นต้อง honor คุณสมบัติ ACID ของธุรกรรม: Atomic, Consistent, Isolated และ Durable รายละเอียดเกี่ยวกับความต้องการความสอดคล้องของระบบย่อย I/O จะมีการอ้างอิงต่อไปนี้:
ยุบตารางนี้
survival ข้ามดับกระบวนการtempdbฐานข้อมูลเป็นพื้นที่ที่ scratch สำหรับ SQL Server และ rebuilt เมื่อเริ่มต้นทุก SQL Server การเตรียมใช้งานที่แทนความต้องการข้อมูลไปยัง survive การเริ่มระบบคอมพิวเตอร์ใหม่การดำเนินการ rewrite เซกเตอร์ของทรานแซคชันเพื่อรับประกันความสำเร็จของกระบวนการกู้คืน เช่นการกู้คืนย้อนกลับและความล้มเหลว ระเบียนแฟ้มบันทึกต้องถูกเก็บอย่างถูกต้องอยู่บนสื่อที่เสถียรก่อนที่หน้าข้อมูลถูกเก็บไว้ และไม่สามารถถูก rewritten โดยไม่ต้อง honoring คุณสมบัติของทรานแซคชัน ต้องใช้ระบบย่อยและ SQL Server เพื่อรักษาแอททริบิวต์เฉพาะ เช่นการเขียนสั่ง เซกเตอร์จัดตำแหน่ง และขนาดเขียน และอื่น ๆ เช่น I/O ปลอดภัยคุณลักษณะ outlined ในเอกสารกล่าวถึงก่อนหน้านี้ สำหรับการtempdbฐานข้อมูล การกู้คืนข้อมูลความล้มเหลวจะไม่จำเป็นเนื่องจากฐานข้อมูลถูกเตรียมใช้งานในระหว่างการเริ่มต้นของ SQL Server เสมอ อย่างไรก็ตาม ในtempdbฐานข้อมูลยังคงต้องการความสามารถในการย้อนกลับ ดังนั้น คุณลักษณะบางอย่างของโพรโทคอล WAL สามารถถูก relaxedสถานที่เก็บสำหรับtempdbฐานข้อมูลต้องทำหน้าที่ในการ accordance ที่เข้มงวดกับโพรโทคอลดิสก์ไดรฟ์ที่สร้างไว้แล้ว วิธีการทั้งหมด อุปกรณ์ที่จะtempdbเก็บฐานข้อมูลต้องปรากฏขึ้น และทำหน้าที่เป็นดิสก์ทางกายภาพให้อ่านแล้วหลังจากความสามารถในการเขียน ธุรกรรมการดำเนินงาน rewrite เซกเตอร์อาจมีความต้องการเพิ่มเติมของ implementations เฉพาะ ตัวอย่างเช่น ตาม SQL Server ไม่สนับสนุนฐานข้อมูลที่ปรับเปลี่ยน โดยใช้การบีบอัดระบบแฟ้ม NTFS ได้เนื่องจากการบีบอัด NTFS สามารถเขียนเซกเตอร์ของแฟ้มบันทึกที่มีอยู่แล้วการเขียน และถือว่า hardened ความล้มเหลวในระหว่างการ rewrite ชนิดนี้อาจทำให้ฐานข้อมูลที่จะใช้ไม่ได้ เสียหายของข้อมูลว่า SQL Server แล้วถือว่ามีความปลอดภัย หมายเหตุ:sql Server 2005 ที่ขยายการบีบอัดเพื่ออ่านเพียงฐานข้อมูลและกลุ่มแฟ้มหรือการสนับสนุน See the SQL Server 2005 Books Online for complete details. Transactional sector rewrite operations are pertinent to all SQL Server databases that include thetempdbdatabase. A growing variety of extended storage technologies use devices and utilities that can rewrite data that SQL Server considers secure. For example, some of the emerging technologies perform in-memory caching or data compression. In order to avoid severe database damage, any sector rewrite must have full transactional support in such a way that if a failure occurs, the data is rolled back to the previous sector images. This guarantees that SQL Server is never exposed to an unexpected interruption or data damage condition. You may be able to put thetempdbdatabase on specialty subsystems, such as RAM disks, solid state, or other high speed implementations that cannot be used for other databases. However, the key factors presented in the More Information section must be considered when you evaluate these options. ข้อมูลเพิ่มเติมSeveral factors should be carefully studied when you evaluate the storage location of thetempdbdatabase. ตัวอย่างเช่น การtempdbdatabase usage involves, but is not limited to, memory footprint, query plan, and I/O decisions. The appropriate tuning and implementation of thetempdbdatabase can improve the scalability and responsiveness of a system. This section discusses the key factors in determining the storage needs for thetempdbdatabase. High speed subsystemsThere are various high speed subsystem implementations available on the market that provide SQL Server I/O subsystem protocol requirements but that do not provide durability of the media.สิ่งสำคัญAlways confirm with the product vendor to guarantee full compliance with SQL Server I/O needs. A RAM disk is one common example of such an implementation. RAM disks install the necessary drivers and enable part of the main RAM disk to appear as and function like any disk drive that is attached to the system. All I/O subsystems should provide full compliance with the SQL Server I/O requirements. However, it is obvious that a RAM disk is not durable media. Therefore, an implementation such as a RAM disk may only be used as the location of thetempdbdatabase and cannot be used for any other database. Keys to consider before implementation and deploymentThere are various points to consider before deployment of thetempdbdatabase on this kind of subsystem. This section uses a RAM disk as the basis for discussion, but similar outcomes occur in other high speed implementations.I/O safetyCompliance of read after write and transactional sector writes is a must. Never deploy SQL Server on any system that does not fully support the SQL Server I/O requirements, or you risk damage and loss of your data.Pages already cached (Double RAM cache)Temporary tables are like all other tables in a database. They are cached by the buffer pool and handled by lazy write operations. Storing temporary table pages on a RAM disk causes double RAM caching, one in the buffer pool and one on the RAM disk. This directly takes away from the buffer pools total possible size and generally decreases the performance of SQL Server.Giving up RAMดิสก์ RAM designates เป็นส่วนหนึ่งของ RAM หลัก ตามชื่อเท่า ไม่มีอยู่หลาย implementations ของดิสก์ที่ใช้ RAM และแฟ้มที่ใช้ RAM caches บางอย่างยังช่วย I/O กายภาพที่ดำเนินการสำรองข้อมูล องค์ประกอบหลักของแคชของแฟ้มที่ใช้ RAM มีให้โดยตรงใช้ออกจากหน่วยความจำกายภาพที่ใช้ โดย SQL Server เสมอมีหลักฐานที่รัดกุมที่เพิ่มแคแฟ้มที่ใช้ RAM ช่วยเพิ่มประสิทธิภาพการทำงานของแอพลิเคชัน และไม่ลดประสิทธิภาพของแบบสอบถามหรือโปรแกรมประยุกต์อื่นการปรับแต่งก่อนโปรแกรมประยุกต์ควรปรับแต่งการเอา hashes ที่อาจก่อให้เกิดการใช้และการเรียงลำดับไม่จำเป็น และไม่ต้องการtempdbdatabase. หลายครั้งเพิ่มดัชนีสามารถเอาความต้องการเรียงลำดับ หรือแฮในแผนนั้นได้อย่างสมบูรณ์ เลขนำหน้าเพื่อประสิทธิภาพที่ดีที่สุดโดยไม่จำเป็นต้องใช้การtempdbdatabase.จุดประโยชน์ที่เป็นไปได้ประโยชน์ของการย้ายtempdbฐานข้อมูลในระบบที่มีความเร็วสูงสามารถถูกกำหนดโดยผ่านการทดสอบ rigorous และการประเมิน workloads แอพลิเคชันเท่านั้น ปริมาณที่มีการถูก studied อย่างรอบคอบสำหรับลักษณะที่จะtempdbฐานข้อมูลอาจได้รับประโยชน์จาก และความปลอดภัยของ I/O ต้องได้รับการยืนยันก่อนการปรับใช้การดำเนินงานเรียงลำดับและแฮทำงานร่วมกับตัวจัดการหน่วยความจำของ SQL Server เพื่อกำหนดขนาดของพื้นที่ scratch ในหน่วยความจำสำหรับแต่ละการดำเนินการเรียงลำดับหรือแฮช ทันทีที่ข้อมูลเรียงลำดับหรือแฮเกินพื้นที่ scratch ในหน่วยความจำปันส่วน อาจสามารถเขียนข้อมูลไปยังtempdbdatabase. อัลกอริทึมนี้ได้ถูกขยายใน SQL Server 2005 ลดtempdbฐานข้อมูลความต้องการใช้งานบน SQL Server รุ่นก่อนหน้านี้ ตัวอย่างเช่น โดยเรียงบังคับ pure ของตารางที่ใช้ ดัชนีไม่ จากใบสั่ง และการกำหนดที่เหมือนกันฮาร์ดแวร์ค่า SQL Server 2005 แสดงปรับปรุง noticeable บน SQL Server 2000 หรือไม่ ข้อควรระวังออกแบบมาเพื่อใช้บัญชีสำหรับระดับของหน่วยความจำและกิจกรรมแบบสอบถามปัจจุบันเมื่อทำการตัดสินใจแผนแบบสอบถามที่เกี่ยวข้องกับการใช้ sql Servertempdbฐานข้อมูลการดำเนินงาน ดังนั้น กำไรประสิทธิภาพเปลี่ยนมากขึ้น workloads และการออกแบบแอพพลิเคชัน เราขอแนะนำให้ คุณทำการทดสอบ ด้วยโซลูชันที่ต้องการกำหนดกำไรที่เป็นไปได้ และประเมินความต้องการความปลอดภัยของ I/O ก่อนการปรับใช้การ ใช้ SQL Servertempdbฐานข้อมูลการจัดการกิจกรรมต่าง ๆ ที่เกี่ยวข้องกับการเรียงลำดับ hashes การจัดเก็บรุ่นแถว และ temp ตาราง:
ยุบตารางนี้
Transactional sector rewrite exampleThe following example elaborates the data security that is required by SQL Server databases.Assume a RAM disk vendor uses an in-memory compression implementation. The implementation must be correctly encapsulated by providing the physical appearance of the file stream as if the sector was aligned and sized so SQL Server is unaware and correctly secured from the underlying implementation. Look at the compression example closer. ยุบตารางนี้
ยุบตารางนี้
Any device that enables the rewrite of sectors must support the rewrites in a transactional way so that SQL Server is not exposed to data loss. หมายเหตุ:The instance of SQL Server is restarted when online I/O and rollback failures occur in thetempdbdatabase. Be careful when you move thetempdbdatabase.Be careful when you move thetempdbdatabase because if thetempdbdatabase cannot be created, SQL Server will not start. ถ้าการtempdbdatabase cannot be created, start SQL Server by using the (-f) startup parameter and move thetempdbdatabase to a valid location.To change the physical location of thetempdbฐานข้อมูล การทำตามขั้นตอนเหล่านี้:
Partner product certifications are not a guaranty of compatibility or safetyA third-party product or a particular vendor can receive a Microsoft logo certification. However, partner certification or a specific Microsoft logo does not certify compatibility or fitness for a particular purpose in SQL Server.การสนับสนุนIf you use a subsystem with SQL Server that supports the I/O guarantees for transactional database use as described in this article, Microsoft will provide support for SQL Server and SQL Server-based applications. However, issues with, or caused by, the subsystem will be referred to the manufacturer.สำหรับtempdbปัญหาที่เกี่ยวกับฐานข้อมูล บริการสนับสนุนของ Microsoft จะขอให้คุณสามารถย้ายtempdbdatabase. ติดต่อผู้จำหน่ายอุปกรณ์ของคุณเพื่อตรวจสอบว่า คุณได้อย่างถูกต้องปรับใช้ และกำหนดค่าอุปกรณ์สำหรับการใช้ฐานข้อมูลของทรานแซคชัน Microsoft ไม่รับรอง หรือตรวจสอบการทำให้ผลิตภัณฑ์อื่น ๆ งานอย่างถูกต้องกับ SQL Server นอกจากนี้ Microsoft ไม่ให้มีการรับประกัน guaranty หรือคำสั่งของความเหมาะสมของผลิตภัณฑ์ของบริษัทอื่นใด ๆ สำหรับใช้กับ SQL Server ข้อมูลอ้างอิงหากต้องการทราบข้อมูลเพิ่มเติม โปรดคลิกที่หมายเลขบทความต่อไปนี้เพื่อดูบทความใน Microsoft Knowledge Base:: 826433
(http://support.microsoft.com/kb/826433/
)
PRB: เพิ่มการตรวจหาปัญหา I/O ถูกรายงานวิเคราะห์เพิ่มเติมใน SQL Server828339
(http://support.microsoft.com/kb/828339/
)
เกิดข้อผิดพลาด 823 อาจระบุปัญหาเกี่ยวกับฮาร์ดแวร์หรือปัญหาของระบบใน SQL Server234656
(http://support.microsoft.com/kb/234656/
)
ใช้ดิสก์ไดรฟ์แคกับ SQL Server110352
(http://support.microsoft.com/kb/110352/
)
optimizing ประสิทธิภาพการทำงานของ Microsoft SQL Server304261
(http://support.microsoft.com/kb/304261/
)
คำอธิบายการสนับสนุนสำหรับแฟ้มฐานข้อมูลเครือข่ายใน SQL Server913945
(http://support.microsoft.com/kb/913945/
)
Microsoft ไม่รับรองว่า ผลิตภัณฑ์ของบริษัทอื่นจะทำงานกับ Microsoft SQL Server910716
(http://support.microsoft.com/kb/910716/
)
ข้อกำหนดสำหรับ SQL Server 2005 และ SQL Server 2000 เพื่อสนับสนุนการมิเรอร์ระยะไกลของฐานข้อมูลผู้ใช้917043 ข้อมูลในเอกสารนี้แสดงมุมมองปัจจุบันของ Microsoft Corporation ปัญหากล่าวถึง ณวันที่ของการประกาศ เนื่องจาก Microsoft ต้องตอบสนองเมื่อต้องการเปลี่ยนเงื่อนไขการตลาด มันจะไม่สามารถแปลผลเป็น แบบ commitment part ของ Microsoft และ Microsoft ไม่รับประกันความถูกต้องของข้อมูลที่นำเสนอต่อหลังจากวันที่ของการประกาศ
(http://support.microsoft.com/kb/917043/
)
สัดส่วนของคีย์ควรพิจารณาเมื่อประเมินระบบแคชของแฟ้มอื่น ๆ กับ SQL Serverเอกสารทางเทคนิคนี้จะใช้สำหรับการให้ข้อมูลเท่านั้น microsoft ทำให้ไม่รับประกัน express ทั้งโดยนัย หรือ statutory นี้ถึงข้อมูลในเอกสารนี้ complying โดยกฎหมายลิขสิทธิ์เกี่ยวข้องทั้งหมดเป็นความรับผิดชอบของผู้ใช้ โดยไม่มีการจำกัดสิทธิ์ภายใต้ลิขสิทธิ์ ไม่มีส่วนของเอกสารนี้อาจถูก reproduced จัดเก็บไว้ใน หรือแนะนำเข้าสู่ระบบมีการเรียก หรือส่ง ในแบบฟอร์มใด ๆ โดยหมายความว่าใด ๆ (อิเล็กทรอนิกส์ กล พยาบาล บันทึก หรืออย่างอื่นใด), หรือ สำหรับวัตถุ ประสงค์ใด ๆ โดยไม่มีสิทธิ์การเขียนที่ระบุของ Microsoft Corporation Microsoft อาจมีสิทธิบัตร แอปพลิเคชัน patent เครื่องหมายการค้า ลิขสิทธิ์ หรือสิทธิในทรัพย์สินทางปัญญาอื่น ๆ ครอบคลุมเรื่องเรื่องในเอกสารนี้ ยกเว้นว่า expressly โดยในข้อตกลงการมีสิทธิ์การใช้งานที่มีการเขียนให้จาก Microsoft, furnishing ของเอกสารนี้ไม่ให้สิทธิ์การใช้งานใด ๆ กับสิทธิบัตรเหล่านี้ เครื่องหมายการค้า ลิขสิทธิ์ หรือทรัพย์สินทางปัญญาอื่น ๆ ? 2006 Microsoft Corporation สงวนลิขสิทธิ์ , Windows, Windows Server และ Microsoft SQL Server มีเครื่องหมายการค้าที่ลงทะเบียนหรือเครื่องหมายการค้าของ Microsoft Corporation ในสหรัฐอเมริกาและ/หรือประเทศอื่น SQL Server ต้องใช้ระบบเพื่อสนับสนุน มีการจัดส่งไปยังสื่อที่เสถียร ตาม outlined ภายใต้โปรแกรมตรวจทาน Microsoft SQL Server Always-On เก็บโซลูชันแก้ไข Foสำหรับข้อมูลเพิ่มเติมเกี่ยวกับความต้องการป้อนข้อมูล และผลลัพธ์สำหรับโปรแกรมของฐานข้อมูล SQL Server คลิกหมายเลขบทความต่อไปนี้เพื่อดูบทความในฐานความรู้ของ Microsoft: 967576
(http://support.microsoft.com/kb/967576/
)
Microsoft SQL Server Database Engine Input/Output Requirementsคุณสมบัติหมายเลขบทความ (Article ID): 917047 - รีวิวครั้งสุดท้าย: 16 มกราคม 2554 - Revision: 3.0 ใช้กับ
แปลโดยคอมพิวเตอร์ ข้อมูลสำคัญ: บทความนี้แปลโดยซอฟต์แวร์การแปลด้วยคอมพิวเตอร์ของ Microsoft แทนที่จะเป็นนักแปลที่เป็นบุคคล Microsoft มีบทความที่แปลโดยนักแปลและบทความที่แปลด้วยคอมพิวเตอร์ เพื่อให้คุณสามารถเข้าถึงบทความทั้งหมดในฐานความรู้ของเรา ในภาษาของคุณเอง อย่างไรก็ตาม บทความที่แปลด้วยคอมพิวเตอร์นั้นอาจมีข้อบกพร่อง โดยอาจมีข้อผิดพลาดในคำศัพท์ รูปแบบการใช้ภาษาและไวยากรณ์ เช่นเดียวกับกรณีที่ชาวต่างชาติพูดผิดเมื่อพูดภาษาของคุณ Microsoft ไม่มีส่วนรับผิดชอบต่อความคลาดเคลื่อน ความผิดพลาดหรือความเสียหายที่เกิดจากการแปลเนื้อหาผิดพลาด หรือการใช้บทแปลของลูกค้า และ Microsoft มีการปรับปรุงซอฟต์แวร์การแปลด้วยคอมพิวเตอร์อยู่เป็นประจำ ต่อไปนี้เป็นฉบับภาษาอังกฤษของบทความนี้:917047
(http://support.microsoft.com/kb/917047/en-us/
)
| การแปลบทความ |




กลับไปด้านบน








