Dear Friends
I use p6.7, oracle. when i try to add new project i recive this message:
""ORA-12952: The request exceeds the maximum allowed database size of 4 GB""
even when i delete some projects to find some space in my database, i still get the same message. i think the reason for this is that i have to purge the database because deletion of projects don't give any space. can any one help for this please??
ORA-12952: The request exceeds the maximum allowed database size of 4 GB
Forum Sponsor
Top Posters
Nick Johnson-Pond
3 posts
sairedz25
0 posts
Ahmed Awad
2 posts
Syed Shoeb
0 posts
Vimukthi
0 posts
bal aji
2 posts
Lee Mallek
23 posts
Viet Tran
9 posts
Ola Gbotoso
0 posts
Jaturapit Multongka
1 posts
Some of the data is logically deleted from the database meaning that the data remains in your database. The background jobs should physically delete the data from your database. However the
CLEANUP_LOGICAL_DELETES procedure will delete from your database the data that has been deleted 5 days ago or more.So your data is not really deleted until after 5 days (unless you change this setting).
The problem is that it takes space to delete things and you have hit the 4 gig wall. So what you have to do is to treat this like you are eating an elephant.
What I mean by this is that you have to open a project (one that you tried to delete previously) then delete one activity at a time do this for maybe 10 activities. NOW you can try to select 2 activities at a time and delete them. Keep doing this until you can eventually delete a lot of activities and delete them in bunches.
Then at some point you can delete the project
Then you can delete other projects
You might want to create a second database and start working in that environment if want to have to leave your existing data intact. Another option is to export some of the project files to an xer. You can put more than one project into an xer export by opening multiple projects and exporting them. Then delete the projects.
Another option is to open the project and select send project and email the xer to yourself. Be careful her because sometimes companies only keep email for a certain time period then they are no longer accessible. You could always move the email to an archived email folder which should not get cleared out.
Another option is to export the xer files to a thumb drive, an external hard drive or a network drive.
Getting your free space back is a cumbersome process but it’s the only way to do it deleting activity by activity
If you are using version 7.0 or earlier You can execute this is the sql database
DECLARE@RC int
-- TODO: Set parameter values here.
EXECUTE@RC = [pmdb$primavera].[dbo].[cleanup_old_data]
(rigth click) EXECUTE
And also this
USE[pmdb$primavera]
GO
DECLARE @return_value int,
@pret_val int,
@pret_msg varchar(1000)
EXEC @return_value = [dbo].[cleanup_logical_deletes]
@pret_val = @pret_val OUTPUT,
@pret_msg = @pret_msg OUTPUT
SELECT @pret_val as N'@pret_val',
@pret_msg as N'@pret_msg'
SELECT 'Return Value' = @return_value
GO
(rigth click) EXECUTE
Hi All,
I would see Udo's comment and try step 2, which seems the safest in terms of securing your data.
You are likely using the free OracleXE database client on a local machine. OracleXE, since it's free and lite, has a max on the size of the database - 4GB user storage (or 5GB total physical storage).
If you've never logged into the OracleXE management software, then you might feel a bit squeemish at first. There should be an icon on db or in your Start -> Programs area. The Oracle XE admin app is web-based so it will bring up a web browser.
Step 2 above says to login with the SYSTEM account. So what's the password right? Well, it was set when you installed the software on your pc. Hopefully you remember or someone who did the install knows.
Hope that helps.
Michael
www.planacademy.com - Primavera P6 Tutorials from Beginner to Advanced.
Hello Planners,
attached some workarounds for that error. I hope it helps.
regards Udo
Applies to:
Primavera P6 Professional Project Management - Version: 7.0 and later [Release: 7.0 and later ]
Information in this document applies to any platform.
Symptoms
The following error is encountered when attempting to launch P6 version 7.0 standalone:
Event Code: PRMDB-2193-7 Message:PRM DBAccess Error: Database Server Error: ORA- 12952: The request exceeds the maximum allowed database size of 4 GB
ORA-06512: at "ADMPRM $PM.RT_USESSION", line 13
ORA-04088: error during execution of trigger 'ADMPRM$PM.RT_USESSION'
ORA- 06512: at line 4
Cause
Oracle Database Express Edition is designed to provide users with 4 GB of user data storage. Physical storage is limited to a database size of 5 GB of total overall size. This includes the system tablespace, but excludes temporary and rollback. The Oracle XE database had reached its 4GB limit of user data storage.
Solution
Workaround 1 (Recommended):
Workaround 2 (Optional):
Workaround 3 (Optional):
Call ORACLE, they are honest and serious professionals that will give you a solution on the spot as we all know P6 is easy to use software, solution got to be easy though not obvious. Just remember to share their response with us.
Dear Hosam,
I just got this error today and I'm still looking for answers. I did delete some of the projects then suddenly deleting projects produced the same error. Hopefully someone out there can help.