الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Instance_name & Database Name

Featured Replies

بتاريخ:

Salam

Ihave problem on my database
the database name is defrent of instsnce name as the follwoing
when i did the query to get sid name
select name from v$database
Name PROD

AND WHEN Idid query to get instance name as the following i get difference name
select instance_name from v$instancce
Name orcl
and i checked the pfile and spfile all ok
please i need you help

بتاريخ:
  • كاتب الموضوع

Any update

بتاريخ:

أخي الفاضل

صعب أن يكون هناك any update لو كتبت في رمضان 7 مساءا وتريد أن يرد أحد قبل الصباح

عموما لا أري أي مشكلة فيما كتبت ف SID Name ليس هو DB Name وكونهما مختلفين عن بعض ليس مشكلة

واليك بعض المفاهيم

SID = identifies the database instance

بعض الاحيان يسمي باسم قاعدة البيانات مضاف اليه رقم Instance فلو اسم قاعدة البيانات PROD ممكن ان تجده PROD2

DB Name = Name of the database (database can be shared b/t multiple instances)

DB Domain = Usually the same as your company domain (somecompany.com)

Global Database Name = Database name + database domain (somedb.somecompany.com)

Service Name = A "connector" to one or more instances. It is often useful to create additional service names in a RAC environment since the service can be modified to use particular SIDs as primary or secondary connections, or to not use certain SIDs at all.

Service Alias = An alias to the service name (just like a CNAME, etc). Say you make your service name something meaningful to the dba, but perhaps it's a bit esoteric. Create a service alias and name it something that will be meaningful to the user.

Instance name = same as SID


اذن ليس لديك ادني مشكلة وكل عام وانتم بخير بمناسبة عيد الفطر المبارك

بتاريخ:
  • كاتب الموضوع

جزاكم الله خير

طيب ازاى اقدراجعل instacne name اسمه زى database name

يعنى instacne name يكون اسمه PROD هو دخ سؤالى

وجزاكم الله خير.

بحتث عن الموضوع ووجدت انه من الممكن التغير فى ال Controlfile

ارجوا من الاخ ماجد التوضيح والافادة

بتاريخ:

لا حاجة لهذا التعقيد

يمكنك ببساطة اتباع ما يلي

1. shutdown instance.
2. edit initial parameter init<sid>.ora , put new instance name on "instance_name" entry.
3. export ORACLE_SID=<new instance name>.
4. connect using sqlplus, startup instance.

ولتغيير Global Name
'alter database rename global_name to <whatever>;

بالتوفيق

بتاريخ:
  • كاتب الموضوع

جربت لم يتغير شى عدلت instance name on pfile

ولا زلت instance name orcl

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.