SGEN and tablespaces getting full
Hello gurus
I'm running SGEN in a system that I've just installed, and I've noticed that the process of SGEN affects two tablespaces PSAPES620I and PSAPEL620D and I've to increase their sizes in 4Gb total (3gb to PSAPEL620D and 1gb PSAPES620I, is that a normal behavior of SGEN?
Regards
Hello,
Yes. It is quite normal. Don't worry
Thanks,
Siva Kumar
Similar Messages
-
TEMP tablespace getting full while inserting a CLOB in Trigger
We have a Oracle 10g (10.2.0.4.0) DB on a Solaris 9 box which also runs our J2EE web-service application on Weblogic 8sp6 server.
We get around 220K web-service requests from upstream callers daily to insert data in the main table, say TABLE1, which has daily partitions on a date column. This table has around 21 columns out of which 1 is a CLOB column.
Now this table has an AFTER INSERT trigger which calls a package procedure to insert the same record into another table, say TABLE2.
From Java application insert statement in executed in below format using a weblogic jdbc connection pool :
INSERT INTO TABLE1(COLUMN1, COLUMN2, ........., CLOB_COLUMN,........, COLUMN21) VALUES (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, :17, :18, :19, :20);
Clob object is prepared in application using ojdbc14.jar.
We are observing a strange issue here. The TEMP tablespace utilization keeps on growing as more and more inserts are executed by application and after ~125K inserts the TEMP tablespace gets full and we start getting ORA-01652 error.
On further analysis we could see that there are only 7-10 session being maintained but as more and more inserts happen TEMP tablespace utilization goes on increasing for each of these sessions.
When we tried with inserting just few records and then watching the session details in v$session_wait then we could see that it is in INACTIVE state and waiting for the event ‘SQL*Net message from client’. This does not seem correct as the session has successfully inserted the data and committed the transaction and we can see the data in the tables as well.
The confusing thing here is when we modify the trigger to pass blank string('' ) instead of the CLOB column to TABLE2 then this issue does not occur. All 200K records are inserted properly and TEMP tablespace utilization also keep always below 1%.
Can you please help us in solving this issue. Is this related to any oracle issue?
Inside the package we have tried using DBMS_COPY statement to copy the CLOB column after insert but still same result.
Code for reference:
Trigger:
=====================================
CREATE OR REPLACE TRIGGER trg
AFTER INSERT OR UPDATE
ON TABLE1
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
BEGIN
IF (:NEW.date_col > SYSDATE - 2)
THEN
IF (:NEW.cat IN (1001, 1002))
THEN
pkg.process_change
(:NEW.COLUMN1,
:NEW.COLUMN2,
:NEW.CLOB_COLUMN,
FLAG
END IF;
END IF;
END;
=====================================
Package:
=====================================
procedure PKG.Process_change(
p_COLUMN1 number,
p_COLUMN2 varchar2,
p_CLOB_COLUMN clob,
flag boolean
) is
v_watermark pls_integer;
v_type varchar2(1);
begin
if (flag) then
v_type := 'U';
else
v_type := 'I';
end if;
select t_seq.nextval into v_watermark from dual;
insert into TABLE2(
COLUMN1 number,
COLUMN2 varchar2,
CLOB_COLUMN clob,
watermark,
dml_type
)values (
p_COLUMN1 number,
p_COLUMN2 varchar2,
p_CLOB_COLUMN clob,
v_watermark,
v_dml_type
end;
=====================================My first thought on reading your post is that not only are you using a database version that is now so old it is in extended support and even then not even the most recent patchset for it.
The first thing I would do is move to 11gR2 and if you can't do that at least get to 10.2.0.5 and apply CLOB relevant patches as well.
Same goes for your operating system. Solaris 9 is ancient: So move to 10 which has vastly improved memory management.
To help you further it would be really valuable to know the table layout. For example is this a heap table or an IOT? Is it partitioned? Is this RAC? What size are the CLOBs? Are they stored in-line? Chunk size? etc.
This page should start you down the right road:
http://docs.oracle.com/cd/B19306_01/appdev.102/b14249/adlob_tables.htm#sthref204
But I am also wondering why you would use a trigger to, as you say, "insert the same record into another table." This description is a poster child for "bad design." -
My undo tablespace is getting full because of uncommited deletes performed by jdbc thin client sessions.
How can I solve this problem permanently?
Size of undo tablespace is 5.5GB
I am facing an undo tablespace full issue
Below are the sessions which maybe causing the problem.
select s.sid,
s.serial#,
s.sql_id,
s.prev_sql_id,
s.SCHEMANAME ,
s.OSUSER ,
s.program,
USED_UBLK,USED_UREC from v$session s, v$transaction t where s.taddr=t.addr order by USED_UREC;
3909 30842 fgcp0qn1bqzx9 XLTDB5 xltwrk5 JDBC Thin Client 504 45257
5133 53593 fgcp0qn1bqzx9 XLTDB5 xltwrk5 JDBC Thin Client 07 54482
4525 35108 fgcp0qn1bqzx9 XLTDB10 xltwrk10 JDBC Thin Client 2381 192853
4428 38484 fgcp0qn1bqzx9 XLTDB1 xltwrk1 JDBC Thin Client 8682 634540
For this sql id :fgcp0qn1bqzx9 there are more than 14k executions per hour.
Below is the query for this sql id:
/* TJAPI_SubTrxTransient_deleteTrb1SubTrxTransient_0 */ DELETE FROM TRB1_SUB_TRX_TRANSIENT
Some other details
++++++++++++
Oravle version:11.1.0.7
OS:SunOS
++++++++++++Perhaps an interesting link:
http://oracledisect.blogspot.com/2008/05/who-is-using-your-undo-space.html
Perhaps you can use Oracle Resource Manager, create a resource plan and switch sessions to a different consumer group once they reach a certain treshold.
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/dbrm004.htm
Btw are these distributed transactions?
DBA commit other session's transaction?
Edited by: Markus Waldorf on Sep 9, 2010 7:57 PM -
MacBook Pro late 2010 overheats and disk gets full
Using my MacBook Pro (model 6,2 or late 2010) just with Safari, or chrome and Mail, It gets fans spin a lot the speed decreases and I get a window telling me that there is no more space left for memory usage, but I have 20 GB hard disk free. If i check, I have only 400 mb free. I restart and the hard disk space again is 20 GB free and fans stop spinning a lot.
If you are on the record with a case number, you are more than likely to be taken care of out of warranty.
Genius reservation http://www.apple.com/retail/geniusbar/
on-line https://getsupport.apple.com/GetproductgroupList.action
check warranty https://selfsolve.apple.com/agreementWarrantyDynamic.do -
Good morning Techies,
I have a OBIEE environment where developers work on continuous data loads and the tablespaces are filled up quite often throwing cannot extend.
I have a request from the customer to generate some script or automatic adding up of datafiles.
Can someone here help with the ways of automizing or easing this situation through some script where it ask the users for the path and DB file size etc and creates a datafile with the inputs.
Or advise any other ways to handle the situation.
Regards,
RanGOracle does not but you can write your own job to execute when you reach certain threshold. You can also do this in a GRID so whenever the metric threshold reached, it executes your procedure. Make sure you check your file system space before adding a datafile.
With BIGFILE tablespace, you might need to change your backup policies.
Check these link as well:
tablespace - Can oracle tablesspaces automatically add smallfile datafiles? - Stack Overflow
Can Oracle Create New Datafile Automatically? -
Set alert for tablespace in grid control when tablespace get 85% full.
Hi,
I want to set a tablespace alert in grid control when the tablespace in database get 85% full.
We should get a alert through a grid control.
Could you please let me know how to set a alert in grid control for tablsepace usage?
Thanks,HI
Thanks for the reply.
I have set the alert the way you asked me do.
However i am not getting an alert when the tablespace get full by 85%.
I am not getting alert to our mail.
Could you please let me know do we need to do anything else.
I tried using through user defined sql metrics.
The query which i am using is
DECLARE
Type v_filenames is table of dba_data_files.FILE_NAME%type
index by pls_integer;
filename v_filenames;
type v_currsize is table of dba_data_files.BYTES%type
index by pls_integer;
currsize v_currsize;
type v_maxsize is table of dba_data_files.MAXBYTES%type
index by pls_integer;
maxsize v_maxsize;
mark75 number;
mark500 number;
n_maxsize number;
i pls_integer default 1;
total_files sys.dba_data_files.BYTES%type;
SUM_BYTES sys.dba_data_files.BYTES%type;
SUM_MAXBYTES sys.dba_data_files.MAXBYTES%type;
BEGIN
SELECT SUM(BYTES)/(1024*1024),SUM(MAXBYTES)/(1024*1024) INTO sum_bytes,SUM_MAXBYTES FROM DBA_DATA_FILES WHERE TABLESPACE_NAME='&&1';
select SUM(bytes*4/3-maxbytes)/(1024*1024),500-SUM(MAXBYTES)/(1024*1024) into mark75,mark500 FROM DBA_DATA_FILES WHERE TABLESPACE_NAME='&&1';
if mark75>=mark500 then
n_maxsize:=mark75;
else
n_maxsize:=mark500;
END IF;
will the above query will work.
I dont what condition to put in my case.
I want to put this condition
if mark75>=mark500 then
n_maxsize:=mark75;
however i am not using it in where clause.
Thanks. -
Tablespace PSAPSR3DB getting full again and agin
Dears,
In our PI 7.1 system,Installed on AIX tablespace PSAPSR3DB is getting full very rapidly.
10 GB space is getting full in 2 days.
As per our PI developer they are not saving any such huge data in PI, data transfer through PI is going on but I am not sure in that case does PI is storing any data.
Please suggest how can I stop this rapid increment in data of this tablespace.
Can I clean some of its data by any way or if possible how not to save data getting transfer through PI.
Regards,
Shivam MittalHi Shivam,
This table references to standard tablespace for JAVA stack of SAP objects. It's possible that the clean job of Java Stack have been executed with errors. Check this job in Netweaver Administrator application ( http://servername:port/nwa ).
Have you storing synchronous messages? Maybe you have to tunning the ABAP and Java Stack.
Have you configured the archive and delete jobs in SXMB_ADM?
Best regards
Ivá -
Sysaux tablespace is getting full
Hi,
can anyone help me find out why my sysaux tablespace is getting full?
RegardsHi,
The datafiles of System ,and Sysaux tablespaces are in AUTIEXTEND ON mode by default.
To findout what object is occupying the space
SELECT OCCUPANT_NAME,OCCUPANT_DESC,SCHEMA_NAME,MOVE_PROCEDURE,SPACE_USAGE_KBYTES from V$SYSAUX_OCCUPANTS; -
I am trying to print a passport sized headshot and I get a full page photo isntead. I downloaded the shot from i photo and chose "small" but it didn't help.
I also cropped the photo on iphoto to the dorrect size but no difference. I have a Canon MX 870 printer. Please advise.In iPhoto select the photo and print - select the paper size and a custom print size (2x2 i believe for passports) and print
LN -
My wife and i have an iPhone 5 6.1.2 firmware.. We both are having horrible wifi signals. We have done everything we can.. What update will fix this? I get full bars on my iPad 2 through my whole house.. Be standing right beside the router with iPhones and it cuts in and out.. Drops from 3 wifi bars to 1
I am having the same problem with brand new Ipad Mini at my house.
It connects to the WiFi fine - but will not pull an IP address in DHCP mode, or if I set all the IP info statically - it still will not get any network access.
This doesn't look like a WiFi issue, as it does connect and is seen by the WiFi Access Point. All the normal WiFi fix stuff doesn't help.
- Using a Dlink DAP-2553 which is less than 2 months old.
Other devices connect fine, including Ipad 2.
This same Mini worked fine at another house and also connected to a mobile hotspot fine....so seems to be some weird IP issue with maybe this Access Point or maybe the older Router that I have (older Netgear)?
I am actually a network engineer and still have not been able to find a solution. Both the Ipad Mini and the Dlink WAP have the latest firmware loaded.
Wondering if anyone has found a solution to this problem. -
Downloaded an album and it's full of glitches. How can I get fixed copy?
Hi
I've just downloaded "Dystopia (Bonus Tracks Version)" by Midnight Juggernauts from the UK iTunes store, and it's full of pops and glitches. I've listened to the clips from the other version of the album (listed just as "Dystopia") and the pops aren't there. The difference can be heard best on the track "Intro", where the pops really stand out - there is clearly something wrong with the files I've received.
I now see that I can't download the album again - does anyone know what to do in a case like this? Is there any way I can contact Apple to get a proper copy of the album? I'm certainly not paying for it again!
I have only just started using iTunes, and have loved it so far. But obviously I'll never use it again if I can't rely on getting a proper copy of the music I've purchased!
DaveHi there,
When you receive your e-mail receipt, you will see a link labelled "Report a problem". Click this and follow the instructions. You should receive a refund from Apple within 24 hours, but it may take several weeks for a corrected version of the album to appear in the store. -
Dear Apple. I have just installed Windows 7 64-bit full version Home Premium using Bootcamp and cannot get access to the internet. I installed on a Macbook Air Mid 2012 with Mountain Lion. Are there some drivers that are missing from the Windows 7 bootcamp install download from Apple
It is a Total Misconception that the Support files are installed when you are installing Windows, even if the USB drive that holds them is inserted in the system when doing the Windows install.
You must always Run the Setup.exe files from the support files or run the drivers individually once Windows has finished installing and booted to the desktop.
Also you really need to run the Boot Camp Control Panel Applet and check for updates as not all the newest drivers for full function of all the hardware is included with the original support download. That download is basically a generic version to get the system working and without doing the updates not everything will work properly. -
i have the ipad original last week was prompted to download updates and since then the movies that i had on the ipad are now only 3inches in length were before i was able to watch in full screen please can anyone tell me how to get full screen, apple support were not able to assist me
SeanD - message sent - any chance of a follow up
Getting Worse
. Best Effort Test: -provides background information.
Download Speed
13083 Kbps
0 Kbps
24198 Kbps
Max Achievable Speed
> Download speedachieved during the test was - 13083 Kbps
For your connection, the acceptable range of speedsis 12000-24198 Kbps .
Additional Information:
IP Profile for your line is -24198 Kbps
2. Upstream Test: -provides background information.
Upload Speed
1607 Kbps
0 Kbps
2000 Kbps
Max Achievable Speed
>Upload speed achieved during the test was - 1607 Kbps
Additional Information:
Upstream Rate IP profile on your line is - 2000 Kbps
We were unable to identify any performance problem with your service at this time. -
File dialog box: how get full path and filename (firefox 3.0 problem)
Hi,
I have a smilar problem then discussed in this thread: file dialog box: how get full path and filename
Now this solution doesn't seem to work in firefox 3.0,I only get the filename but not the full path.
I have tried to solve this problem by adding *"netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead");"* in a javacript function but that doesn't do the trick
Although when i tested it local it does work.
Any idees how to solve this?
Best Regards
StijnActually, that is strange and scarry. With 20% of the browser market share they decide to behave like Microsoft did in the past - they want to decide what users need and what they do not need. With 3.0 I have a real problem with some of my applications. They are all tested in IE6, IE7, FF2.0 and they all work the same way (they even work with Opera and Safari). Now, I will for sure not go there and make it work for 3.0, just because 2 out of 200 users use FF3.0. Up to now I have always recomended FF as the best browser. 3.0 causes my opinion to change completely. Competition is always good but it is a question if it is good if we have 20 different browsers out there with equal market shares.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
My iphone 4s automatically getting turned off (blank black screen) and not getting started until full battery discharge. Even on long pressing power button - screen doesn't showing anything - not even "needs charging logo".
This is happening only since I have updated to new ios version (ios 8.1).
Is there anyone facing similar issue?? Any suggestion?!?Hi jayla_mora,
Thanks for visiting Apple Support Communities.
It sounds like your iPhone screen is going blank and not responding.
You may find the tips in this article useful for troubleshooting this behavior:
iOS: Not responding or does not turn on - Apple Support
Best Regards,
Jeremy
Maybe you are looking for
-
Hi at the moment my ipod is on manual sync mode. Is there any way of changing this to auto-sync without losing the music on my ipod or library? Possibly more importantly is there a way I can transfer the ratings from my ipod onto my i-tunes? This is
-
How can I move the open tabs down the address bar, like it was in the older version?
I love Firefox and been using it for a while, but the new version has some changes and they are kind of getting annoying. I just need the open tabs not on top of the address/URL bar, I just want them under the URL/address bar , like it was in the old
-
PI Message Mapping One Source to create two of the same Target Nodes.
Hi, I have a source node that contacts the following. "1234-5678". When there is a "-" in the source node then I need to create two target nodes. When there is no "-" in the source node then only create one node. Since the source structure is a flat
-
Swedish characters in OEM reports
Hi, I have created a report that lists a table that have text with swedish characters in it. When i publish the report as "Whenever the report web page is viewed" the charachters is shown correctly, but with the option "Only when scheduled" all the s
-
Delivery document from Purchase Order
Hi Experts, How can I create a delivery document from Purchase order type NB? I have created a delivery from po type UB, and there is a shipping tab at the item. Do I need also a shipping tab in NB to create a delivery? If yes, how can I customize it