بتاريخ: 13 يناير 201412 سنة comment_245438 شباب عندي داتا بيز كبيرة فيها حوالي المليار ركورد وتنفيذ عمليات ال DML او حتى اذا بدي عدد عدد الاعضاء المسجلين عندي الاكتف بياخود وقت كتير كتير كتير طويل بدي طرق او trick لنسرع العملية قدر المستطاع ممكن حدا يساعدني بالموضوع يعطني افكار مها كانت بسيطة او يدلني على موضيع للقراء ومشكورين الكل تم تعديل 13 يناير 201412 سنة بواسطة ghost_j1 تقديم بلاغ
بتاريخ: 18 يناير 201412 سنة comment_245604 السلام عليكم. 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! تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.