Howtos / Articles

Database Recovery models for Microsoft SQL Server

Microsoft SQL server provides three recovery models; full, simple, and bulk-logged. Each have their benefits. The details of the three recovery models is outlined below. You will need to choose the best option for your scenario. For a production database that you need to be able to recover from, the best option will generally be the full recover model. Full recovery model: The full recovery model maintains the entire transaction log history up until the point where the database log…

Read more [...]

Fix Database Integrity Errors in Microsoft SQL Server

Sometimes you may encounter data integrity issues with one or more tables on a Microsoft SQL server. These errors may be found during a data integrity check using DBCC CHECKDB, or even via general use of the database. There are 3 options to correct the database integrity issues; safe repair, restore, and non safe repair (in that order). Its always good practice to take an extra backup before any of these commands are run (specifically the non-safe repair option). Safe…

Read more [...]

Automatically shrink database files in Microsoft SQL 2008

Microsoft SQL server 2008 has the ability to automatically shrink database files. By default this option is disabled. With automatic shrinking of database files turned on, the SQL server will periodically check the available free space within the database files, and will automatically shrink the files if needed. If your database has heavy use, it might be best to keep this option disabled to prevent performace degration. To check what the current auto shrink setting: SELECT DATABASEPROPERTYEX(‘<database_name>’, ‘IsAutoShrink’) Replace <database_name>…

Read more [...]

Load Balancing with Nginx

Nginx is a high performance web server, which can also act as a great reverse proxy. Reverse proxy’s are placed in front of the web server handling the processing, to speed the site up, by either caching data, and/or load balancing across multiple back-end web servers. This howto will outline the steps required to set up Nginx as a load balancing reverse proxy.…

Read more [...]

Increase PHP Upload Limit on Ubuntu 13.04

A default installation of PHP and Apache on a Ubuntu 13.04 will set a maximum upload limit of 2MB. Quite often you will want to increase this to a larger size. How high you set this limit will depend on your requirements. This howto guide will step you through the process to increase the PHP upload limit.…

Read more [...]

Page 6 of 38« First...234567891011...2030...Last »