Theme Graphic
Theme Graphic

SQL Database Recovery | Repair SQL Database

SQL recovery software to recover & repair corrupted MS SQL database from MSSQL Server. Support recovery of data from MS SQL 2000, 2005 &...

Subscribe

Author

I have completed my Ph.D in computer science and currently doing research on how to recover and repair corrupted database. During my research i found many third party software for several database recovery like sql recovery, sql repair, mdf recovery, mdf repair, db2 recovery, oracle recovery and many more. i am sharing my experience and knowledge with you all.

Archive

Open 2010

Tags

Posted on Wednesday, September 22, 2010 at 4:23 AM

Basic Overviews of SQL Server


The smallest unit of database that SQL Server works with is 8Kilobyte (KB). This 8Kilobyte chunk of database is called pages. SQL Server stores data on the disk in pages form. In Memory also SQL Server database manipulates those same 8 Kilobyte (KB) chunks.

Whole record or row must fit within 8KB chunk (page) when data is written to the disk. Sometime a single page can share more than one row. A row cannot span multiple pages. For Example: If an employee table has employee name, address, city, street, house, state, zip, phone then all that combined data must be written in less than a page or 8kilobyte (KB). Few data types like Binary data, LOB of text files and many more which store pointer to the real data can be spread across multiple pages or even in file. All these data are gathered in to the data files on the disk which has either .MDF or .NDF as file extension.

When a SQL (structured query language) is written in the query analyze of SQL Server database then SQL Server's internal query optimizer looks at that query and constructs an execution plan for executing that structured query. SQL Server uses numerous techniques to execute those different queries. Once SQL Server has the plan for execute a particular query, then it executes it and retrieves the needed data information off of the disk. If the data is requested from the client side then the data is sent over the network.

In case of any modification SQL server use modification query (DML) to modify that query. SQL Server firstly modifies the pages of that data in the memory. After the modification has done, it does not write those updated pages (information) directly to the disk, but SQL server makes a copy of the modification query result in a log file called transaction log file. Transactional log file is that file which keeps track of every transaction in the database. Transactional log file has .LDF extension. If SQL sever writes on disk after every modification is fired on the table then it would increase the system load time to write records on to the disk.

Sometimes SQL server database gets corrupted due to some reasons and backup is not updated then whole SQL server database is inaccessible. At that you have to use third party SQL server database recovery software to recover SQL server database.

Resource: http://hubpages.com/hub/Basic-Overviews-of-SQL-Server
Bookmark: Submit To Digg Submit To reddit Submit To del.icio.us Bookmark With StumbleUpon Bookmark With FaceBook Bookmark With Google Bookmarks   Share: Share By Email By Email

0 comments on "Basic Overviews of SQL Server"
No comments posted yet.

Leave A Comment
Subject:


Comment:
   Bold Italic Underline          Code Link Image Horizontal Rule


Because you do not have or are not logged in to your Programmer's Heaven account, please enter your name.

Name:


To help prevent comment SPAM, please enter the magic code '214' in the box:




Posting Rules
Please follow these rules when posting comments on blog posts.
  • Do not post anything that is racist, hate speech or of a sexual or adult nature.
  • Do not post or link to anything that infringes copyrighted laws.
  • Posting about security or legal topics is fine so long as you are not glorifying or encouraging people to perform illegal activities.
  • Both the author of this blog and the Programmer's Heaven administrators may delete any inappropriate comments without notice at their own discretion.
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.