DBMS_STATS Metalinks Notes
Note:102334.1 Subject: How to Automate Change Based Statistic Gathering – Monitoring Tables
Note:102334.1 Subject: How to Automate Change Based Statistic Gathering – Monitoring Tables
select /*+ USE_NL(A,B) INDEX(a ATS_FLORIST_FITTYPE_I)*/ a.FIT_ID from ATS_FLORISTS a,ATS_FLORISTS_TRACKING b where b.FIN_PROC = ‘N’ AND b.OLD_FRESH_PAY = ‘Y’ and b.NEW_FRESH_PAY=’N’ and a.FIT_TYPE=’P’ and a.ID= b.fit_id
If your index is NONUNIQUE, you cant enforce Index Unique Scan.
One test case today i found with copy command. When we are using sqlplus copy command with “APPEND” clause, and if source table contains any NUMBER datatype without Precision and Scale, then COPY statement fails with error indicating “NUMERIC ERROR and Number data type precision is higher than 38 digit”.
For Index ( Range Scan and Fast Full Scan Setings )in query (1) RULE uses index range scan (2) CBO uses Index fast full scan ( called Index FFS ) Here CBO uses multi block IO reading as per db_file_multi_block_read_count). By default, the CBO costs physical IO and logical IO the same. So it ignores…
Read More “Optimizer_Index init.ora parameter explaination.” »
Executing CTAS statement having TO_LOB(LONG COLUMN). For example: create table blah as select GNT_ID.nextval, 1060 as gnt_ref_id, org.gnt_id, org.gnt_group_note, org.gnt_language, to_lob(org.gnt_text_string) as gnt_text_string, org.gnt_text_emphasize from asra_002.gnt_groupnote_txt org where org.gnt_group_note in (select gnr_note from asra_002.gnr_groupnote_ref)
How to Copy Data from a Table with a LONG Column into an Existing Table ======================================================================= Purpose: ======== The purpose of this article is to provide a working example of how to COPY data from a table with a LONG column into another existing table with the same structure definition. This document is especially useful…
/* file : 1 at_command_syntax */ at 00:00 /every:M,T,W,TH,F,S,SU “C:Pvmehsqlfilesftp01.bat” at 09:00 /every:M,T,W,TH,F,S,SU “C:Pvmehsqlfilesftp01.bat” at 12:00 /every:M,T,W,TH,F,S,SU “C:Pvmehsqlfilesftp01.bat” at 15:00 /every:M,T,W,TH,F,S,SU “C:Pvmehsqlfilesftp01.bat” at 18:00 /every:M,T,W,TH,F,S,SU “C:Pvmehsqlfilesftp01.bat” at 21:00 /every:M,T,W,TH,F,S,SU “C:Pvmehsqlfilesftp01.bat” /* file : 2 my.cmd */ open ftp.pvmehta.com pvmehta nupur46 lcd C:pvmehdoc1Z0-030 put oracle_9i_upgrade_certification.htm close open ftp.pvmehta.com pvmehta nupur46 lcd c:websitepvmehtacgi-bin cd cgi-bin get PERLMYSQL.txt…
Real Application Cluster = OPS in previous oracle versions
Download for free from http://prdownloads.sourceforge.net/blat/Blat250.zip?use_mirror=voxel and installed using following command. Blat -installSMTP mail.pvmehta.com me@pvmehta.com After that i sent a text message using following command. F:UsefulBlat250Blat250full>blat – -body “test” -to me@pvmehta.com Blat v2.5.0 w/GSS encryption (build : Sep 14 2005 22:46:29) Sending stdin.txt to me@pvmehta.com Login name is me@pvmehta.com F:UsefulBlat250Blat250full>