خانه SQL Server Buffer Pool Extensions در SQL Server 2014 SQL Server نوشته شده توسط: تورج عزیزی ۳۰ بهمن ۱۳۹۴ زمان مطالعه: 5 دقیقه
با سلام و خسته نباشید خدمت شما از مقاله بسیار عالیتون واقعا ممنونم من یک سئوال داشتم اگر ما BUFFER POOL EXTENSION را غیرفعال کنیم و دوباره از ram های server بخواهیم استفاده بکنیم آن page هایی که در BUFFER POOL EXTENSION قرار دارند آیا در دیسک به صورت فیزیکی نوشته می شوند مثلا ما ۱۰ gb اطلاعات درون BUFFER POOL EXTENSION داریم حالا اگر بخواهیم غیرفعال کنیم این قابلیت رو آیا ۱۰ gb در دیسک نوشته می شود منظورم در فایلهای mdf یا ndf هستند؟ با تشکر از مقاله بسیار عالی شما پاسخ به دیدگاه
سلام یک پیج در حافظه اصلی اگر تغییر کرده باشد و اگر به دلیل فشار کمبود حافظه قرار باشد از حافظه خارج شود همزمان یک عمل checkpoint اجرا میشود که باعث می شود هم تغییرات روی دیسک اعمال شود و بعد به bpe منتقل میشود یعنی نسخه ای که روی bpe قرار دارد همیشه روی دیسک هم وجود دارد و نگرانی در مورد غیر فعال کردن bpe وجود ندارد. پاسخ به دیدگاه
سلام از اونجایی که فقط clean page ها یعنی پیج هایی که عاری از تغییر هستند به bpe منتقل میشوند نگرانی از این بابت وجود ندارد چون قبلا این پیج ها توسط checkpoint روی دیسک نوشته شده اند. اطلاعات بیشتر: Buffer Pool Extension Details SSD storage is used as an extension to the memory subsystem rather than the disk storage subsystem. That is, the buffer pool extension file allows the buffer pool manager to use both DRAM and NAND-Flash memory to maintain a much larger buffer pool of lukewarm pages in nonvolatile random access memory backed by SSDs. This creates a multilevel caching hierarchy with level 1 (L1) as the DRAM and level 2 (L2) as the buffer pool extension file on the SSD. Only clean pages are written to the L2 cache, which helps maintain data safety. The buffer manager handles the movement of clean pages between the L1 and L2 caches. The following illustration provides a high-level architectural overview of the buffer pool relative to other SQL Server components. SSD Buffer Pool Extension Architecture When enabled, the buffer pool extension specifies the size and file path of the buffer pool caching file on the SSD. This file is a contiguous extent of storage on the SSD and is statically configured during startup of the instance of SQL Server. Alterations to the file configuration parameters can only be done when the buffer pool extension feature is disabled. When the buffer pool extension is disabled, all related configuration settings are removed from the registry. The buffer pool extension file is deleted upon shutdown of the instance of SQL Server. پاسخ به دیدگاه
با سلام و خسته نباشید خدمت شما از مقاله بسیار عالیتون واقعا ممنونم من یک سئوال داشتم اگر ما BUFFER POOL EXTENSION را غیرفعال کنیم و دوباره از ram های server بخواهیم استفاده بکنیم آن page هایی که در BUFFER POOL EXTENSION قرار دارند آیا در دیسک به صورت فیزیکی نوشته می شوند مثلا ما ۱۰ gb اطلاعات درون BUFFER POOL EXTENSION داریم حالا اگر بخواهیم غیرفعال کنیم این قابلیت رو آیا ۱۰ gb در دیسک نوشته می شود منظورم در فایلهای mdf یا ndf هستند؟ با تشکر از مقاله بسیار عالی شما پاسخ به دیدگاه
سلام یک پیج در حافظه اصلی اگر تغییر کرده باشد و اگر به دلیل فشار کمبود حافظه قرار باشد از حافظه خارج شود همزمان یک عمل checkpoint اجرا میشود که باعث می شود هم تغییرات روی دیسک اعمال شود و بعد به bpe منتقل میشود یعنی نسخه ای که روی bpe قرار دارد همیشه روی دیسک هم وجود دارد و نگرانی در مورد غیر فعال کردن bpe وجود ندارد. پاسخ به دیدگاه
سلام از اونجایی که فقط clean page ها یعنی پیج هایی که عاری از تغییر هستند به bpe منتقل میشوند نگرانی از این بابت وجود ندارد چون قبلا این پیج ها توسط checkpoint روی دیسک نوشته شده اند. اطلاعات بیشتر: Buffer Pool Extension Details SSD storage is used as an extension to the memory subsystem rather than the disk storage subsystem. That is, the buffer pool extension file allows the buffer pool manager to use both DRAM and NAND-Flash memory to maintain a much larger buffer pool of lukewarm pages in nonvolatile random access memory backed by SSDs. This creates a multilevel caching hierarchy with level 1 (L1) as the DRAM and level 2 (L2) as the buffer pool extension file on the SSD. Only clean pages are written to the L2 cache, which helps maintain data safety. The buffer manager handles the movement of clean pages between the L1 and L2 caches. The following illustration provides a high-level architectural overview of the buffer pool relative to other SQL Server components. SSD Buffer Pool Extension Architecture When enabled, the buffer pool extension specifies the size and file path of the buffer pool caching file on the SSD. This file is a contiguous extent of storage on the SSD and is statically configured during startup of the instance of SQL Server. Alterations to the file configuration parameters can only be done when the buffer pool extension feature is disabled. When the buffer pool extension is disabled, all related configuration settings are removed from the registry. The buffer pool extension file is deleted upon shutdown of the instance of SQL Server. پاسخ به دیدگاه
سلام دوست عزیز این مقاله از سایت sqlpassion.at انتخاب شده میتونید در سایت sqlskills.com و سایت های معروف دیگر هم حساب کنید. پاسخ به دیدگاه
سلام دوست عزیز این مقاله از سایت sqlpassion.at انتخاب شده میتونید در سایت sqlskills.com و سایت های معروف دیگر هم حساب کنید. پاسخ به دیدگاه
با سلام و عرض ادب ممنون از زحمات شما دوست عزیز . اگر راجع به موضوع Buffer Pool Extensions لینک سایتی را میدانید لطفا اطلاع دهید تا مطالعه بیشتری راجع به این موضوع داشته باشم . سپاسگزارم . پاسخ به دیدگاه