Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

AX 2012 Model DB

Posted on by 35

Hi,
we want to get rid of some old databases... Some of them are AX 2012 Model databases.

Is there a way to make sure, no AOS is connected these instances? Maybe a SQL script or something?

Thanks in advance

Frank

  • Yuji Imaoka Profile Picture
    Yuji Imaoka on at
    RE: AX 2012 Model DB

    SysClientSession, SysServerSession table in business database might be other useful tables to check if it is used recently.

  • F. Peters2 Profile Picture
    F. Peters2 35 on at
    RE: AX 2012 Model DB

    Hi,

    thank you! Good idea :)!

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: AX 2012 Model DB

    If an AOS is connected, then you can't delete the database since it's in use.

    But that's not a very good way to determine whether the database is needed or not. The AOS might be off right now, but it's still a dev / test environment that is used.

    A model database and a business database always belong together. You could check SysServerConfig table in the business database, to find out some hints about the AOS server that is using this database. Then find out if the server is still used for dev / test purposes.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans