الانتقال إلى المحتوى
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.

مساعدة في إقتراح ... لتسريع أداء اكواد Pl اوركل

Featured Replies

بتاريخ:

شباب عندي داتا بيز كبيرة فيها حوالي المليار ركورد وتنفيذ عمليات ال DML او حتى اذا بدي عدد عدد الاعضاء المسجلين عندي الاكتف بياخود وقت كتير كتير كتير طويل

 

بدي طرق او trick لنسرع العملية قدر المستطاع  ممكن حدا يساعدني بالموضوع يعطني افكار مها كانت بسيطة او يدلني على موضيع للقراء ومشكورين الكل

تم تعديل بواسطة ghost_j1

بتاريخ:

الله يقويك يا رب انا ما زلت مبتدأ اوراكل للاسف 

بتاريخ:

السلام عليكم.

 

For slow DML(update/delete), Do your research about one of the following (try them one after the other).

 

1) Write a PLSQL procedure which will do your update/delete statement with a loop that commits after each 1000 records.

2)  Resize the UNDO_RETENTION parameter on the database (so you will not be running out of memory or having “snapshot too old” error while oracle writes to REDOLOG files)

3) Change your  big tables to a partitioned table (partition by date for example)

 

For slow Select statements :

1) Re-Tune your queries by adding "hints".

2) Check the state of your indexes, they might be invalid ! So you have to Re-build your indexes  

3) Run this statement for each big table you have  :    "Analyze table table_name compute statistics"

 

I hope this will help.  Please check this with your company's DBA first.

 

Good Luck!

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

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

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

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

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

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.