بتاريخ: 25 ديسمبر 200619 سنة comment_87788 اخواني اخواتي السلام عليكم ورحمة الله وبركاتة وبعدياليت يااخوان اللي يعرف عمل الاكواد التالية لايبخل علي مع التوضيحشاكر ومقدر حسن تعااااااااااااااونكماخوكـــــــم ....................................الو11111فــي ALTER SYSTEM SWITCH LOGFILE; ALTER SYSTEM ARCHIVE LOG START;ALTER SYSTEM ARCHIVE LOG STOP;ALTER SYSTEM ARCHIVE LOG ALL;ALTER SYSTEM ARCHIVE LOG THREAD 1 ALL;ALTER SYSTEM ARCHIVE LOG ALL TO 'C:\oracle\allarch';ALTER SYSTEM ENABLE RESTRICTED SESSION;ALTER SYSTEM DISABLE RESTRICTED SESSION;ALTER SYSTEM SUSPEND;ALTER SYSTEM QUIESCE RESTRICTED;ALTER SYSTEM UNQUIESCE;ALTER SYSTEM RESUME;ALTER SYSTEM FLUSH SHARED_POOL;ALTER SYSTEM FLUSH BUFFER_CACHE; تم تعديل 25 ديسمبر 200619 سنة بواسطة الو11111في تقديم بلاغ
بتاريخ: 26 ديسمبر 200619 سنة comment_87798 ALTER SYSTEM PurposeUse the ALTER SYSTEM statement to dynamically alter your Oracle Databaseinstance. The settings stay in effect as long as the database is mounted.Syntax Symanticarchive_log_clauseThe archive_log_clause manually archives redo log files or enables or disablesautomatic archiving. To use this clause, your instance must have the databasemounted. The database can be either open or closed unless otherwise noted.INSTANCE ClauseThis clause is relevant only if you are using Oracle Database with the RealApplication Clusters option. Specify the name of the instance for which you wantthe redo log file group to be archived. The instance name is a string of up to 80characters. Oracle Database automatically determines the thread that is mapped tothe specified instance and archives the corresponding redo log file group. If nothread is mapped to the specified instance, then Oracle Database returns an error.THREAD ClauseThis clause has been deprecated, because the INSTANCE clause achieves the samepurpose and is easier to use. The THREAD clause is supported for backwardcompatibility. Specify the number of the thread containing the redo log file group tobe archived.SEQUENCE ClauseSpecify SEQUENCE to manually archive the online redo log file group identified bythe log sequence number integer in the specified thread. If you omit the THREADparameter, then Oracle Database archives the specified group from the threadassigned to your instance.CHANGE ClauseSpecify CHANGE to manually archive the online redo log file group containing theredo log entry with the system change number (SCN) specified by integer in thespecified thread. If the SCN is in the current redo log file group, then OracleDatabase performs a log switch. If you omit the THREAD parameter, then OracleDatabase archives the groups containing this SCN from all enabled threads.You can use this clause only when your instance has the database open.CURRENT ClauseSpecify CURRENT to manually archive the current redo log file group of thespecified thread, forcing a log switch. If you omit the THREAD parameter, thenOracle Database archives all redo log file groups from all enabled threads, includinglogs previous to current logs. You can specify CURRENT only when the database isopen.NOSWITCH Specify NOSWITCH if you want to manually archive the current redolog file group without forcing a log switch. This setting is used primarily withstandby databases to prevent data divergence when the primary database shutsdown. Divergence implies the possibility of data loss in case of primary databasefailure.You can use the NOSWITCH clause only when your instance has the databasemounted but not open. If the database is open, then this operation closes thedatabase automatically. You must then manually shut down the database beforeyou can reopen it.GROUP ClauseSpecify GROUP to manually archive the online redo log file group with the GROUPvalue specified by integer. You can determine the GROUP value for a redo log filegroup by querying the data dictionary view DBA_LOG_GROUPS. If you specify boththe THREAD and GROUP parameters, then the specified redo log file group must bein the specified thread.LOGFILE ClauseSpecify LOGFILE to manually archive the online redo log file group containing theredo log file member identified by 'filename'. If you specify both the THREAD andLOGFILE parameters, then the specified redo log file group must be in the specifiedthread.If the database was mounted with a backup controlfile, then specify USING BACKUPCONTROLFILE to permit archiving of all online logfiles, including the currentlogfile.Restriction on the LOGFILE clause You must archive redo log file groups in theorder in which they are filled. If you specify a redo log file group for archiving withthe LOGFILE parameter, and earlier redo log file groups are not yet archived, thenOracle Database returns an error.NEXT ClauseSpecify NEXT to manually archive the next online redo log file group from thespecified thread that is full but has not yet been archived. If you omit the THREADparameter, then Oracle Database archives the earliest unarchived redo log file groupfrom any enabled thread.ALL ClauseSpecify ALL to manually archive all online redo log file groups from the specifiedthread that are full but have not been archived. If you omit the THREAD parameter,then Oracle Database archives all full unarchived redo log file groups from allenabled threads.START ClauseIn earlier releases, this clause enabled automatic archiving of redo log file groupsfor the thread assigned to your instance. This clause has been deprecated, becauseOracle Database automatically enables automatic archiving of redo log file groups.This clause has no effect. If you specify it, Oracle Database writes a message to thealert log.TO location ClauseSpecify TO 'location' to indicate the primary location to which the redo log filegroups are archived. The value of this parameter must be a fully specified filelocation following the conventions of your operating system. If you omit thisparameter, then Oracle Database archives the redo log file group to the locationspecified by the initialization parameters LOG_ARCHIVE_DEST or LOG_ARCHIVE_DEST_n.STOP ClauseIn earlier releases, this clause disabled automatic archiving of redo log file groupsfor the thread assigned to your instance. This clause has been deprecated. It has noeffect, and if you specify it, Oracle Database writes a message to the alert log.checkpoint_clauseSpecify CHECKPOINT to explicitly force Oracle Database to perform a checkpoint,ensuring that all changes made by committed transactions are written to datafileson disk. You can specify this clause only when your instance has the database open.Oracle Database does not return control to you until the checkpoint is complete.GLOBAL In a Real Application Clusters environment, this setting causes OracleDatabase to perform a checkpoint for all instances that have opened the database.This is the default.LOCAL In a Real Application Clusters environment, this setting causes OracleDatabase to perform a checkpoint only for the thread of redo log file groups for theinstance from which you issue the statement. تم تعديل 26 ديسمبر 200619 سنة بواسطة moody_4u تقديم بلاغ
بتاريخ: 26 ديسمبر 200619 سنة كاتب الموضوع comment_87944 اشكرك اخي الكريم على الرد لكن ارجو توضيح كل كود على حدة وبالعربي اذا تكرمتشاكر لكم تعاونكم تقديم بلاغ
بتاريخ: 28 ديسمبر 200619 سنة كاتب الموضوع comment_88080 معقوووووووووووووووووووووول !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! تقديم بلاغ
بتاريخ: 28 ديسمبر 200619 سنة كاتب الموضوع comment_88115 ارجوووووووووووووووووكم وضحولي بالعرببببببببببببببببببببببببببببي تقديم بلاغ
بتاريخ: 2 يناير 200719 سنة كاتب الموضوع comment_88319 وين الناس الفاهم في الاوركل رجااااااااااااااااااااااااااااااااااااااء خاااااااااااااااااااااااااااااااااااااااااااص تقديم بلاغ
بتاريخ: 2 يناير 200719 سنة comment_88320 اخوي موضوع الشرح بالعربي يمكن يكون صعب في بعض المواضيعبعدين كونك dba يعني ان لغتك المفروض تكون قوية او لازم تقوي لغتك الانجليزية لان كل المواضيع والمراجع القوية لن تجد لها نصا عربيابعض المصطلحات حين تحاول تفسيرها الى العربية تفقد معناها ويصبح الشرح فيها صعباعلى العموم سوف ابحث لك عن شرح مبسط لهذه الاوامرتحياتي تقديم بلاغ
بتاريخ: 2 يناير 200719 سنة comment_88324 حاولت ايجاد موضوع اسهل لكي يفيدكوهذا هو افضل ما حصلت عليهطريقة سهلة واللغة بسيطةhttp://www.adp-gmbh.ch/ora/sql/alter_system.htmlارجو الفائدة اخويتحياتي تقديم بلاغ
بتاريخ: 5 يناير 200719 سنة كاتب الموضوع comment_88490 مشكووووووووووووووور اخوي moody_4uالله يعطيك العافية تقديم بلاغ
بتاريخ: 8 يناير 200719 سنة comment_88697 السلام عليكم ابحاول اشرح الاورامر قدر المستطاع بالعربيALTER SYSTEM SWITCH LOGFILE;هذا الامر لتغير الريدو لوق (redo log) من الملف الحالي الي التالي ALTER SYSTEM ARCHIVE LOG START;هذا الا مر لبدء الارشفه الاتومتيكية لجميع ملفات التسجيل يعني بالعربي ما تحتاج انك تعمل ارشفه لكل ملف تسجيل بعد ما يذهب النظام للملف الاخر وهذا الافضل عند وضع قواعد البيانات في وضع الارشفهALTER SYSTEM ARCHIVE LOG STOP;هذا الامر لتوقيف الارشفه الاتوماتيكيه يعني انك تحتاج انك تعمل ارشفه لكل ملف تسجيل يدويALTER SYSTEM ARCHIVE LOG ALL;هذا الامر تحتاجه عند الارشفه اليدويه وهذا المثال لتوضيح الفرق بين الارشفه اليدويه والاتومتيكيه(لاكن يجب ان تكون قواعد البيانات في وضع الارشفه):1-ادخل الsqlplus كا system او sys2- نفذ alter system archive log start3-نفذ alter system switch logfile اربع مرات4-الان شيك علي مكان الارشفه تبي تحصل ملفات وتقدر تشيك علي موقع الملفات بالامر التالي archive log list5-الان غير الارشفه لتجعلها يدوية بالامر التالي alter system archive log stop6-اعد الخطوة 3 .7- سوف تلاحظ ان مع الامر الثالث يهنق معاك8-افتح sqlplus اخر ونفذ الامر التالي alter system archive log all9-ارجع لاول وسوف تجده رجع لك.ALTER SYSTEM ENABLE RESTRICTED SESSION;هذا الامر لسماح فقط للمستخدمين الي معهم صلاحية restrictedللاتصال بقواعد البييانات وتستخدم في حالة الصيانةALTER SYSTEM DISABLE RESTRICTED SESSION;وهذا لالغاء والسماح لجميع المستخدمين بالاتصال بقواعد البيانات;ALTER SYSTEM FLUSH SHARED_POOL;هذا لتفريغ الشيرد بولALTER SYSTEM FLUSH BUFFER_CACHEوهذا لتفريغ البفر كاش تقديم بلاغ
بتاريخ: 20 فبراير 200719 سنة كاتب الموضوع comment_92334 الله يعطيك العافية اخوي KSA_Admin وآآآآآآآآسف على التأخير ياغاليمشكور على الشرح الله يطول عمرك تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.