Langsung ke konten utama

File .LDF terlalu besar pada MSSQL 2008

Cara Mengecilkan File .ldf Pada MSSQL Server 2008

Pada Server Management Studio Klik kanan pada database yang bersangkutan dan pilih Properties:

- Pilih "Options" di sebelah kiri
- Rubah pada bagian "Recovery Model:" dari “Full” ke "Simple" dan click OK
- Klik kanan pada database lagi, pilih Task -> Shrink -> File
- Pada bagian “File Type”: pilih Log dan klik OK


Ini akan sementara memberi ruang tambahan untuk storage kamu, pastikan bahwa database kamu diset untuk backup. Setelah kamu menyelesaikan masalah storage yang penuh, sarannya adalah kamu mengembalikan recovery mode ke mode full.

Thank you Bill_Ryan @ spiceworks

Agustus, 2015 – Riri Rizal

Komentar

Postingan populer dari blog ini

Whitelist URL di Mikrotik dengan layer 7 protocol

Whitelist URL Mikrotik dengan layer 7 protocol Pada kasus kali ini user hanya boleh akses website kompas.com dan detik.com saja, selain itu di blok (drop). Hanya dua step yang perlu dilakukan: Step1. Create regexp at ip firewall, layer 7 protocol. /ip firewall layer7-protocol add name=whitelist regexp=^.+kompas|detik.* /ip firewall layer7-protocol add name=blacklist regexp=^.*.*$ Step2. Create filter rules /ip firewall filter add chain=forward layer7-protocol=whitelist action=accept /ip firewall filter add chain=forward layer7-protocol=blacklist action=drop Pastikan posisi filter rules dengan action accept diatas drop, jika posisi ini terbalik dipastikan semua website tidak bisa diakses. Jika dua step diatas dilakukan dengan benar, dipastikan hanya dua website di whitelist yang bisa diakses oleh user. Selesai. Mei, 2014 – Riri Rizal

Setup Bridge on Mikrotik

Pada kasus ini, router yang digunakan adalah RB450. Reset semua konfigurasi pada router, kemudian lakukan konfigurasi seperti ini: via terminal: > interface bridge add name=bridge1 > interface bridge port add interface=ether1 bridge=bridge1 > interface bridge port add interface=ether2 bridge=bridge1 > interface bridge port add interface=ether3 bridge=bridge1 > interface bridge port add interface=ether4 bridge=bridge1 > interface bridge port add interface=ether5 bridge=bridge1 Konfigurasi diatas akan memfungsikan semua port pada RB450 menjadi switch. Untuk memproses traffic yang lewat melalui firewall, tinggal ditambahkan konfigurasi seperti dibawah ini. > interface bridge settings set use-ip-firewall=yes Tap jangan lupa untuk menambah konfigurasi firewall pada ip firewall filter (sesuai kebutuhan)

Pagefile size bigger than 4095MB on Windows Server 2003

The pagefile size on Windows Server 2003 x86 and other Windows x86 platforms is limited to 4095 MB per pagefile. But a lot of Windows Server 2003 systems already have 4GB RAM and are using PAE ( Physical Address Extension ) to use them. So it would be useful to create more than 4 GB pagefiles. Microsofts solution for this is to create multiple pagefiles. You can now create multiple pagefiles on different partitions. If you don’t have enough partitions or you just have one, you can create multiple pagefile in different folders by using the Windows Registry. Create the folders on the drive where the pagefiles should be located. For example, C:\Pagefile1, C:\Pagefile2, and C:\Pagefile3. Open regedit.exe I would recommend to create a backup of the registry locate this key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\MemoryManagement Edit the value “PagingFiles” Remove the existing values and add the following values: C:\Pagefile1\pagefile.sys 4096 4096 C...