What happens during sql startup ?

Hi All,
What happens during SQL Server service startup ?
Basically, i am looking at step by step process of how sql server brings up the instance with all sp_configure settings,startup parameters etc..
Thanks in Advance.

You don’t have to restart SQL Server unless you have changed service properties or already set startup traces and you want that to take effect immediately. Restarting the server
is probably one of the most damaging things for performance as it throw away statistics collected in the operational stats DMVs (i.e. SQL Server resets the counters to 0 each time
the SQL Server service is restarted) and so on.
Anyways to answer the question always when you start up SQL Server it goes via different recovery phases so for detail reading check out this link, I hope this
might help you in finding out your answer 
https://community.emc.com/docs/DOC-13849
Please remember to click “Mark as Answer” on the post that has answered your question as it it very relevant to other community members having the same problem.

Similar Messages

  • What happen during shutdown database

    Dear All,
    i have a questions and i enclosed some suggestions for the answer because I'm confused about the answers :
    What happens during shutdown oracle database :
    and the suggested answer :
    1- When shutdown the database with NORMAL or IMMEDIATE option : the database system writes check point before shutting down the database .
    2- when you shutdown the database with the IMMEDIATE , option , open transaction are rolled back before the database is shutdown .
    3- shutting down the database with abort always requires an instance recovery at the next startup .
    please suggest the right answer .
    Regards
    Anwar

    First of all shutdown has 4 options
    1.Normal
    2.Immediate
    3.Transactional
    4.Abort
    Default is normal
    Normal: No new connections are allowed. Database and redo buffers are written into disk.Database is closed.
         Backgroud process are terminated.SGA is deallocated. Until and unless all users disconnect, database wont be closed.
    Transactional: No client can start a new transaction. Clients get disconnected once their transactions are completed.
         Database and redo buffers are written into disk.Database is closed.Backgroud process are terminated.SGA is deallocated.
    Immediate: Current running SQL are not completed. Oracle does not wait for users to disconnect.
         All active transactions are rolled back.Database and redo buffers are written into disk.
         Database is closed.Backgroud process are terminated.SGA is deallocated.
    Abort: All users are disconnected.Database and redo buffers are NOT written into disk.
    All background processes are killed instantly and instance is abruptly terminated.

  • What happen during shutdown oracle database

    Dear All,
    i have a questions and i enclosed some suggestions for the answer because I'm confused about the answers :
    What happens during shutdown oracle database :
    and the suggested answer :
    1- When shutdown the database with NORMAL or IMMEDIATE option : the database system writes check point before shutting down the database .
    2- when you shutdown the database with the IMMEDIATE , option , open transaction are rolled back before the database is shutdown .
    3- shutting down the database with abort always requires an instance recovery at the next startup .
    please suggest the right answer .
    Regards

    Hi Anwar,
    When you close a database, Oracle writes all database data and recovery data in the SGA to the datafiles and redo log files, respectively. Next, Oracle closes all online datafiles and redo log files.
    When you terminate the instance of an open database/use abort command to close and completely shut down the database the writing of all data in the buffers of the SGA to the datafiles and redo log files is skipped. The subsequent reopening of the database requires recovery, which Oracle performs automatically.
    I hope this will help you out to understand the process.

  • What happens during an iphone 5 processing order, i ordred mine 1 week ago and when i check the status it says processing order

    What happens during an iphone 5 processing order, i ordred mine 1 week ago and when i check the status it says processing order

    Does your Cloud subscription show on your account page?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • What happens during the "Waiting for UDev uevents to be processed"?

    Hello dear archers,
    I have arch installed on my laptop, working great, I really love it.
    Only one thing bother me and I would like to solve it: at boot time, the system waits for about 15s on the stage "Waiting for UDev uevents to be processed".
    Is it normal? What is it doing exactly during this stage: loading modules?
    I try to see in my logs but I can't find anything related to this. How can I know if there is not some kind of issue which make him takes so long ? How can I improve this ?

    Thank you for all your answers.
    Well, according to the man page and rc.sysinit, udevadm command in the rc.sysinit script does:
    /sbin/udevadm settle
    /sbin/udevadm control --property=STARTUP=
    I assume this is the settle command which takes time.
    But how can I list the uevents in the queue the udevadm settle command is waiting for ? If possible, with the delay of treatment of each of these uevents during the boot...
    I have nothing related to this in my logs.
    Regarding my hardware, I have one toshiba laptop P300-220 with two internal hard drives (and many partitions on them). But no external drive.
    Last edited by Laserpithium (2010-07-20 08:35:36)

  • What happened to the Startup Disk icon?

    I've only had my MacBook Pro for about two weeks (and already seem to have screwed things up). The last couple of day I've notices that my System Preferences > Startup Disk has gone from the harddrive icon to this icon:
    http://symtym.com/rsc/startupdisk.jpg
    Any suggestions as what caused this and what to do to fix it? TIA
    MacBook Pro   Mac OS X (10.4)  

    A lot of people have had this strange light switch icon replace normal ones. See this thread:
    http://discussions.apple.com/thread.jspa?messageID=2819841&#2819841
    Removing the preference files recommended by Ferd seems to fix it.
    Francine
    Francine
    Schwieder

  • What happens during over-the-air update?

    What processes occur during over-the-air update of an app?
    This morning I checked for updates and there were 6 updates for apps on my phone. I selected one to install -- one that is listed as 0.3MB on the App Store. The new copy of the icon appeared, and the blue bar started moving. I presume that is the download to the iPhone taking place. Then is says "Installing..." I presume that is the actual installation of the updated app.
    But... It seems to take a looong time to install. I could install Adobe Creative Suite on my MacBook Pro faster than this 0.3MB app is installing on my iPhone.
    So what is it doing during all that time?

    It appears apps don't actually update, it just downloads the new version and then installs it, part of that is removing the old version. However its getting annoying now because then I have a different version in itunes and on the phone so when I sync it wants to transfer the file to itunes, I end up with 2 versions of the same app in itunes then because it seems to not delete the old one.

  • What happens during this 'stabilisation' phase?

    Engineers say that you need to wait 48hrs/7days/10days for it to stablise.
    Why? What actually happens in this period?
    Is this designed to appease us that our connections could get quicker after the engineer has left so we're not annoyed with the lacklustre speeds?

    Well its a stabilisation period.
    If they put you straight on the highest line possible it would potential be unstable so they will take it down bit by bit to get to a point where it doesn't keep falling over over thos 10 days.
    I only say this as we have our VOIP at the office going over a BT broadband line and it kept dropping so they reduced the line to make it more stable.

  • Please, What happens if a startup internal drive get formatted Coded-Journaled ? Thanks.

    Hi, what if someone format an internal drive (for OS X wipe&install) as coded-journaled ? Thanks.

    An encrypted disk using Apple's FileVault technology will be encrypted underneath the OS, meaning that OS X will not be aware of the encryption. The sytem sets up a pre-boot volume manager that manages the encryption and loads when you first start the system. When you provide your login information the manager unlocks the disk and then passes your login information to the OS so it will log in to your account when it is done loading.
    Encrypting the drive underneath the OS means that everything the system writes to the disk will be encrypted, with no additional steps or support needing to be implimented in the OS. In essence, you will not notice a difference when running your system on the encrypted disk. The only drawback is the inability to boot to Safe Mode, and of course read the drive from another system if it gets corrupted and cannot boot (but that's what encryption is for, and that's also why we have backups).

  • UNDO_TABLESPACE=AUTO  and UNDO_TABLESPACE='' What happens?

    If UNDO_TABLESPACE=AUTO and UNDO_TABLESPACE='' What happens after instance startups?
    I am citing on-line doc '...When the instance starts up, Oracle automatically selects for use the first available undo tablespace. If there is no undo tablespace available, the instance starts, but uses the SYSTEM rollback segment. This is not recommended in normal circumstances, and an alert message is written to the alert file to warn that the system is running without an undo tablespace...'
    Questions :
    1. If database has no undo tablespace avalilable and instance use SYSTEM rollback segment. Is it possible apply UNDO_* parameters to the SYSTEM rollback segment?
    2. Database has undo tablespaces, but still UNDO_TABLESPACE=''(UNDO_TABLESPACE parameter is set to empty). Will instance use any of undo tablespaces first?
    Thank you in advance.

    If the need to know this is dire it is possible to find file extent events via dump of the redo log files using alter system dump logfile '/some/logfile' layer 14 opcode 4;
    By reviewing the output you can find the file extensions but for an ongoing requirement create a snapshot of dba_data_files and update it daily or on another schedule depending on your needs.
    There might be something in the AWR but using the AWR requires a Performace Pack License which is an extra cost so I generally do not have access to it so I have never looked close enough to know if any useful extent information is there. It will have a limited life so rolling your own is still probably your best long-term solution but the source of the data could change.
    HTH -- Mark D Powell --

  • What happens in ORACLE internally during STARTUP UPGRADE ?

    Everyone,
    Could someone please explain/guide me What happens in ORACLE internally during STARTUP UPGRADE ?
    Regards,
    Sakthivel

    Hi;
    Please check below link
    startup migrate, startup upgrade, startup restrict
    startup migrate, startup upgrade, startup restrict
    Regard
    Helios

  • What happens with SOA schemas during SOA (appServer) Suite reintstallation

    I have installed Oracle DB for Vista and also - I have installed serveral times SOA suite - the last time - I installed is using advanced wizard and against my Oracle database (so - not against Oracle lite as it can be by default) and it was sucesfully (all the ESB, BPEL, web services consoles were avialable), then I started to delete the homes of odl suite's installation and result is that my SOA installation is not working now. As I can see from logs - it is becuase of lack of ESB, BPEL etc html documents in htpdoc directory of apache server of SOA Suite.
    So my main question is - now I plan to reinstall the SOA suite against the same database - but is it safe? As I guess - previous installation has already created a lot of database objects (besides the usual ESB, Web services and BPEL scripts that should be execute before beginning of installation) and so - what happens with them during reinstallation and should I make any deletions by hand before second installation of SOA suite. I guess - if some old objects will be detected as existing, then SQL scripts will fail during second installation and apparently - any configuration assistants will exit with error and completion will be impossible.
    Well - one more question - can I make installation of two SOA suites against the same database?
    Thanks in advance!

    First of all thanks for the qucik reply.
    Ok, that explains why I can't run the BPEL Process Manager standalone with a shortcut.
    So do I assume right that if the Weblogic Server is started, the BPEL Process Manager is started as well? Running on the WLS? Or is there no seperate BPEL Process Manager instance any more?
    I installed everything as described in the first link I posted and made the necessary configurations as described.
    Nevertheless, when I go to http://localhost:7001/em I arrive in the following situation:
    - I can't see any “SOA” folder in the left-hand side navigation tree as it was described in the tutorial above.
    - As you can see on the screenshot linked below, the soa_server1 is down. I tried to start this server by clicking on it and then I chose to start the server from the WebLogic-PullDown menu from the EM-Menu.
    First I received an error saying that the Node-Manager is not started. So I started that one as well and tried again to start soa_server1. Then after a while I saw on the pop-up that soa_server1 has been started. But as you can see from the screenshot below it still appears to be down. When I then try to start it again, the EM-pop-up however says that it is running.
    http://i38.tinypic.com/262wj88.jpg
    How - if everything would be running - could I then get to the BPEL process managing view on the EM?
    The next problem I have with the JDeveloper. I installed as described above, but don't arrive in installing the plugin. The Update-Process finds the correct plugin. Then I select to install it and already after two seconds it seems to be installed.
    How do I create my BPEL process with that updated version of the JDeveloper. Do I have to select Applications -> new -> SOA Composite -> Composite BPEL process or how does that work?
    Thanks again in advance for your cooperation!

  • I was surfing the net when my computer started emitting double beeps. I shut it down with no problem but I can't find any info on double beeps that did not occur at startup (haven't tried starting it back up yet though). What happened?

    Quite the trial to sign in to freaking Apple support.  I apparently made an account with my primary e-mail, but damned if I can recover the password, apparently I don't know my own birthday.  So I had to make a new account with another e-mail, and even when I thought it was done, no, I had to fill out more information before I could get to this screen.  You won't let me ask for tech support from your message board without my mailing address?  Then my completely inoccuous user name was rejected for containing banned words.  Lemurs and cats are profane now, what?  This is why I hate computers.
    Anyway, I've got Mac OS X 4.something, can't check because it is shut down, and I already described my problem in the subject there before I got dragged back into account creation.  I searched several places for answers but all I can find are discussions about double beeping at startup (even when excluding the word "startup" from search results), while my double beeping started all of a sudden when the computer was in use.  The beeps were certainly less than a minute apart.  What happened? What do I need to do about it? Is it safe to start the computer up again?  Fortunately my files are pretty much all backed up.

    I don't know if we are experiencing the same problem, but this is what I did and it seemed to work for me so far.
    Before anything I had to hard restart my laptop. hold power button until off then turn back on.
    In Finder click on Go, then click Go to Folder.  in the dialogue box type
    /var/db/crls
    In that folder there are two files that you need to move to the trash
    crlcache.db
    ocspcache.db
    You will need to type in your password to move these to the trash.
    Restart your computer and then Empty the Trash.  It is very important that you empty the trash afterwards.  I forgot to do this the first time and I had to restart the whole process.  It has been a few days and I have been without any problems.
    I am not claiming this process to be my own, I found it on another discussion thread and it worked for me. I don't have a link to it because I had to use someone else's computer and had no luck trying to find it again. This is the procedure I followed, I do remember it well and I wrote down the steps because I had to do it twice and got tired of combing through all of the websites I have searched looking for a fix to my problem.  Hopefully this helps, and try it at your own risk of course.
    Let me know if you try it and it works or not, good luck.

  • After the recent update on my Ipad Mini. It crashes frequently. The latest is that during saving, it crashed. Now I can't open my project file. It says, Not a valid Adobe Photoshop Touch file. What happened?!!

    After the recent update on my Ipad Mini. It crashes frequently. The latest is that during saving, it crashed. Now I can't open my project file. It says, Not a valid Adobe Photoshop Touch file. What happened?!!

    Sufficient free storage.... tried the reboot and install... Just received an iOS update I'll install tonight and do another reboot...see what happens. Going to have to start saving double..

  • HT1657 I just rented a movie didn't see it just pressed to see if it starts all good I stopped the movie and now can't find it anywhere to see what happened I supposed to be able to see it during 24hrs as many times as I wish... Plz help to find it on my

    I just rented a movie didn't see it just pressed to see if it starts all good I stopped the movie and now can't find it anywhere to see what happened I supposed to be able to see it during 24hrs as many times as I wish... Plz help to find it on my iPhone.

    I just rented a movie today, and finished it. But now I can't find it. People say that it is in the Purchase, it's not there

Maybe you are looking for