TrackerX Blogs

All about the World of Binary

See also: Other Geeks@INDC
Caching Invalidation using SQL 2000/7

Untuk menggunakan caching di SQL Server 2000/7 pada env VS2005 pertama-tama kita harus meng-configure SQL Server kita agar bisa menggunakan caching, kalau untuk SQL 2005 otomatis sudah bisa jalan dengan menggunakan Notification Services, tapi untuk versi lama harus menggunakan teknik polling dimana .NET 2.0 akan menginstall beberapa trigger yang diperlukan untuk menotify perubahan , caranya seperti ini :

 

  1. Masuk ke command prompt
  2. Masuk ke folder C:\WINDOWS\Microsoft.NET\Framework\v2.0.xxxxx
  3. Lalu jalankan perintah : aspnet_regsql -S "machine-name\instance-name" -E -d northwind –ed , untuk mengaktifkan caching pada tabel northwind
  4. Lalu untuk mengaktifkan tabelnya jalankan perintah : aspnet_regsql -S "machine-name\instance-name" -E -d northwind -t customers -et untuk mengaktifkan caching pada tabel customers di northwind

 

That’s it

 

 

Al3x4nd3r@hotmail.com

Ricardo Alexander (TrackerX)

 

Genius is nothing but a great aptitude for patience

 

Share this post: | | | |
Published Tuesday, November 08, 2005 5:44 AM by ricardoalexander

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: