Skip to main content

Posts

What is nolock in SQL Server

Nolock is nothing but it decrease the concurrency of busy system. When there is nolock for data then that data can be taken by another transaction. Reads the dirty page irrespective to the isolation level. (Not in all scenario). NOLOCK is used in SELECT queries as query hint, it functions the same way as READ UNCOMITTED isolation level where dirty reads are possible. It is highly recommended for all applications where Performance and concurrency is vital and dirty reads takes a backseat. Like in non-banking and web based applications it is much used, and also in internal web applications used in back-office by multiple users. We can use NOLOCK in all non-financial and non-payment related transactions most of the times. Every domain and case needs to be verified.

What is the use of sqlserver browser service?

Sql browser service is used to connect to a instance within the server. It runs at the OS LEVEL of architecture. Sql server browser service is used by sql server for named instance name resolution and for server name listing. i.e., for default instance default port will be 1433 and for named instance port will be dynamically allocated to provide the named instance port details browser service is used.

Function of functional keys on keyboards

Default ports in computer,network peripherals

Software configuration,installation

what is difference between configuration and installation of software? Answer: Software installation is a process in which we set up software ready for execution usually done by a installer. while configuration includes to set up a complete environment in which discussed software can execute. or simply we can say installation is a sub set of configuration.

Unexpected growth of sql log file in sql 2008

The log file size grows and takes all free space sometimes.  Sometimes it works OK. Following advice may help you to handle the situation I may be mistaken, but I seem to remember a problem with a previous version of SQL doing this when some other process was interfering with the database files, like a system backup, antivirus scan, system updates or a fragment. When the process interferes with the SQL directory, the log files grew out of control until the hard drive filled up.  If you are running something like this, be sure to exclude your database directories from it. If you have a different server handling a function like this, exclude the db directories or server all together. You could put these database In full recovery and set transaction log backups or set up a job that runs DBCC Shrink file. and schedule it to run prior to mid-night. But you should read through the error log and event logs to determine the cause of the problem.