00|Oracle learning (uninstall, install, create & delete database/database instance)

Oracle 12c uninstall

1 If the database is configured with automatic storage management (ASM), first delete the clustering synchronization service CSS. DOS command:

localconfig delete

2 Enter the Task Manager (ctrl+shift+Esc), and shut down all running Oracle processes.
3 In the start menu, find Oracle-related files, find "Universal Installer" in it, and click to uninstall.
4 Delete Automatic Storage Management (ASM), DOS command:

oracle -delete -asnsid +asm

5 delete registry

  • Press windows+R, enter regeditinsert image description here
  • Delete the value containing Oracle in Path and Class Path in the environment variable
  • Remove the Oracle icon
  • Delete all directories related to Oracle.


An Oracle database instance is an independent process (service) single-instance database that runs on the Oracle server side to accept user requests and provide responses . An Oracle database usually corresponds to an Oracle instance.
In a parallel database system, an Oracle database can correspond to multiple Oracle instances. (Multiple Oracle instances operate on the database)

Check whether an Oracle instance is created by default

  • windows+R, enter services.msc
  • Check whether OracleServiceORCL appears
    • ORCL is an instance created by the system itself
    • If you do not find ORCL, it means that you do not have an Oracle database and no corresponding instance, so you cannot accept user requests. At this point, we need to create it ourselves.

Create an Oracle database

  • Find the Oracle file in the menu, there is Database Configuration Assistant in it, click.
    insert image description here
  • This tool has functions such as creating a database and configuring a database.
  • insert image description here

Delete the Oracle database

  • In the start menu, find the Oracle file, find the Database Configuration Assistant in it, and click to delete the database
    • insert image description here
  • Windows+R, enter services.msc to see if the related instance is deleted.

Guess you like

Origin blog.csdn.net/qq_41714549/article/details/131985031