المكتبة التقنية ←

مراجعة عملية لصحة تطبيقات Oracle APEX

English version

An APEX health check should answer four questions: is the application behaving correctly, performing acceptably, enforcing access rules, and producing enough evidence to investigate failures?

Start with Advisor

Run Advisor from the application's Utilities area. Review its findings, prioritize them, and rerun the checks after fixes. Advisor inspects application metadata; it is useful for integrity and quality checks, but it does not replace execution plans, load testing, or a security review.

Watch the user journeys that matter

Choose a small set of operations: opening a dashboard, saving a request, completing an approval, and calling an external service. Record their duration and failure rate over a defined time window. Compare equivalent workloads rather than a single fastest run.

Build a useful operations dashboard

Include slow requests, application errors, unsuccessful authentication attempts, failed automations, and web-service failures where the installed version exposes those logs. Verify view names, columns, retention, and time units in the APEX Dictionary before writing queries. Scope the dashboard to the relevant workspace and application.

Alerts should identify the affected application, the time, and a correlation reference. Avoid emailing sensitive request payloads. Deduplicate repeated alerts and make ownership clear.

Editorial correction: the original post used an unverified VIEW_DURATION column and treated 3000 as three seconds. That query is intentionally replaced with a version-aware monitoring approach.

Reference: Oracle's explanation of Advisor.

النسخة العربية

الفحص الصحي لتطبيق APEX لازم يجاوب على أربع أسئلة: هل الوظائف شغالة صح؟ هل الأداء مقبول؟ هل الصلاحيات مطبقة؟ وهل فيه معلومات كفاية لتشخيص الأخطاء؟

ابدأ بـAdvisor

شغّل Advisor من Utilities، راجع النتائج وحدد أولوياتها، وبعد الإصلاح شغّله تاني. الأداة بتراجع Metadata التطبيق؛ مفيدة للجودة وسلامة المكونات، لكنها مش بديل لخطة تنفيذ SQL أو اختبار الحمل أو المراجعة الأمنية.

راقب العمليات المهمة للمستخدم

اختار عمليات واضحة: فتح Dashboard، حفظ طلب، تنفيذ موافقة، أو استدعاء خدمة خارجية. تابع المدة ونسبة الفشل خلال فترة محددة، وقارن تحت ظروف متقاربة.

اعمل Dashboard تشخيصية مفيدة

اجمع الطلبات البطيئة والأخطاء ومحاولات الدخول غير الناجحة وفشل Automations والخدمات، حسب السجلات المتاحة في إصدارك. قبل كتابة SQL، اتأكد من أسماء الـViews والأعمدة ووحدات الوقت وفترة الاحتفاظ من APEX Dictionary، وحدد التطبيق والـWorkspace المطلوبين.

التنبيه المفيد يوضح التطبيق والوقت ومرجع التتبع، من غير إرسال بيانات حساسة. امنع تكرار التنبيهات وحدد المسؤول عن متابعتها.

تصحيح تحريري: الاستعلام القديم استخدم VIEW_DURATION بدون تحقق واعتبر 3000 ثلاث ثوانٍ. استبدلته هنا بمنهج يعتمد على الأعمدة والوحدات الفعلية في الإصدار المستخدم.

المرجع: شرح Oracle لأداة Advisor.