1. Install glance Pak (the measureware tool included in glance Pak For performance analysis)
Check whether glance Pak has been installed. Check the two license files/var/opt/perf/gkey and mwakey. We recommend that you back up these two files, you can avoid the problem that codeword cannot be installed when you reinstall glance. You can directly install the trial version and copy the two original files to overwrite it to the official version. In addition, when you reinstall glance Pak, you need t
. object_name and owner = sp. object_owner) "rows | blocks | pool" from V $ SQL _plan sp where Operation = 'table access' and Options = 'full' and object_owner in ('zlhis ') order by 1, 2;
3. display the read data volume (bytes)Select to_char (sysdate, 'yyyymm') as tjyf, A. object_owner, A. object_name, C. Bytes/1024/1024, sum (B. Executions)From(Select object_owner, object_name, hash_valueFrom v $ SQL _planWhere object_owner not in ('sys ', 'system', 'dbsnmp', 'outln ', '
as WIO only when the CPU is changed in Aix 4.3.3. When only a small number of threads are performing I/O and other parts of the system are idle, this method can report much lower WIO time. For example, a system with four CPUs and a thread in the I/O process will report a maximum of 25% WIO time. The system with 12 CPUs and a thread in the I/O process only reports the maximum WIO time of 8%. The NFS client reads/writes data through vmm. The time that biods spends in vmm waiting for I/O completio
'(6) analyze the system status, preferably once every 10 minutes for three comparisonsAlter session set events 'immediate trace name systemstate level 10'(7) analyze the process statusAlter session set events 'immediate trace name processstate level 10'(8) analyze the details of the library CacheAlter session set events 'immediate trace name library_cache level 10'
55. Does the Hang remain unchanged during link pending... during Oracle installation?You need to set the variable ld_assume_kernel =
to 30 minutes, and export the perfstat user using the exp tool before the specific upgrade, refer to Metalink Document Note: 466350.1 to introduce how to compare the Statspack snapshots before and after the upgrade.
Use AWR auto load repository performance reports in Oracle 10g/11g to ensure that snapshots are collected for about 30 days. The interval between snapshots should be 30-60 minutes; then, you can use the dbms_swrf_internal.awr_extract sto
.
SQL> select username, default_tablespace defspace from dba_users where
Usernae = 'test ';
USERNAME DEFSPACE
-----------
TEST RING
However, once the system's default tablespace is modified, the default tablespace of all common users will be specified as this tablespace. In the preceding example, test1, the default tablespace is ringidx when it is created. After 'alter database default tablespace ring' is executed, its default tablespace is changed to ring.
SQL> select username, default_tablespa
1102 22 April 2013 14:00 1
Specify the Begin and end Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/
Enter value for Begin_snap: 1074
Begin Snapshot Id specified:1074
Enter value for End_snap: 1076
Specifies the name of the report.
Enter value for Report_name: s:/ocpyang.html
Common errors
Note: Enter the report name and the carriage return appears ORA-00904:: Invalid identified valu
the table section and the index section
1. View the archive mode of the database
For questions about setting the log archive mode, refer to:
Oracle Online redo log files (online log file)
Oracle Archive Logs
Sys@orcl> select log_mode,force_logging from V$database;
Log_mode for
------------ ---
Archivelog NO
sys@orcl> archive log list;
Database Log Mode Archive mode
Automatic Archival Enabled
Archive Destination/u01/bk/arch
Oldest online log sequence 50
Next log sequence to archive
where
Username= ' TEST ';
USERNAME Defspace
-------------- ----------------
TEST Ring
Note, however, that once the system default table space has been modified, the default tablespace for all normal users will be specified as the tablespace, as in the example above, when test1 specified his default tablespace as RINGIDX and executed ' ALTER DATABASE default Tablespace ring ', his default table space was also changed to ring.
Sql> Select Username, default_tablespace defspace from Dba_users where
,dbname is sid,name and dbuser corresponding to the schemal,tnsname and SID can be directly from the Dbhostgroup table to take out. Schemal can use the method to take out:
Select lower (username) Username from dba_users where username not in (' Stdbyperf ', ' READONLY ', ' Appqossys ', ' anysql ',
' Dbflash ', ' SYS ', ' SYSTEM ', ' MONITOR ', ' tbsearch ', ' MANAGER ', ' Sysman ', ' Exfsys ', ' Wmsys ', ' DIP ', ' Tsmsys ', ' oracle_ocm ', ' Outln ', ' dbsnmp ', '
Tags: starting block mit system table Taf default cannot be usefulA few days ago the teacher arranged a task to import a 50G dmp file into our Oracle server. Because I practiced this before, I thought it was a relatively simple thing. Just try to use the Plsql directly to the server guide AH. Log in to the server with the DBA, add new users, assign permissions to the user, increase the table space (adaptive growth), and then I log in to the new user to start importing DMP files, who knows the di
configuration0. Only dependent on JDK 7 and above.1. Create a storage table structure and userMySQL Client login database, execute apache-tomcat-7.0.69-mysqlawr\deploy\com.medsoft.perfstat-1.0.4-snapshot\initsql\ Perfstat-db-init.sql.2. Configure the MySQL instance to monitorDouble-click apache-tomcat-7.0.69-mysqlawr/bin/startup.sh (Linux) or Startup.bat (Windows) to start the MYSQLAWR monitoring server.HTTP://IP:8080 can open the main page, such asC
defspace from dba_users where
Username = 'test ';
USERNAME DEFSPACE
-----------
TEST RING
However, once the system's default tablespace is modified, the default tablespace of all common users will be specified as this tablespace. In the preceding example, test1, the default tablespace is ringidx when it is created. After 'alter database default tablespace ring' is executed, its default tablespace is changed to ring.
SQL> select username, default_tablespace defspace from dba_users where
Username
built-in users. Want to know if the database administrator is diligent enough? Here is a way to find the answer. Check whether the following common preset usernames and passwords can be used to log on to the database:
Username Password
Applsys apps
Ctxsys change_on_install
Dbsnmp
Outln
Owa
Perfstat
Scott tiger
System change_on_install
System manager
Sys change_on_install
Sys manager
Even if the database administrator has worked hard to change these d
connection to the database.
Oracle example users: HR, OE, PM, SH, QS_ADM, QS, QS_WS, QS_ES, QS_ OS, QS_CBADM, QS_CB, QS_CS
It is only an example for oracle and is useless;
DBSNMP: the Intelligent Agent responsible for running the Oracle System, which is rarely used in practice and rarely used;
OUTLN: used to store Outlines. It can be locked when not in use and opened again when used;
MDSYS, ORDSYS, CTXSYS, ORDPLUGINS: used to support oracle Intermedia, which is locked by default;
WMSYS: used to
database.The following is a script that enables the monitoring of all indexes in a system:Set pages 999;Set heading off;Spoolrun_monitor. SQLSelect'Alter Index' | owner | '.' | index_name | 'monitoring usage ;'FromDba_indexesWhereOwner not in ('sys ', 'system', 'perfstat ');Spool off;@ Run_monitorWait for a while until enough SQL statements are run on the database, and then you can query the new V $ OBJECT_USAGE view.SelectIndex_name,Table_name,Mon,U
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.