SQL Server placement of master database files vs resource database filesWhere is the information about what files each database stored for SQL Server 2008 R2SQL Server reports for managementRelocate all files to folder checkbox unavailable sql server 2012Optimal placement of tempdb, mdf and ldf files in SQL Server 2012 on SSD's?I lost my database in SQL server 2008 R2Is is possible to recover a database from the 'raw' files (.mdf and .ldf) of the old server to a new SQL Server instance on a new server?Open .mdf and .ldf files in Microsoft SQL Server without attachOn SQL Server 2017 (Linux), where is the Resource Database persisted (located on disk)?SQL Server 2017 Installation issuesRestoring AdventureWorks2014 Database to SQL Server 2017

Rivers without rain

Re-entry to Germany after vacation using blue card

How to prevent z-fighting in OpenSCAD?

Overlay of two functions leaves gaps

Is Diceware more secure than a long passphrase?

Can I criticise the more senior developers around me for not writing clean code?

Extension of 2-adic valuation to the real numbers

Elements other than carbon that can form many different compounds by bonding to themselves?

How come there are so many candidates for the 2020 Democratic party presidential nomination?

Mistake in years of experience in resume?

Could the terminal length of components like resistors be reduced?

Checks user level and limit the data before saving it to mongoDB

Dynamic SOQL query relationship with field visibility for Users

How did Captain America manage to do this?

Converting a sprinkler system's 24V AC outputs to 3.3V DC logic inputs

What are the steps to solving this definite integral?

Is there a way to generate a list of distinct numbers such that no two subsets ever have an equal sum?

Does a large simulator bay have standard public address announcements?

A ​Note ​on ​N!

How to fry ground beef so it is well-browned

Why was the Spitfire's elliptical wing almost uncopied by other aircraft of World War 2?

Was there a shared-world project before "Thieves World"?

How much cash can I safely carry into the USA and avoid civil forfeiture?

Alignment of various blocks in tikz



SQL Server placement of master database files vs resource database files


Where is the information about what files each database stored for SQL Server 2008 R2SQL Server reports for managementRelocate all files to folder checkbox unavailable sql server 2012Optimal placement of tempdb, mdf and ldf files in SQL Server 2012 on SSD's?I lost my database in SQL server 2008 R2Is is possible to recover a database from the 'raw' files (.mdf and .ldf) of the old server to a new SQL Server instance on a new server?Open .mdf and .ldf files in Microsoft SQL Server without attachOn SQL Server 2017 (Linux), where is the Resource Database persisted (located on disk)?SQL Server 2017 Installation issuesRestoring AdventureWorks2014 Database to SQL Server 2017






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















In a post on SqlServerCentral.com, it is mentioned by several people that the files for the Resource database (mssqlsystemresource.mdf and ldf) should be placed in the same folder as the master database file. This was for SQL Server 2005. Is this still a recommendation when it comes to SQL Server 2017? I tried looking in BOL, but could not find any mention of this there.










share|improve this question




























    3















    In a post on SqlServerCentral.com, it is mentioned by several people that the files for the Resource database (mssqlsystemresource.mdf and ldf) should be placed in the same folder as the master database file. This was for SQL Server 2005. Is this still a recommendation when it comes to SQL Server 2017? I tried looking in BOL, but could not find any mention of this there.










    share|improve this question
























      3












      3








      3








      In a post on SqlServerCentral.com, it is mentioned by several people that the files for the Resource database (mssqlsystemresource.mdf and ldf) should be placed in the same folder as the master database file. This was for SQL Server 2005. Is this still a recommendation when it comes to SQL Server 2017? I tried looking in BOL, but could not find any mention of this there.










      share|improve this question














      In a post on SqlServerCentral.com, it is mentioned by several people that the files for the Resource database (mssqlsystemresource.mdf and ldf) should be placed in the same folder as the master database file. This was for SQL Server 2005. Is this still a recommendation when it comes to SQL Server 2017? I tried looking in BOL, but could not find any mention of this there.







      sql-server sql-server-2017






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 23 at 12:40









      GHauanGHauan

      318214




      318214




















          2 Answers
          2






          active

          oldest

          votes


















          8














          Totally agree with what George has mentioned, just trying to shed some more light to make it clear.



          For SQL Server 2005



          You were allowed to move resource database. If you read SQL Server 2005 Master Database Document it says




          The Resource database depends on the location of the master database. If you move the master database, you must also move the Resource database to the same location.




          But this caused problem during service pack upgrade when users started moving it along with master database. The issue came while applying SP/CU which eventually failed because resource database was moved.



          For SQL Server 2008 and above.



          This was then fixed by MS and they changed the whole thing such that "user is not allowed to change resource database location" and this is why it was moved to
          <drive>:Program FilesMicrosoft SQL ServerMSSQL<version>.<instance_name>MSSQLBinnfolder along with other binaries, people normally do not touch contents of BINN folder. It's specifically in BINN folder because it does not contains any USER data only information related to SQL Server.



          Yes there was some discrepancy in BOL documents which was later fixed. I wrote an article on this please read Should We Move Resource Database



          Moral: Do not move resource database






          share|improve this answer
































            4














            According to the docs




            changing the location of the resource database is not supported or recommended.




            It would also appear that a static path is produced for the location of the resource database in the form of



            <drive>:Program FilesMicrosoft SQL ServerMSSQL<version>.<instance_name>MSSQLBinn 


            It would appear there is neither a supported path to change the locations of the resource database files, nor is it recommended to do so.






            share|improve this answer























            • Yes, I noticed that as well (maybe should have said so in my post), but in the link there is mentioned a way to move it (from BOL they say), that is why I got a bit worried. We also have an instance where the two are located in different folders and have been so for years without any problems, but I don't think we have tried upgrading inplace for such a setup. (And that is when the problems will arise according to the link.)

              – GHauan
              Apr 23 at 13:07












            • George. Your answer was helpful, but the one from Shanky was a bit more explanatory (if that is a word), so I change the accepted answer to his.

              – GHauan
              Apr 23 at 14:30











            • @GHauan absolutely no problem with that - I would suggest in future potentially make your question a bit clearer? IMO I answered the question directly.

              – George.Palacios
              Apr 23 at 15:00











            • You are right, my bad. Thank you for taking the time to answer.

              – GHauan
              yesterday











            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "182"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f235469%2fsql-server-placement-of-master-database-files-vs-resource-database-files%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            8














            Totally agree with what George has mentioned, just trying to shed some more light to make it clear.



            For SQL Server 2005



            You were allowed to move resource database. If you read SQL Server 2005 Master Database Document it says




            The Resource database depends on the location of the master database. If you move the master database, you must also move the Resource database to the same location.




            But this caused problem during service pack upgrade when users started moving it along with master database. The issue came while applying SP/CU which eventually failed because resource database was moved.



            For SQL Server 2008 and above.



            This was then fixed by MS and they changed the whole thing such that "user is not allowed to change resource database location" and this is why it was moved to
            <drive>:Program FilesMicrosoft SQL ServerMSSQL<version>.<instance_name>MSSQLBinnfolder along with other binaries, people normally do not touch contents of BINN folder. It's specifically in BINN folder because it does not contains any USER data only information related to SQL Server.



            Yes there was some discrepancy in BOL documents which was later fixed. I wrote an article on this please read Should We Move Resource Database



            Moral: Do not move resource database






            share|improve this answer





























              8














              Totally agree with what George has mentioned, just trying to shed some more light to make it clear.



              For SQL Server 2005



              You were allowed to move resource database. If you read SQL Server 2005 Master Database Document it says




              The Resource database depends on the location of the master database. If you move the master database, you must also move the Resource database to the same location.




              But this caused problem during service pack upgrade when users started moving it along with master database. The issue came while applying SP/CU which eventually failed because resource database was moved.



              For SQL Server 2008 and above.



              This was then fixed by MS and they changed the whole thing such that "user is not allowed to change resource database location" and this is why it was moved to
              <drive>:Program FilesMicrosoft SQL ServerMSSQL<version>.<instance_name>MSSQLBinnfolder along with other binaries, people normally do not touch contents of BINN folder. It's specifically in BINN folder because it does not contains any USER data only information related to SQL Server.



              Yes there was some discrepancy in BOL documents which was later fixed. I wrote an article on this please read Should We Move Resource Database



              Moral: Do not move resource database






              share|improve this answer



























                8












                8








                8







                Totally agree with what George has mentioned, just trying to shed some more light to make it clear.



                For SQL Server 2005



                You were allowed to move resource database. If you read SQL Server 2005 Master Database Document it says




                The Resource database depends on the location of the master database. If you move the master database, you must also move the Resource database to the same location.




                But this caused problem during service pack upgrade when users started moving it along with master database. The issue came while applying SP/CU which eventually failed because resource database was moved.



                For SQL Server 2008 and above.



                This was then fixed by MS and they changed the whole thing such that "user is not allowed to change resource database location" and this is why it was moved to
                <drive>:Program FilesMicrosoft SQL ServerMSSQL<version>.<instance_name>MSSQLBinnfolder along with other binaries, people normally do not touch contents of BINN folder. It's specifically in BINN folder because it does not contains any USER data only information related to SQL Server.



                Yes there was some discrepancy in BOL documents which was later fixed. I wrote an article on this please read Should We Move Resource Database



                Moral: Do not move resource database






                share|improve this answer















                Totally agree with what George has mentioned, just trying to shed some more light to make it clear.



                For SQL Server 2005



                You were allowed to move resource database. If you read SQL Server 2005 Master Database Document it says




                The Resource database depends on the location of the master database. If you move the master database, you must also move the Resource database to the same location.




                But this caused problem during service pack upgrade when users started moving it along with master database. The issue came while applying SP/CU which eventually failed because resource database was moved.



                For SQL Server 2008 and above.



                This was then fixed by MS and they changed the whole thing such that "user is not allowed to change resource database location" and this is why it was moved to
                <drive>:Program FilesMicrosoft SQL ServerMSSQL<version>.<instance_name>MSSQLBinnfolder along with other binaries, people normally do not touch contents of BINN folder. It's specifically in BINN folder because it does not contains any USER data only information related to SQL Server.



                Yes there was some discrepancy in BOL documents which was later fixed. I wrote an article on this please read Should We Move Resource Database



                Moral: Do not move resource database







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 23 at 13:26

























                answered Apr 23 at 13:19









                ShankyShanky

                14.7k32144




                14.7k32144























                    4














                    According to the docs




                    changing the location of the resource database is not supported or recommended.




                    It would also appear that a static path is produced for the location of the resource database in the form of



                    <drive>:Program FilesMicrosoft SQL ServerMSSQL<version>.<instance_name>MSSQLBinn 


                    It would appear there is neither a supported path to change the locations of the resource database files, nor is it recommended to do so.






                    share|improve this answer























                    • Yes, I noticed that as well (maybe should have said so in my post), but in the link there is mentioned a way to move it (from BOL they say), that is why I got a bit worried. We also have an instance where the two are located in different folders and have been so for years without any problems, but I don't think we have tried upgrading inplace for such a setup. (And that is when the problems will arise according to the link.)

                      – GHauan
                      Apr 23 at 13:07












                    • George. Your answer was helpful, but the one from Shanky was a bit more explanatory (if that is a word), so I change the accepted answer to his.

                      – GHauan
                      Apr 23 at 14:30











                    • @GHauan absolutely no problem with that - I would suggest in future potentially make your question a bit clearer? IMO I answered the question directly.

                      – George.Palacios
                      Apr 23 at 15:00











                    • You are right, my bad. Thank you for taking the time to answer.

                      – GHauan
                      yesterday















                    4














                    According to the docs




                    changing the location of the resource database is not supported or recommended.




                    It would also appear that a static path is produced for the location of the resource database in the form of



                    <drive>:Program FilesMicrosoft SQL ServerMSSQL<version>.<instance_name>MSSQLBinn 


                    It would appear there is neither a supported path to change the locations of the resource database files, nor is it recommended to do so.






                    share|improve this answer























                    • Yes, I noticed that as well (maybe should have said so in my post), but in the link there is mentioned a way to move it (from BOL they say), that is why I got a bit worried. We also have an instance where the two are located in different folders and have been so for years without any problems, but I don't think we have tried upgrading inplace for such a setup. (And that is when the problems will arise according to the link.)

                      – GHauan
                      Apr 23 at 13:07












                    • George. Your answer was helpful, but the one from Shanky was a bit more explanatory (if that is a word), so I change the accepted answer to his.

                      – GHauan
                      Apr 23 at 14:30











                    • @GHauan absolutely no problem with that - I would suggest in future potentially make your question a bit clearer? IMO I answered the question directly.

                      – George.Palacios
                      Apr 23 at 15:00











                    • You are right, my bad. Thank you for taking the time to answer.

                      – GHauan
                      yesterday













                    4












                    4








                    4







                    According to the docs




                    changing the location of the resource database is not supported or recommended.




                    It would also appear that a static path is produced for the location of the resource database in the form of



                    <drive>:Program FilesMicrosoft SQL ServerMSSQL<version>.<instance_name>MSSQLBinn 


                    It would appear there is neither a supported path to change the locations of the resource database files, nor is it recommended to do so.






                    share|improve this answer













                    According to the docs




                    changing the location of the resource database is not supported or recommended.




                    It would also appear that a static path is produced for the location of the resource database in the form of



                    <drive>:Program FilesMicrosoft SQL ServerMSSQL<version>.<instance_name>MSSQLBinn 


                    It would appear there is neither a supported path to change the locations of the resource database files, nor is it recommended to do so.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Apr 23 at 12:45









                    George.PalaciosGeorge.Palacios

                    2,765826




                    2,765826












                    • Yes, I noticed that as well (maybe should have said so in my post), but in the link there is mentioned a way to move it (from BOL they say), that is why I got a bit worried. We also have an instance where the two are located in different folders and have been so for years without any problems, but I don't think we have tried upgrading inplace for such a setup. (And that is when the problems will arise according to the link.)

                      – GHauan
                      Apr 23 at 13:07












                    • George. Your answer was helpful, but the one from Shanky was a bit more explanatory (if that is a word), so I change the accepted answer to his.

                      – GHauan
                      Apr 23 at 14:30











                    • @GHauan absolutely no problem with that - I would suggest in future potentially make your question a bit clearer? IMO I answered the question directly.

                      – George.Palacios
                      Apr 23 at 15:00











                    • You are right, my bad. Thank you for taking the time to answer.

                      – GHauan
                      yesterday

















                    • Yes, I noticed that as well (maybe should have said so in my post), but in the link there is mentioned a way to move it (from BOL they say), that is why I got a bit worried. We also have an instance where the two are located in different folders and have been so for years without any problems, but I don't think we have tried upgrading inplace for such a setup. (And that is when the problems will arise according to the link.)

                      – GHauan
                      Apr 23 at 13:07












                    • George. Your answer was helpful, but the one from Shanky was a bit more explanatory (if that is a word), so I change the accepted answer to his.

                      – GHauan
                      Apr 23 at 14:30











                    • @GHauan absolutely no problem with that - I would suggest in future potentially make your question a bit clearer? IMO I answered the question directly.

                      – George.Palacios
                      Apr 23 at 15:00











                    • You are right, my bad. Thank you for taking the time to answer.

                      – GHauan
                      yesterday
















                    Yes, I noticed that as well (maybe should have said so in my post), but in the link there is mentioned a way to move it (from BOL they say), that is why I got a bit worried. We also have an instance where the two are located in different folders and have been so for years without any problems, but I don't think we have tried upgrading inplace for such a setup. (And that is when the problems will arise according to the link.)

                    – GHauan
                    Apr 23 at 13:07






                    Yes, I noticed that as well (maybe should have said so in my post), but in the link there is mentioned a way to move it (from BOL they say), that is why I got a bit worried. We also have an instance where the two are located in different folders and have been so for years without any problems, but I don't think we have tried upgrading inplace for such a setup. (And that is when the problems will arise according to the link.)

                    – GHauan
                    Apr 23 at 13:07














                    George. Your answer was helpful, but the one from Shanky was a bit more explanatory (if that is a word), so I change the accepted answer to his.

                    – GHauan
                    Apr 23 at 14:30





                    George. Your answer was helpful, but the one from Shanky was a bit more explanatory (if that is a word), so I change the accepted answer to his.

                    – GHauan
                    Apr 23 at 14:30













                    @GHauan absolutely no problem with that - I would suggest in future potentially make your question a bit clearer? IMO I answered the question directly.

                    – George.Palacios
                    Apr 23 at 15:00





                    @GHauan absolutely no problem with that - I would suggest in future potentially make your question a bit clearer? IMO I answered the question directly.

                    – George.Palacios
                    Apr 23 at 15:00













                    You are right, my bad. Thank you for taking the time to answer.

                    – GHauan
                    yesterday





                    You are right, my bad. Thank you for taking the time to answer.

                    – GHauan
                    yesterday

















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Database Administrators Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f235469%2fsql-server-placement-of-master-database-files-vs-resource-database-files%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                    Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                    Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림