If we run a query,what all happens in background/what are phases of query processesing.?

Hi Friends,
if we run a query,what all happens in background/what are phases of query processesing.?
Many thanks
Shashikala

It has to go through
Parsing-on this stage it perform basic check on code (T-SQL,
Binding(Algebrizer Stage)-on this stage does more parsing and perform query tree,
Optimize- on this stage take query tree from Binding and parsing and find a better way to return the result that you need so cost might apply here and then
Execute 
To know about transaction Log we have to know first how Transaction log file internally works: when you are trying to make change in data as Insert, Update, Delete requests
from applications using T-SQL or on object explorer, SQL Server will load (load) to the corresponding page data memory where we call this memory area as DATA CACHE.  Then the data in the data cache are changed which is also known as known as DIRTY PAGE.
Next all changes we made by running query will be recorded in the transaction log file so they called the write-ahead log. At final stage, a process known as CHECK POINT PROCESS will check and write all the transaction has been committed AND completed to your
hard drive by flushing the page.
So simply put here are the steps
Data modification sent by application
Data pages are located in or read into, cache and modified
Modification is recorded in transaction log on DISK
Checkpoint writes committed transactions to database
I hope this helps a bit in answering your question good luck.

Similar Messages

  • I have downloaded FF and clicked on Run, and nothing at all happens, never see the wizard.

    I read the answers to the other people's questions on this - run as administrator - and that also didn't work.

    I assume you downloaded directly from Mozilla, and saved it to a non-temporary location such as Downloads or Desktop? https://www.mozilla.org/firefox/fx/#desktop
    In case the installer crashed, can you use the Windows Task Manager to terminate it and try again? To do that:
    * Ctrl+Alt+Esc to launch
    * Check the Applications tab first
    * Check the Processes tab next
    I'm not sure how the installer is identified in Processes, but it probably matches the file name under which you saved the installer.

  • I have an older mac (OS 10.4.11) but my girls got new ipod shuffles.  They need itunes 10.5, we can't run it.  What are our options?

    Oh cool.  I can write more here!
    My son is in Texas. We are in Maine.  He sent his sisters new ipod shuffle 2GB.  Our old ipods work fine on itunes 9.0, but these new ones require itunes 10.5 - which we, apparently, cannot run on our mac OS 10.4.11.
    The girls each have $25 gift certificates to spend on their music at the itunes store, but we can't use any of it.  What do we do???  Help!!!!

    Mac OS X 10.5 Leopard installation system requirements
    http://support.apple.com/kb/TA24950
    Leopard is no longer available at the Apple Store but may be available by calling Apple Phone Sales @ 1-800-MY-APPLE (1-800-692-7753).
    If you can't obtain a retail install DVD from Apple, look on eBay or Google the installer part numbers to possibly find at an on-line store. Here's what to look for:
    MB427Z/A  Leopard 10.5.1 install DVD
    MB576Z/A  Leopard 10.5.4 install DVD
    MB021Z/A  Leopard 10.5.6 install DVD (single user)
    MB022Z/A  Leopard 10.5.6 install DVD (5-user family pack)
    Installing Mac OS X 10.5 Leopard
    http://support.apple.com/kb/HT1544
    Mac OS X 10.5 Leopard Installation and Setup Guide
    http://manuals.info.apple.com/en/leopard_install-setup.pdf
    After you install the base 10.5, download & install the 10.5.8 combo update at http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
     Cheers, Tom

  • "run" "script" "my", what are the rules for using different handlers?

    Hi
    I am a very big newbie to this apple script, and I am getting confused how to organize my scripts with functions such as "my" "script" "run".  Please send me a tutorial!
    DOUG

    More specifically, MacScripter's unscripted section has several tutorials.  There is also the AppleScript Language Guide.

  • I need to purchase a newer used apple computer so I can run Firefox 8. What are the min. system requirements to ron Firefox 8.

    I need to purchase a newer used apple computer in order to run Firefox 8, what are the min. system requirements?

    Here are the [http://www.mozilla.org/en-US/firefox/8.0/system-requirements/ System Requirements] for Firefox 8.

  • I updated my iPhone 4 to iOS5 and let it sync with my Macbook and now all my iPhone iCal entries are gone. How can I get my iCal events back on my iPhone?

    I updated my iPhone 4 to iOS5 and let it sync with my Macbook (running Lion) and now all my iPhone iCal entries are gone. How can I get my iCal events back on my iPhone?

    Me too!  Help anyone?

  • I have a macbook pro the fan wont stop running the keyboard light is not working and the it wont charge all happened all of a sudden what to do please.

    have a macbook pro the fan wont stop running the keyboard light is not working and the it wont charge all happened all of a sudden what to do please.

    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    If this does not help, you may have to take the MBP to the Apple Store  to have it checked.
    Best

  • HT3275 My Time Capsule has been backing up without any problems and all of a sudden it stops reading on my computer. The external hard drive beeps three times and the motter wont run within. What happened?

    My Time Capsule has been backing up without any problems and all of a sudden it stops reading on my computer. The external hard drive beeps three times and the motter wont run within. The light that usually blinks while in use is no longer blinking and is on constant. What happened?

    abailey46 wrote:
    My Time Capsule has been backing up without any problems and all of a sudden it stops reading on my computer. The external hard drive beeps three times and the motter wont run within. The light that usually blinks while in use is no longer blinking and is on constant. What happened?
    Sorry we are unclear as to the external hard drive and its connection to the TC..
    For instance the light that blinks.. is that the TC or external hard disk or what.
    Did you try just rebooting / restart the whole network in correct order.. modem.. router / TC.. external drive.. clients with 2min gap between each.
    Are you actually running Snow Leopard as the profile states?
    How old is the TC?

  • What are the areas impact query to run for ever/long?

    Hi All,
    When I have to talk about long running scripts or procedures I focus on DTA which suggests on Indexing and infact I think this is the main cause. What are the other areas which we need to consider for Long running queries and troubleshooting tools we need
    to use do you think?
    Ofcourse blocking impacts but am purely thinking at query perspective.
    Thanks
    Swapna

    What are the other areas which we need to consider for Long running queries and troubleshooting tools we need to use do you think?
    One of the reasons is blocking. Please take a look at these links:
    INF: Understanding and resolving SQL Server blocking problems
    Troubleshoot Slow-Running Queries In SQL Server
    T-SQL Articles
    T-SQL e-book by TechNet Wiki Community
    T-SQL blog

  • My husband has a Mac mini, vintage 2009, running Snow Leopard. All other computers and devices in the house are able to connect to our wireless network, but since I upgraded his computer to Snow Leaopard  it won't connect. What is the problem?

    What am I missing here. I'm sure it is some kind of sitting that is not right.
    Thanks Pat

    Sounds familiar:
    lllaassJan 6, 2015 2:12 PM Re: My husband has a Mac mini, vintage 2009, running Snow Leopard. All other computers and devices in the house are able to connect to our wireless network, but since I upgraded his computer to Snow Leaopard  it won't connect. What is the problem?
    Re: My husband has a Mac mini, vintage 2009, running Snow Leopard. All other computers and devices in the house are able to connect to our wireless network, but since I upgraded his computer to Snow Leaopard  it won't connect. What is the problem?in response to Patricia Isaac1
    Power off and then back on the router
    What happens when you enter the network's PW?
    Try forgetting/deleting the network if necessary. To do that go to System Preferences>Network>wifi>Advanced and select the network and click on the minus sign
    Csound1 wrote:
    Turn off the modem and the router, wait 60 seconds. Turn on the modem, wait 60 seconds, turn on the router.

  • Hot links no longer work. When I click on them nothing at all happens. What do I do?

    Hot links no longer work. When I click on them, nothing at all happens. what do I do to fix this problem?

    That is just a link to what is already on this website. I don't know what any of that stuff MEANS. Tell me what to click on in my computer, if you know. I THINK it has Windows 8.1 but don't know how to tell. I was nagged into installing 8.1 and didn't like it and tried to uninstall it but I think it is still there. The hyperlinks were still working long after that. Now, suddenly, google chrome doesn't work, hyperlinks in emails (only) don't work. I don't know how to "reset" anything. This was working fine; now it isn't. I didn't do anything different, and every time I get a message it directs me to click on a hot link and my problem is that hotlinks in my e-mails are NOT WORKING!!! HELP!!!

  • Suddenly all my albums in Photos are blank.  The photos are still in the camera roll but not in the albums.  What happened and how do I recover them all?  Are they in my icloud?  Also the photos are clear as thumprints but when I touch it to zoom are blur

    Suddenly all my albums in Photos are blank.  The photos are still in the camera roll but not in the albums.  What happened and how do I recover them all?  Are they in my icloud?  Also the photos are clear as thumprints but when I touch it to zoom are blurry.  what gives?  They were all completely clear and in the albums when I last used my ipad??  Would doing the "Reset" under General settings do that?  When I returned from Europe I reset my ipad to get it in the right time zone etc. 

    Reboot.   Press and hold the home and sleep buttons until the apple logo appears. Ignore the red slider.

  • What are all the major SPRO parameters available for MRP run in SAP.

    Dear Frndz,
    What are all the major SPRO parameters available for MRP run in SAP.
    Regards,
    Srini

    Hi,
    For MRP, the main Customization settings involved are:
    1. Activate MRP and Set Up Planning File - OMDU
    2. Define Parallel Processing in MRP - OMIQ
    3. Define Scope of Planning for Total Planning - OMIZ
    If you want to use MRP Areas and include this in Scope of Planning then.
    1. Activate MRP for MRP Areas
    2. Define MRP Areas - OMIZ
    With MDBT of Program : RMMRP000 you can schedule the Background MRP Run. (with a variant)
    If you need any any specific information please inform..
    Regards,
    Siva

  • Im trying to download itunes on a windows 8 laptop, everytime I click the download now button, nothing at all happens. Doesnt ask me to save or run or anything. Please help

    Im trying to download itunes on a windows 8 laptop, everytime I click the download now button, nothing at all happens. Doesnt ask me to save or run or anything. Please help

    Switch off your virus scanner and firewall and Download iTunes below:
                                Download iTunes Get the latest version of iTunes for Mac or Windows. Download now                         

  • Failed to retrieve all the results. Try running the query or stored procedure again

    I have a Product table in Azure SQL Database. I can't open data in Product table. I got an error message like this.."Failed to retrieve all the results. Try running the query or stored procedure again". In my Database
    all tables showing their data expect Product table. Please let me know why only Product table showing error message. Thanks in Advance.

    Hi,
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience
    As this requires an expert advice, I suggest you to open a support case and our experts would be able to assist you further.
    http://support2.microsoft.com/common/international.aspx?RDPATH=%2fdefault.aspx%3fid%3dfh%253ben-us%253bofferprophone
    Girish Prajwal

Maybe you are looking for

  • LCD issue in iphone 4g, please help

    I bought new iphone 4g, and when i turned the phone for first time, i found vertical blue line in lcd from up to down. how i can fix it? im living in kuwait.please help

  • SCCM Client Report Tool not opening up correct URL to Report Server

    I recently install the SCCM 2012 right click tools and within the downloaded zip file there is SCCMClientToolsSetup2012.exe which adds a whole bunch of additional features when right clicking devices in the console. The problem is no matter what I pu

  • Output non-indented XML with XMLDocument.print()

    Hi, Using Oracle XML Parser 2 i am dynamically contructing a XMLDocument via calls to createElement() and createTextNode(). See the code below for an example. When Xml_doc.print(System.out) is called an indented XML document is printed out to the con

  • IllegalArgumentException for DBSequence

    In using JHeadstart 10.1.3 I have run into problems using the entity attribute type of DBSequence. On loading the page I get the following error 500 Internal Server Error java.lang.IllegalArgumentException: 'value' is not of type java.lang.Number' at

  • Why is my iPhone 4S Video Camera Changing Frame Rates?

    I've been doing some video tests with my iPhone 4S and I've found that in low lighting situations it's recording video at 24fps instead of the advertised 30fps. In good lighting conditions it's recording at 30fps. It's obvious the camera is compensat