Server Administration :: Difference Between Bytes And User_bytes In Dba_data_files

Nov 27, 2012

two columns of dba_data_files (Bytes & user_bytes).

select bytes/1024/1024, maxbytes/1024/1024, user_bytes/1024/1024 from dba_data_files;
1532767.9843754.9375
249032767.984375489.9375
39032767.98437589.9375
453032767.984375529.9375
5204832767.9843752047.9375
6204832767.9843752047.9375
7204802047.9375

View 1 Replies


ADVERTISEMENT

Server Administration :: ORA-04031 / Unable To Allocate 256 Bytes Of Shared Memory

Sep 7, 2010

When user insert rows in table oracle interrupts and raise error- ORA-04031: unable to allocate 256 bytes of shared memory? how to do?

I tried to increase the size of shared_pool also but cant.

large_pool_size = 0
shared_pool_size=134217728(128M)
sga_max_size=218103808(208M)

And when I fire 'select* from v$sga;'

Fixed Size 2142976
Variable Size 159386880
Database Buffers 50331648
Redo Buffers 5296128

View 3 Replies View Related

Server Administration :: Unable To Allocate 4120 Bytes Of Shared Memory

Jan 1, 2013

I have a package when it runs, it terminates with "unable to allocate 4120 bytes of shared memory"error at a particular INSERT statement. So everytime we had this error, we had to flush the shared pool area, after which it would run without issues(for 3-4 weeks).

It had a dynamic subpartition clause framed, which made it to repharse the query every time.So to reduce this, we removed the subpartition clause(made it to static query), which did benefit of not getting shared pool error.

I would like to find the current shared pool memory usage of my program.Is there a way I could find the live consumption of shared pool area of my program(pkg).

View 10 Replies View Related

Performance Tuning :: Difference Between Cost And Bytes

Aug 4, 2010

I am working on Tuning a Materialized view. I was getting an error saying ORA-12008: error in materialized view refresh path

ORA-12801: error signaled in parallel query server P002, instance hrms-stg-db01:HRSTG1 (1)
ORA-01652: unable to extend temp segment by 16 in tablespace TEMP1.

so i increased the temp size. I am trying out various hints to get it rectified. But i am not sure if i should go for less cost or less bytes.

View 1 Replies View Related

Server Administration :: Difference Between V_$ And V$ Views

Oct 19, 2005

difference between V$ and V_$ views. It looks same to me. lets take the example of V$LOG and V_$LOG , both views returns same set of columns when described.

SQL> desc V$LOG
Name Null? Type
----------------------------------------- -------- -----------------
GROUP# NUMBER
THREAD# NUMBER
SEQUENCE# NUMBER
BYTES NUMBER
MEMBERS NUMBER
ARCHIVED VARCHAR2(3)
STATUS VARCHAR2(16)
FIRST_CHANGE# NUMBER
FIRST_TIME DATE

SQL> desc V_$LOG
Name Null? Type
----------------------------------------- -------- -----------------
GROUP# NUMBER
THREAD# NUMBER
SEQUENCE# NUMBER
BYTES NUMBER
MEMBERS NUMBER
ARCHIVED VARCHAR2(3)
STATUS VARCHAR2(16)
FIRST_CHANGE# NUMBER
FIRST_TIME DATE

View 3 Replies View Related

Server Administration :: Difference Between Partition Compress?

Nov 11, 2010

I am using compress partition for a large table.During the process I have used the below command for compress---

1. ALTER TABLE <TABLE_NAME> MODIFY PARTITION P1 COMPRESS;

However I found there are different command as below:-

2. ALTER TABLE <TABLE_NAME> MOVE PARTITION P1 COMPRESS;

What is the basic difference between these two as the compression is happening for both command.

View 3 Replies View Related

Server Administration :: Difference Between ORACLE_HOME And ORACLE_BASE?

Oct 3, 2011

what is

ORACLE_HOME
ORACLE_BASE

difference between ORACLE_HOME and ORACLE_BASE

View 1 Replies View Related

Server Administration :: Difference Between Table_owner And Schema?

Sep 14, 2011

a table can have many schema or just 1 schema which is the table owner?

View 5 Replies View Related

Server Administration :: Difference Between LRM And Oracle Error

Jun 26, 2011

WHAT IS THE DIFFERENCE BETWEEN ORA ERROR AND LRM ERROR?

View 9 Replies View Related

Server Administration :: Difference Between A User And Schema On Oracle?

Apr 26, 2010

difference between a user and schema on Oracle.By difference, I do not mean what is a user and what is a schema.

I understand that if we create a user, the schema gets created by default for that user. Does that mean that we cannot create a user/schema alone.

What if I just want to create a user and grant him some read access on an existing schema or just want to create a schema.

View 7 Replies View Related

Server Administration :: Difference In SQL Results From Oracle 9i To 11gR2?

Jan 2, 2011

I've migrated from Oracle 9i to Oracle 11gR2, when i'm checking my application on Oracle 11gR2, i found that some of the query result are differed from the previous version of Oracle 9i, which is very illogical to me. I've checked the data for all related tables which are involved in one of the query. I've checked all indexes also. Still i'm not convinced that Oracle is doing anything wrong. I cannot recreate the whole scenario here, because of many tables involved in that query.

One of the sample query code.

select 'ProductMaster' producttype,e.schemecd,e.SCHEMESHORTDESC as SCHEMEDESC,to_char(e.schemefrdate,'dd/MM/yyyy')as schemefrdate, to_char(e.schemetodate,'dd/MM/yyyy') as schemetodate,e.mkid ,e.countrycd,e.statecd,e.districtcd,f.schemetype, a.productcd,a.packsizecd,a.packtypecd,a.sortorder1, a.countrycd,a.statecd,a.districtcd,a.p_uniqueid,a.mrp, (a.productcd ||'-'||b.countryname||'-'||c.statename||'-'||d.districtname|| ' -pkt.prc:'||a.pktprice ||' -mrp:'||a.mrp) as pcode
from wb.wbproductdetails a

[code]......

View 17 Replies View Related

Server Administration :: Find Out Difference Of Data For Some Tables Between Current And Previous Day

May 26, 2011

We want to find out difference of data for some tables between current day & previous day. We can use query with minus operation but it will take lot of time since table size is in range from 200 to 500 GB. We have to do this exercise every day.

View 5 Replies View Related

SQL & PL/SQL :: Select On DBA_DATA_FILES

May 11, 2010

I am working on a Script in Perl where i have to find out which Tablespaces are autoextensible and how many space is in use at this spaces - i've found a Standardscript and wanted to customize this with this Autoextensible-clause - but it doesn't work...here ist my script to find out the raw Data.

bb Michaelf20
select a.TABLESPACE_NAME,
A.AUTOEXTENSIBLE
a.BYTES bytes_used,
b.BYTES bytes_free,
b.largest,
[code]....

View 10 Replies View Related

Datafile Namedisplayed For SYSTEM Tablespace In Dba_data_files

Nov 23, 2011

Datafile name is +DISK_GROUP_1/oratst1/datafile/system.1122.764387443

displayed for the SYSTEM tablespace in dba_data_files.Infact, datafile name starts with +DISK_GROUP_1 for tablesspaces. Where is the reference to +DISK_GROUP_1.

What file name should I use to resize or to add new datafile to a tablespace?

View 1 Replies View Related

Server Utilities :: Difference In Character Sets Of Server And Client?

Mar 16, 2011

I've a question regarding difference of character sets, while taking a export(logical backup) of database on directly to server(linux RHEL 2.1 AS) and export on a client (windows xp prof machine, where only a oracle 9i client is installed). On server it seems to fine and okay, but on client node i'm getting following error for almost all tables.

EXP-00091: Exporting questionable statistics.

My question is :

[1] Is it creating any sort of problem, if later on i import the data which was taken from client node.

[2] Why there is a difference(marginal) in dump(.dmp) file size.

[3] Is there any way to overcome it, or it is the natural behave of it. Means not a problem.

[4] If i'm using a long or blob as datatype for some of my table,is they have any problem if i persist like above.

Additional Information about character sets On server node :

Export done in US7ASCII character set and AL16UTF16 NCHAR character set server uses WE8ISO8859P1 character set (possible charset conversion)

On client node :

Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set server uses US7ASCII character set (possible charset conversion)

View 7 Replies View Related

Oracle 11g R2 Installed With Zero Bytes On IBM AIX

Dec 27, 2012

I have installed 11g r2 using silent mode. but all the executable like lsnrctl, expdp, sqlldr,impdp etc.... installed with 0 (zero) bytes.

couldn't trace out what the problem is,

View 1 Replies View Related

Unable To Allocate Shared Bytes Of Memory

Sep 21, 2010

How to overcome from the below error.

Database Error-ORA-04031:unable to allocate 76320 bytes of shared memory("shared pool","SELECT/*+Norewrite*/DIST...","sql area","kkmevw:view_txt")

Here I attached that error.

Attached File(s)

Disco_Error_1.jpg ( 49.03K )
Number of downloads: 3

View 2 Replies View Related

Buffer Overflow Limit Of 2000 Bytes

Jul 14, 2011

I got a below error while running a procedure!

ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes

at that time i am using below parameters in that script:

set serveroutput on size 1000000

DBMS_OUTPUT.ENABLE(1000000);

But still getting same error.. how can i resolve this issue..

View 7 Replies View Related

SQL & PL/SQL :: Unable To Allocate 104 Bytes Of Shared Memory

Mar 9, 2012

When i try to extract create statement of table i get below error message.

SQL>
SQL> set heading off
SQL> set pagesize 0
SQL> set long 1000000
SQL> set feedback off
SQL> select
2 dbms_metadata.get_ddl( 'TABLE','CATALOG_TBL','JACK')
3 from
4 dual
5 /

ERROR:

ORA-04031: unable to allocate 104 bytes of shared memory ("shared pool",

"SELECT
/*+rule*/ SYS_XMLGEN(...","SQLA^fc8f5280","qecsub : qkxrPXformQbc")
ORA-06512: at "SYS.DBMS_METADATA", line 2625
ORA-06512: at "SYS.DBMS_METADATA", line 2668
ORA-06512: at "SYS.DBMS_METADATA", line 2983
ORA-06512: at "SYS.DBMS_METADATA", line 3897
ORA-06512: at "SYS.DBMS_METADATA", line 5678
ORA-06512: at line 1

Note:
----
I am executing this command from another user 'DEMO' which has got DBA privilege.

how to fix this error and extract the create table statement.

View 5 Replies View Related

SQL & PL/SQL :: Existing Database Conversion From Bytes To Char?

Aug 11, 2011

What is the best way to convert an existing database table set with nls_legnth_semantic=BYTE to CHAR?

View 2 Replies View Related

Unable To Allocate 264 Bytes Of Shared Memory

Jan 13, 2013

I'm getting the following error when i shutdown or startup the db,

SQL> shutdown immediate;

ORA-00604: error occurred at recursive SQL level 1
ORA-04031: unable to allocate 264 bytes of shared memory ("shared pool","unknown object","PCUR^18465427","kglob")

View 1 Replies View Related

PL/SQL :: How To Store More Than 32767 Bytes In A CLOB Variable

May 7, 2013

I am trying to build an XML document in a CLOB PLSQL variable. We are using Oracle 11gr2 database.

But when I am reaching more than 32767 bytes my code is failing.

Is there anyway we can store more than 32767 bytes of data in a PLSQL variable of type CLOB.

I am capturing the below error message

(ORA-06512: at "SCMSA_HIST.SCMSA_POC_HANDSET_MOBILITY_PKG", line 1480
AND LENGTH OF xmlfile -> 33078
)

I am adding my code also here for further clarification

PROCEDURE GET_HANDSET_DATA_PRC (p_ntlogin_id IN VARCHAR2,
p_handset_data OUT NOCOPY CLOB)
IS
/******************************************************************************
NAME: GET_HANDSET_DATA_PRC
PURPOSE:
Date Ver By Description
---------- --- --- -----------

******************************************************************************/
CURSOR c_region_data
IS
SELECT NVL2 (T.ntlogin, T.ntlogin, pos.ntlogin) AS ntlogin,
NVL2 (T.first_name, T.first_name, pos.first_name)
AS first_name,

[Code]....

View 8 Replies View Related

Server Utilities :: Difference In Size Of Exports

May 7, 2011

Recently i've migrated from Oracle 9i SE(9.2.0.1.0) to Oracle 11gR2 EE(11.2.0.1.0). Previously i'm taking export of some of my schema and it's file size was around 1g.(with exp utility of Oracle 9i). As per earlier practice now i'm taking export of same schema with same no of objects and same data volume, the size of export file size on Oracle 11gR2 database is significantly gone down , actual size around 825mb(with expdp utility of Oracle 11g).

So i would like to know why there is a difference in file size(.dmp files) of export files between two oracle versions. I have crosschecked objects and rows of data tables. It is perfectly same.

Command line parameter for export on Oracle 9i

exp test/test FILE=test.dmp OWNER=test GRANTS=y ROWS=y COMPRESS=y LOG=test.log

Command line parameter for export on Oracle 11g

expdp test/test DIRECTORY=dpump_dir DUMPFILE=test.dmp LOGFILE
=test.log

View 3 Replies View Related

Difference Between Oracle Database Server And Client?

Jul 22, 2011

Currently I am doing one Oracle installation.But very much confused where to start from. Since I am installing oracle on my personaly Laptop,do I need to install Oracle database server and Oracle client both or only installing database server is sufficient.

What is the exact difference between oracle database server and client.Only knowledge I have is that client is used to access database server remotely.are Oracle database server and client installable to be downloaded separately?

View 1 Replies View Related

ORA-04031 - Unable To Allocate 32 Bytes Of Shared Memory

Jun 19, 2013

I am seeing the following error message in alert.log (ORA-04031: unable to allocate 32 bytes of shared memory ) and my database goes into hung state and wont let any new sessions to connect and old sessions just hung with no response. i have to kill the instance to come out of this problem.

I am running 11.2.0.3 on AIX and have memory_target=35GB. I would like to know what approach to take to find out the root cause of this? btw - does AWR show if memory was under pressure and what SQL's were consuming more memory just before the problem surface?

View 2 Replies View Related

SQL & PL/SQL :: ORA-04031 / Unable To Allocate Bytes Of Shared Memory

Jun 17, 2011

If I am log in through crystal reports , I am getting the following error.

ORA-04031 unable to allocate bytes of shared memory("","","","").

If I log in through TOAD from back end I am not getting any error.

View 14 Replies View Related

ORA-04030 / Out Of Process Memory When Trying To Allocate 16408 Bytes

Jul 29, 2011

I have a stored procedure which uses BULK COLLECT and the table has 16 nested tables within it. When I limit the number of rows processed it works fine, if I let it run with all the 10,000 rows I get this:

ERROR: ORA-04030: out of process memory when trying to allocate 16408 bytes
(koh-kghu call ,pmuccst: adt/record)

sga_max_size - 12884901888
sga_target - 10737418240
pga_aggregate_target - 838860800
shared_pool_size - 2147483648

I believe the machine has 32GB memory, but there is another Oracle instance running on it.

View 1 Replies View Related

ORA-04031 - Unable To Allocate 104 Bytes Of Shared Memory

Aug 30, 2012

Let me put my current Environment Info.

Single Laptop Machine of 16GB RAM.
Assigned 13GB to VM.

I have installed Oracle Database 11g. 11.2.00. When I try to access my application many times I received below error

• Error:
“”Caused by: java.sql.SQLException: Could not retrieve datasource via JNDI url 'jdbc/oimJMSStoreDS' weblogic.jdbc.extensions.ConnectionDeadSQLExceptio n: weblogic.common.resourcepool.ResourceDeadException : Could not create pool connection. The DBMS driver exception was: ORA-00604: error occurred at recursive SQL level 3
ORA-04031: unable to allocate 352 bytes of shared memory ("shared pool","select /*+ rule */ bucket_cn...","SQLA^337fc737","qertbs:qertbIAlloca te")
[code]......

Even when above error occur I have 7GB free JVM so JVM is not an Issue.

•I have updated Max Capacity of oimOperationsDB =100,oimOperdationDB, oimJMSStoreDS=80,SOADATAStore =80. But still I have error

• ERROR::
• ““Aug 30, 2012 3:24:10 PM EST> <Warning> <oracle.integration.platform.blocks.event.saq> <SOA-31013> <Error handling message (rolling back).
java.sql.SQLException: ORA-04031: unable to allocate 352 bytes of shared memory ("shared pool","select /*+ rule */ bucket_cn...","SQLA^337fc737","qertbs:qertbIAlloca te")
ORA-06512: at "SYS.DBMS_AQ", line 335
ORA-06512: at "DEV_SOAINFRA.EDN_DEQUEUE_OAOO_DELIVERY", line 14”
[code]......

I have modified Shared_pool_size,large_pool_size. Content of my modified Pfile is as below.

o orcl.__db_cache_size=822083584
o orcl.__java_pool_size=2777216
o orcl.__large_pool_size=56777216
o orcl.__oracle_base='/home/oracle/app/oracle'#ORACLE_BASE set from environment
o orcl.__pga_aggregate_target=805306368
o orcl.__sga_target=1174405120
o orcl.__shared_io_pool_size=0
o orcl.__shared_pool_size=601989888
o orcl.__streams_pool_size=0

What’s value of parameter I need to set for datastore, pfile ? (I have 13GB of memory).

View 8 Replies View Related

ORA-04031 Unable To Allocate 16 Bytes Of Shared Memory

May 17, 2013

Windows 2003 Server Enterprise Edition, Service Pack 2. 3.5GB RAM.Two Oracle Databases running on this server, one not heavily used. On the database i am concerned with it is 10.2.0.3.0.

I have just started to look at this database and am seeing various things in the alert log and have had user error messages as well.Initially when i started looking at this server it was running with quite a small SGA (600MB) and the memory_target_advice was saying to take it to 1000MB.(PGA is around 200MB)

In January, before i looked at it, it started to throw:

ORA-04031 unable to allocate 16 bytes of shared memory ("shared pool","........", "sql area", "tmp") These would occur regularly and mostly during nightly processes, it seems, and thus not bubbling up to users.Having switched the SGA_MAX_SIZE to 1GB a new set of errors starts to appear in the alert log:

ORA-27301: ..... Not enough storage is available to process this command
ORA-27302: ..... ssthrddcr

At the same time the ORA-04031 errors start to bubble through to the users. Before i could return to the scene of the crime someone else set the SGA back to 600MB and the error messages stopped. However the ORA-04031 message start to reappear in the alert log. My questions are many and, mostly, from a lack of knowledge ;) In particular:

1. Why would increasing the SGA lead to a different memory error? I would assume this would have something to do with the amount of memory a 32bit OS will allow a single process to address but the PGA+SGA is only 1200MB.

2. How does a ORA-273xx error end up with a ORA-04031 being shown to the users? I would look at the listener log but its over 2GB!!!

View 7 Replies View Related

11G R2 On Win 2008 - Unable To Allocate 32 Bytes Of Shared Memory

Jun 8, 2012

on 11G R2 on Win 2008,

We had the following error in alertlog repeatedly from 5 PM to 10 PM :

ORA-04031: unable to allocate 32 bytes of shared memory ("shared pool","SELECT VERSION FROM PSVERSIO .....Since MEMORY_TARGET is defined in spfile then shared pool is managed automatically.

Then what to do to avoid this error in future ?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved