Maximum size of a package in oracle 10g ?
Hi,
I am using Oracle 10g, version-10.1.0.4.2 and OS- Windows XP.
What should be the maximum size of a package in oracle 10g ?
Thank u....!
Ravi
http://download.oracle.com/docs/cd/B14117_01/server.101/b10755/limits003.htm#sthref3594
Nicolas.
Similar Messages
-
Error executing a package on Oracle 10G database
Hi,
I've a package on Oracle 10G database which accepts xml string as input,loads it into XMLDOM and does some processing.
When I execute this package from .Net 2.0 client,I get the following error:
**Error**
err ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00216: invalid character 0 (0x0)
Error at line 1
**Error**
But when I execute the same package from .Net client 2.0 on Oracle 9i database, it seems to work fine.The xml which I am sending is well-formed one.
Where am i going wrong?
Please help.
Thanks in advance...!
Regards,
AmitCheck the xml strings passed as input . One of the xmls may be malformed.
-
What is the maximum number of characters in an Oracle 10G Instance Name
All,
Can I know what is the maximum number of characters in an oracle 10g instance name under AIX? Is it 7 characters or 8 characters?
regards
SanthoshOne should really make the difference between db_name and instance_name: if instance_name default value is db_name it can be different
(even on a non RAC database).
For example with Oracle 10.2.0.4 you can create a database named DB78 with instance_name=DB12345678:
$ uname -a
Linux lx01.localdomain 2.6.18-92.el5 #1 SMP Fri May 23 22:17:30 EDT 2008 i686 i686 i386 GNU/Linux
$ ps -fu oracle | grep smon
oracle 6353 1 0 20:30 ? 00:00:01 ora_smon_DB12345678
oracle 6412 5596 0 20:37 pts/1 00:00:00 grep smon
$ export ORACLE_SID=DB12345678
$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 8 20:34:26 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show parameter name
NAME TYPE VALUE
db_file_name_convert string
db_name string DB78
db_unique_name string DB78
global_names boolean FALSE
instance_name string DB12345678
lock_name_space string
log_file_name_convert string
service_names string DB78I would not recommend this practice: but it's interesting to know to avoid confusing between db_name and instance_name. -
Unwrapping a Package in oracle 10g
Hi,
I would like to view the code of dbms_scheduler package in oracle 10g. When i tried to see the package body it shows me that the package has been wrapped. Could anyone let me know how to unwrap the package and see the contents.That is all you can see, no more.
SQL> desc dbms_scheduler ;
....more
FUNCTION GET_JOB_STEP_CF RETURNS RE$VARIABLE_VALUE
Argument Name Type In/Out Default?
IEC VARCHAR2 IN
ICN VARCHAR2 IN
VNAME VARCHAR2 IN
IEV RE$NV_LIST IN
PROCEDURE GET_SCHEDULER_ATTRIBUTE
Argument Name Type In/Out Default?
ATTRIBUTE VARCHAR2 IN
...moreSs -
Error while sending a mail using UTP_MAIL package in Oracle 10g
Hi,
We are using UTP_MAIL package to send a mail from Oracle 10g.We have follwed the following steps ...
SQL> connect sys/password as sysdba
Connected.
SQL> @$ORACLE_HOME/rdbms/admin/utlmail.sql
Package created.
Synonym created.
SQL> @$ORACLE_HOME /rdbms/admin/prvtmail.plb
Package body created.
SQL > alter system set smtp_out_server = '<mail_server_ip:25>' scope =spfile;
System altered..
Now we try the code
begin
utl_mail.send(
sender => 'sender's mail',
recipients => 'receiver mail',
CC => 'optional',
subject => 'Testing utl_mail',
message => 'Test Mail'
end;
But we get the following error...
ERROR at line 1:
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at "SYS.UTL_SMTP", line 21
ORA-06512: at "SYS.UTL_SMTP", line 97
ORA-06512: at "SYS.UTL_SMTP", line 139
ORA-06512: at "SYS.UTL_MAIL", line 405
ORA-06512: at "SYS.UTL_MAIL", line 594
ORA-06512: at line 2
We also tried connecting to the mail server through telnet .But it is not getting connected..
Please help us to solve the issue.From your own posting you may have the clue, if you try to access your mail server through telnet and it is not successful, it means the service is down or there are networking issues.
On pre 10gR2 versions there was a bug 4083461.8. It could affect you if you are on 10gR1
"Bug 4083461 - UTL_SMTP.OPEN_CONNECTION in shared server fails with ORA-29278 Doc ID: Note:4083461.8"
This was fixed on 10gR2 base and on 9.2.0.8.0
~ Madrid -
Error while using UTP_MAIL package in oracle 10g
Hi,
I am using the UTP_MAIL package to send a mail from oracle 10g.
I hane connected to the database as sysdba,but while setting the SMTP_SERVER_OUTPUT parameter i get the following error.
SQL> ALTER SYSTEM SET smtp_out_server='blrkecmbx02.ad.abc.com:25' scope=both;
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
Pls help to figure out a solution.This parameter is not modifiable, check the Oracle Reference: SMTP_OUT_SERVER Initialization Parameter
Try the scope=spfile instead of both.
~ Madrid -
Appropriate size for Autoextending datafile in oracle 10g
Hi,
I am using Oracle 10g 10.2.0.3.0 on linux 64 bit with 16GB RAM, one thing i want to find out that i have my schema datafile, which set on autoextend, i have set next size to 100mb, if the file reaches to its full does it make us wait for long to create a place of 100mb or should i reduce the size from 100mb to 10mb.
What should be the appropriate Next size in Autoextend for oracle database in my case, if there is a performance problem like login delay in schema due to increasing in size of datafile then how do i find out because i do not have database diagnostic tools.
Because today there was a delay in login to the schema and EM was showing wait, but i could not find out that why the wait was there, when i check the datafile size it was 1203 MB , i thought it may be due to the extension of data file but how do i confirm this thing.
In the table DBA_ADVISOR_FINDINGS it is giving following problem
Problem PL/SQL execution consumed significant database time.
Symptom Wait class "Network" was consuming significant database time.
Problem Wait event "TCP Socket (KGAS)" in wait class "Network" was consuming significant database time.Slow connect is not related with datafile extension.
Regarding Wait event "TCP Socket (KGAS)"
Please read Metalink note 416451.1
How fast is tnsping to database, ping to database server? -
Can we Restore a Dropped Package in oracle 10g
Hello,
I have dropped a pl/sql package accidantly.The database is Oracle 10g R2. Is there any way to recover it.?
Thanx.And if you don't already have source control for the code, make sure to implement it right now.
At least I now have the answer to [this question|http://forums.oracle.com/forums/thread.jspa?messageID=3370251#3370251] I was asked a while back.
Surely nobody in their right mind would ever work directly on source code saved in the database? -
Missing UTL_NLA package in Oracle 10g XE
Does Oracle 10g XE come with the UTL_NLA package or is it only available on the Standard and Enterprise edition?
I am unable to locate this package when I view the package list in SQL Developer logging in with SYS priveledges. Does anyone know?it's very possible such Analytical Feature not included in Oracle XE.
-
RE:Packages for Oracle 10g Release 2 in RHEL4
Hi ,
I am installing Oracle 10.2.0.1 in RHEL4 ? (its my first time,for learning)
Where can i find packages for installing oracle 10.2.0.1 in lunix EL4?
Am sorry i searched but couldnt find exact and dont know whether its a correct one or not ?
plz provide me a link for downloading....
I have searched a lot but am bit confused, since am new to this...
binutils-2.15.92.0.2-10.EL4
compat-db-4.1.25-9
control-center-2.8.0-12
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
glibc-2.3.4-2
glibc-common-2.3.4-2
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
TIA,Hi Alit,
Thanks for reply...
Ok but here is am confused...
Plz see this ..
http://rpm.pbone.net/index.php3?stat=26&dist=42&size=10619423&name=binutils-2.15.92.0.2-10.EL4.src.rpm
TIA, -
Configuring maximum protection mode in dataguard with oracle 10g
Dear All,
I am facing a big problem in my configuration for oracle dataguard in maximum protection mode. as per oracle documentation i have done the following.
on the primary database i configured the floowing parameter.
LOG_ARCHIVE_DEST_2='SERVICE=CDER LGWR SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=CDER'
on the standby i configured the following parameters.
LOG_ARCHIVE_DEST_2='SERVICE=REDC LGWR SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=REDC'
i created standby redo logs on the standby database as per documentation.
I shut down the primary database and started it in mount stage and i executed the following commands.
SQL> ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE PROTECTION
after database was sucessfully alterd, i execute it the following command to open the database.
SQL > ALTER DATABASE OPEN;
what is happening is that i am recieving the Error end of communication channel and also after i look at the log file the following error is in place
Thu Jul 22 23:33:37 2010
Errors in file c:\oracle\product\10.2.0\admin\redc\bdump\redc_psp0_1088.trc:
ORA-16072: a minimum of one standby database destination is required
though when i reset the dataguard to maximize performance it work really successful and the database open;
please guys guide me through thisyou got it
redc.__db_cache_size=1056964608
redc.__java_pool_size=16777216
redc.__large_pool_size=16777216
redc.__shared_pool_size=318767104
redc.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0\admin\REDC\adump'
*.background_dump_dest='C:\oracle\product\10.2.0\admin\REDC\bdump'
*.compatible='10.2.0.3.0'
*.control_files='C:\oracle\product\10.2.0\oradata\REDC\control01.ctl','C:\oracle\product\10.2.0\oradata\REDC\control02.ctl','C:\oracle\product\10.2.0\oradata\REDC\control03.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0\admin\REDC\cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=8
*.DB_FILE_NAME_CONVERT='C:\oracle\product\10.2.0\oradata\CDER','C:\oracle\product\10.2.0\oradata\REDC','D:\oracle\oradata\CDER','D:\oracle\oradata\REDC'
*.db_name='REDC'
*.DB_UNIQUE_NAME='REDC'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=REDCXDB)'
*.FAL_CLIENT='REDC'
*.FAL_SERVER='CDER'
*.job_queue_processes=10
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(REDC,CDER)'
*.LOG_ARCHIVE_DEST_1='LOCATION=D:\oracle\Archives
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=REDC'
*.LOG_ARCHIVE_DEST_2='SERVICE=CDER LGWR SYNC AFFIRM
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=CDER'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
*.LOG_ARCHIVE_MAX_PROCESSES=5
*.LOG_FILE_NAME_CONVERT='D:\oracle\Archives','D:\oracle\Archives'
*.open_cursors=300
*.pga_aggregate_target=471859200
*.processes=150
*.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'
*.sga_target=1417674752
*.STANDBY_FILE_MANAGEMENT='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0\admin\REDC\udump' -
[Oracle 10g] Download of add_job_email_notification package
Hi,
Does anyone have the link to the download the add_job_email_notification package for Oracle 10g? I googled, but didn't find it, only a link that doesn't exist anymore.
Thanks is advance841527 wrote:
I think the intention of this forum was to help. If I'd find it in Google I wouldn't waste my time and the others time here...
I need this specific package to monitor jobs scheduled using DBMS_SCHEDULER.
ThanksMaybe not in google, but in oracle.com . . .
go to www.oracle.com
click on the "Oracle Technology Network" button near the upper right corner
enter "add_job_email_notification" in the search field and click the magnifying glass icon.
The information you seek is on the resulting page. -
Reg.SMTP Error while using UTL_MAIL in Oracle 10g
Hi,
I am getting the following SMTP error while trying to use the UTL.MAIL package of Oracle 10g. The query is as follows.
begin
utl_mail.send(
sender => 'NAVEEN',
recipients => '[email protected]',
subject => 'Testing utl_mail',
message => 'The receipt of this email means'|| ' that UTL_MAIL works'
end;
UTL_MAIL package is installesd and the port 25 is configured and firewall is changed.
The same block was working fine before 5 days and now is giving the error as
ORA-29279: SMTP permanent error: 501 badly formatted MAIL FROM user - no "<"
ORA-06512: at "SYS.UTL_SMTP", line 21
ORA-06512: at "SYS.UTL_SMTP", line 99
ORA-06512: at "SYS.UTL_SMTP", line 222
ORA-06512: at "SYS.UTL_MAIL", line 407
ORA-06512: at "SYS.UTL_MAIL", line 594
ORA-06512: at line 2
Could you please help me out how to proceed???
Regards,
Naveen Kumar.Can you back that statement about an Oracle UTL_SMTP bug up with an actual bug number??
From what you have posted, this is not a bug!! but expected and documented (RFC'ed) SMTP server behaviour.
My proof:
/home/billy> telnet mail 25
Trying 165.143.128.26...
Connected to mail
Escape character is '^]'.
220 CNTRRA20-GTW01 [CNTRRA20-GTW01] Thu, 06 Mar 2008 14:26:26 +0200
HELO 10.251.93.58
250 CNTRRA20-GTW01 Hello [10.251.93.58]
MAIL FROM: naveen <[email protected]>
501 naveen <[email protected]> : illegal character(s) in domain string
MAIL FROM: NAVEEN
501 NAVEEN : domain string is NULL.
quit
221 CNTRRA20-GTW01 closing connection. Goodbye!
Connection closed by foreign host.
/home/billy>
As you can clearly see, the SMTP server expects a DOMAIN name as part of the MAIL FROM address. It also does not accept the alternative format suggested.
Yes, not all SMTP servers are equal and some support additional formatting.
But to imply that because the SMTP server does not accept your address formatted as string NAVEEN, it is a UTL_SMTP problem, sounds like a smelly one to me. -
How to trace the flow of plsql procedures/functions in oracle 10g
Hi All,
Recently I came to know that there is dbms_hprof PL/SQL built-in package in Oracle 11g which can be used to trace PL/SQL calls in a Hierarchical way. (acts as a PL/SQL Hierarchical Profiler).
Steps are given in -
http://www.oracle-base.com/articles/11g/PlsqlHierarchicalProfiler_11gR1.php
I would like to know whether there is a similar package in Oracle 10g because I want to trace the flow of plsql procedure and function calls in order to generate an output in a hierarchical way (for debug purposes).
The following example shows the flow of procedure calls when I execute PACKAGE_A.Proceudure_A. I want to generate that kind of an output.
Ex -
PACKAGE_A.Proceudure_A
----|_PACKAGE_A.Proceudure_B
----|------|_PACKAGE_B.Proceudure_C
----|_PACKAGE_B.Proceudure_M
----|------|_PACKAGE_A.Proceudure_B
----|-------------|_PACKAGE_C.Proceudure_C
----|_PACKAGE_Z.Proceudure_Z
If there is no similar package in *10g* I would really appreciate if someone can provide me directions to get the job done using the exsting packages and tables in Oracle 10g. Thanks in advance.
Edited by: user8326781 on Nov 28, 2008 8:57 PM
Edited by: user8326781 on Nov 28, 2008 8:58 PM
Edited by: user8326781 on Nov 29, 2008 12:19 AMI am not sure that this would serve the purpose or not but still, I guess its worth to atleast be mentioned,
http://www.oracle-base.com/articles/9i/DBMS_TRACE.php
HTH
Aman.... -
Pro*C for Oracle 10g in Debian Linux
Hi,
I've downloaded and installed the Debian packages for Oracle 10g XE, and I'm trying to compile a local copy of CASTOR http://www.cern.ch/castor
This software requires the Pro*C compiler. Where can I find/download it from?
Thanks in advance!To answer my own question, I'd say it's necessary to install the tarball, NOT the Debian files, for the Enterprise edition (perhaps to Standard is enough?).
After installation at (for example) /usr/local/oracle, the "proc" precompiler should be at /usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/bin
The env.variable ORACLE_HOME should be set,
export ORACLE_HOME=/usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1
Maybe you are looking for
-
Using XML to generate 3-d??? Help is needed.
if anyone can help I will be very grateful. Is it possible to use an xml document to build a graphic, however, I don't mean a graph. for an example if I had an xml doc that specified x,y and z points for a number of (for arguments sake) spheres, I wo
-
Personal LaserWriter 300 and Macintosh SE
I have a Personal Laserwriter 300 and a Macintosh SE running system 6.0.8. After installing all the correct software, selecting the right settings (i think), and clicking print i get the message "There is a problem with the Printer. Check to make sur
-
HT201335 amazom prime and apple tv
How can I watch Amazon Prime Movies on my Apple TV?
-
Configuring toplink.weaving="static": Cannot apply class transformer?
All, I have managed to successfully run TopLink Essentials build 2.0_49 in JTA mode from within the web container of Sun Java System Application Server 8.1EE by providing appropriate implementations for ServerPlatform and TransactionController as des
-
How to stop booting windows in recovery mode (for windows 2008 and 2012 editions)
Hi , we are configure hyper-v cluster contain about 100 VM , if a host is down (unplanned failover ) its VM restarted but in the recovery mode on another hosts. pls tell me How to disable booting in recovery mode ? thanks, Ramy Shaker