Diosco
het Struweel 51 5501 AP Veldhoven tel nr.:06-29119286 E-mail : info@diosco.com |
|
Problem
: . During the execution of a critical application patch that should be executed on production we saw some dropping of columns of very large tables. The problem with executing these statement where that the action would exceed the time window the patch could be deployed. The solution was to defer this action at a later convenient time by the following statement. Solution : First disable column ALTER TABLE <TABLE_NAME> SET UNUSED (<COLUMN1>,<COLUMN2>); In the weekend we could physically drop the column ALTER TABLE <TABLE_NAME> DROP UNUSED COLUMNS; Problem
: Problem tracing back a query from its origin when a database link is
used. Solution
: Run the query and use the SPID on the source database to identify which
user is accessing the database via a database link SELECT /*+ ORDERED */ Manual enter text in the allert log exec dbms_system.ksdwrt(2,'ORA-20002 manual enter text in allert log file!'); Problem : set
serveroutput on size 2000 trca Trace Anakyse Installing DBCONSOLE emca -deconfig dbcontrol db -repos drop emca -config dbcontrol db -repos create -SID %ORACLE_SID% -PORT 1521 -SYS_PWD <PASSWORD> -DBCONTROL_HTTP_PORT 5501 -DBSNMP_PWD <PASSWORD> -SYSMAN_PWD <PASSWORD> -EMAIL_ADDRESS nospam@diosco.com -MAIL_SERVER_NAME smtp.disoco.com DBONSOLE disable securety (https) 1. in 10.2g dbconsole emctl unsecure dbconsole Update the DB Control standalone OC4J container to support unsecure port in the file $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_<host>_<sid>/config/http-web-site.xml Change the following lines: <web-site host="[ALL]" port="1820" Into: <web-site host="[ALL]" port="1820" Checkstatus of DB Console
|