Full Optimize Failing
Hello,
Was wondering if any experts can give any insite into how to fix our full optimize from failing. We have had a custom package running for a few years which one of the last steps it does a full optimize. About a week ago it started to fail on this step and when we try to manually optimize from the front end it fails as well. We are able to optimize from the backend however. There are no additional processing running during this time, can anyone give any suggestions on what may be causing the problem? Is there some temp file that needs to be cleaned? I tried to do a modify of the application and that has not worked. We are on version 7.0.
Thanks in advance!
Kevin
Here are a few of the messgaes I see in that table around the time of me trying to optimize this morning. Not sure what these mean:
==============[System Error Tracing]============== [System Name] - ApplicationService [Message Type] - ErrorMessage [Job Name] - OSoft.Services.Webservice.ApplicationService.ApplicationService.Query() [DateTime] - 7-27-2011 7-29-05 AM [UserId] - [Exception] DetailMsg - {You are not authorized to perform this task. Please contact your BPC administrator.} ==============[System Error Tracing End ]==============
==============[System Error Tracing]============== [System Name] - ApplicationService [Message Type] - ErrorMessage [Job Name] - OSoft.Services.Webservice.ApplicationService.ApplicationService.Query() [DateTime] - 7-27-2011 7-29-16 AM [UserId] - [Exception] DetailMsg - {You are not authorized to perform this task. Please contact your BPC administrator.} ==============[System Error Tracing End ]==============
==============[System Error Tracing]============== [System Name] - DatabaseHandler [Message Type] - ErrorMessage [Job Name] - CommitTran [DateTime] - 7-27-2011 7-37-54 AM [UserId] - User [SqlException] Type - System.Data.SqlClient.SqlException Errors - System.Data.SqlClient.SqlErrorCollection Class - 10 LineNumber- 0 Message - {Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.} Number - -2 Procedure - ConnectionRead (recv()). Server - BPCMS7P-OMF-03 State - 0 Source - .Net SqlClient Data Provider TargetSite- Void OnError(System.Data.SqlClient.SqlException, System.Data.SqlClient.TdsParserState) HelpLink - ==============[System Error Tracing End ]==============
==============[System Error Tracing]============== [System Name] - DatabaseHandler [Message Type] - ErrorMessage [Job Name] - RollbackTran [DateTime] - 7-27-2011 7-37-55 AM [UserId] - User [Exception] DetailMsg - {This SqlTransaction has completed; it is no longer usable.} ==============[System Error Tracing End ]==============
==============[System Error Tracing]============== [System Name] - OSoftOptimizeManage [Message Type] - ErrorMessage [Job Name] - OptimizeApplication() [DateTime] - 7-27-2011 7-37-55 AM [UserId] - mscorlib [Exception] DetailMsg - {Exception has been thrown by the target of an invocation.} ==============[System Error Tracing End ]==============
==============[System Error Tracing]============== [System Name] - ApplicationService [Message Type] - ErrorMessage [Job Name] - OSoft.Services.Webservice.ApplicationService.ApplicationService.Query() [DateTime] - 7-27-2011 7-40-18 AM [UserId] - [Exception] DetailMsg - {You are not authorized to perform this task. Please contact your BPC administrator.} ==============[System Error Tracing End ]==============
==============[System Error Tracing]============== [System Name] - ApplicationService [Message Type] - ErrorMessage [Job Name] - OSoft.Services.Webservice.ApplicationService.ApplicationService.Query() [DateTime] - 7-27-2011 7-40-45 AM [UserId] - [Exception] DetailMsg - {You are not authorized to perform this task. Please contact your BPC administrator.} ==============[System Error Tracing End ]==============
Similar Messages
-
Full optimize Failed when scheduled
Hi everyone,
I got an issue with a full optimize package in SAP BPC 7.0 MS when scheduled.
The package admin_Optimize i use is the standard one. They are no overlapping package scheduled at the same time.
When i manually run the package for a Full optimize on one application it works.
When i manually run the package for a Lite optimize on one application it works.
When i schedule the package for a Lite optimize on one application it works.
When i schedule the package for a Full optimize on one application the package failed and stay stuck. Then the application stay unavailable.
This issue takes place in the production environment so i can't make a test during the day. and some people are using the application very early in the morning so they stay stuck in the morning.
Have you ever meet this issue ? What can i do ? What could be the test ?
Best regards,
PaulWhen i start the full optimize by hand it's working fine (But we are supposed to launch it at 4h15 in the morning so i would prefer to schedule it !)
Are you receiving any error message or actually the statusof package show that was not completed and no erro mesage is provided?
The package stay stuck, it never ends even after 4 hours. We are obliged to kill it.
Did you check tbllogs durin the time when the package is running ? It can provide very usefull information.
Yes we did, nothings appears in this table ... all the other package are correclty recorded even the LiteOptimize that is run 30 minutes after ... byt the way this Lite optimize doesn't failed.
Also please check the event viewer from BPC servers during the period when the full optimize was running.
No error related to bpc. But i had an error 45 minutes before related to Osoft data manager -
The Full Optimization & Lite Optimization Data Manager packages are failing
Hi,
The Full Optimization and Lite Optimization Data Manager packages are failing with the following message "An Error occured while querying for the webfolders path".
Can anyone had similar issue earlier, please let me know how can we rectify the issue.
Thanks,
Vamshi KrishnaHi,
Does the Full Optimize work from the Administration Console directly?
If it's the case, delete the scheduled package for Full Optimize every night (in both eData -> Package Schedule Status and in the Scheduled Tasks on your server Control Panel -> Scheduled Tasks), and then try to reschedule it from scratch.
If it's not solving your problem, I would check if there are some "wrong" records into the FACT and FAC2 tables.
After that, I would also check if the tblAppOptimize is having other values than 0. For all applications, you should have a 0 there.
Hope this will help you..
Best Regards,
Patrick -
Full optimize with Compress DB throws error
Hi,
We are using SAP BPC 7.0 MS version... We have an SSIS package scheduled every morning for a Full Optimize with Compress DB. For the past few days this package had been failing after running for 2 hours, with the following error message :
[Error][OSoft.Services.Application.OptimizeManage.OptimizeManageCtrl]
When we tried doing a Full optimize without compress DB or Index defragmentation from the Admin Console, it completes successfully.
But when we try doing a Full Optimize with Compress database checked, it runs for about 2 hours and throws the following error :
An error has occurred during processing
Error Message : Thread was being aborted
After the above process it leaves all the records in the fact table with source column 1.
Can anyone please share your ideas on this issue if you have faced this before and a way to fix this.
We do not have bad or invalid records in the fact table.Hi,
Please recheck if you have any calculated members or invalid dimension members.
Calculated members will create such problems.
Please check you have enough free disk space on your server which has Database and Analysis Services.
Please make sure you have enabled 3GB support in Everest Update component, if you have more than 4GB RAM in your Application server.
Please check if you have setup the Analysis Server settings with a minimum recommended value for the
Threadpool \ Query \ MaxThreads parameter.
The recommended value is higher of 10 or (number of Analysis Services Databases + twice the number of processor cores).
If you have 4 dual core processors in your Analysis Services server (8 cores) and 5 Analysis Services DB, then you must set the value as 5+(2*8)=21.
The source column will be updated as zero when the full optimization is complete. It remains as 1 since your full optimization is not completed.
Since it says thread is being aborted, I believe the Analysis Services server settings change might resolve your issue.
Karthik AJ -
Report and data comming wrong after compress data with full optimization
In SAP BPC 5.1 version to increase the sysetm performance we did full optimization with compress data.
Theis process end with error, after login into system the report and values comming wrong,
What is the wrong,how to rectify it
Regards
prakash JThis issue is resolved,
-
Error message for full optimization
Dear all,
I received the following error message when i tried to run a full optimization. Does anyone know the following error message mean?
"Error message:There is already an object named 'CONSTTBLFACTBUDGET_ALLOCATION' in the database.
Could not create constraint."
And where can i see the log for optimization?
Thanks and regards,
Lip CheanHi,
Please refer to the Note 1101768.
This error can occur if there is more than one constraint with the same name located in the same SQL database.
For example, if you backup the tblFactFinance table by exporting a copy of the table as tblFactFinanceBackup within the same SQL database and then later you rename the tblFactFinance in use as tblFactFinance_Old and the restore the tblFactFinanceBackup as tblFactFinance, the additional constraint of tblFactFinance_Old will cause this issue.
To resolve, using the example above, delete the additional constraint by going to START->PROGRAMS->Microsoft SQL Server->SQL Query Analyzer ->Connect to the SQL Server at issue->Open the Object Browser->expand the SQL database at issue->User tables->dbo.tblFactFinance_old->Constraints->select the fxdbo.tblFactFinance constraint and delete it.
After the constraint is deleted then the application can be saved without this error.
Hope this helps. -
SAP BPC 7.5 NW SP09 - full optimize never ends. Job can not be stopped
Hi experts,
we sent a full optimize process in order to compress an application but it never finished.
I noticed that through BW transaction RSPC the process chain: Full optimization stops in "Collapse box" step and become red.
so the cube were locked and can not be used. we checked through in BW TE SM50 that process is in "Running status"
I tried to stop it through BW TE SM37 but can not be done due its status.
Please any idea how to stopped it and how solved full optimization issue?
thanksTry cancelling it from SM50 (with core or without core). Never run Full Optimization for compression, run Light Optimization if you need to compress a cube.
Gersh -
Full Optimization and rearrangement of dimensions
In BPC, there are times when Full optimize u2018mayu2019 create a new cube if rearrangements of dimensions gives more optimal performance. Also, upon transport, the technical name u2018mayu2019 be different for the same reason.
My questions - how and when does BPC system realize to rearrange dimensions? Is it during every full optimize?
I hope data does not get affected, but what gets affected?
In basic terms, what is "rearrangement of dimensions"?
Also, when should we do full optimize?
When we transport, does that change the technical name?
Thanks.
AnandHi Anand -
Part two...
This process being understood, on your specific questions:
How and when does BPC system realize to rearrange dimensions? The decision to rearrange dimensions is based upon an analysis of transactional data and sizing of the underlying SID tables supporting that data
Is it during every full optimize? Not necessarily.
I hope data does not get affected, but what gets affected?
Data is retained, but if the cube is reorganized then the technical name of the cube supporting the BPC application may change during the process.
In basic terms, what is "rearrangement of dimensions"?
Rearrangement of dimensions is the process where the BW characteristics are reassigned to different BW dimensions to promote an optimal data model.
Also, when should we do full optimize?
If you suspect that your performance has degraded due to changes in your transactional data storage patterns, you may need to update your current BW data model to achieve the best performance from your application.
When we transport, does that change the technical name?
There is guarantee that the same technical name will exist in the target system, so the answer is maybe not. Please rview the folowing blog for more details on name retention after transport:
[/people/sheldon.edelstein/blog/2010/03/30/bw-objects-technical-name-changeability-for-sap-bo-planning-consolidation-version-for-netweaver|/people/sheldon.edelstein/blog/2010/03/30/bw-objects-technical-name-changeability-for-sap-bo-planning-consolidation-version-for-netweaver]
Regards,
Sheldon -
Full Optimize Error - OutOfMemmory in SAP BPC
Hello
Has anyone come across the following error when running a full Optimize from SAP BPC Administration.
Error Message: Exception of type system OutOfMemoryException was thrown.
I've raised a support call but would appreciate any help on knowing why this happens and how I can resolve it.
Many thanks
HinaHello Appu,
Do you have something in default script logic? Revise it in the admin consol Default.LGF inside the application and scripts logic, and delete the code include. Always if you don't need to use it.
By defect SAP BPC include some code there and you must delete it and save the changes.
Regards,
Gabriel Garcia -
Hi
Is there a time limit for full optimize when running it from BPC Admin?
I have tried to do a full optimize two times and it ends after 1 hour both times with the error messege:
"Thread was being aborted"
Do any one know what the problem can be and if there are a time limit for 1 hour how can I walk around this time limit?
Regards
FredrikHi,
this is due to the timeout settings in ASP.net file web.config.we can change this setting as below.
In order to fix this issue, you need to modify the file "web.config" in the
folder \BPC\websrvr\web of the Web Server. Please, inside this file, locate
the following line:
<httpRuntime maxRequestLength="102400" executionTimeout="3600" />
and change the executionTimeout to 36000.
This means that when a process takes longer than 3600 seconds = 1 hour to
complete, the execution meets a timeout; by increasing the
"executionTimeout" parameter to 36000 = 10 hours the error disappears.
Remember that you need to run an "IISRESET" command on the web server after
doing this change.
thnks. -
SQL index of facttable disappears after full optimize + compress db
Hello all,
I have a customer that is using Outlooksoft 4.2sp3 for more then a year now. Every weekend a full optimize + compress database is running.
Since 4 weeks, the SQL index of the fact table is disappeared after a full optimize+compress. They use a custom index and have about 95.000.000 records in the facttable.
Does anyone have a clue why this index is deleted and perhaps a solution?
Kind Regards,
Alwin Berkhout
Edited by: Alwin Berkhout on Apr 20, 2008 9:50 PMJoost, Sorin,
I have created server extensions for the database that has these problems. Now for the first time since 5 weeks, after the optimize, the indexes are still there (or automatically recreated).
Thanks for the tips.
Strange thing though: why didn't I had this problem before?
Alwin -
0orgunit_att full load failed
The full load failed. when i analyzed the error is job terminated in source system
i checked the job overview in source system and there is a dump.
the dump is
Runtime Errors ITAB_DUPLICATE_KEY
Date and Time 02.02.2009 08:44:59
Short text
A row with the same key already exists.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLHRMS_BW_PA_OS" had to be terminated because it
has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An entry was to be entered into the table
"\FUNCTION=HR_BW_EXTRACT_IO_ORGUNIT\DATA=MAIN_COSTCENTERS[]" (which should
have
had a unique table key (UNIQUE KEY)).
However, there already existed a line with an identical key.
The insert-operation could have ocurred as a result of an INSERT- or
MOVE command, or in conjunction with a SELECT ... INTO.
The statement "INSERT INITIAL LINE ..." cannot be used to insert several
initial lines into a table with a unique key.
to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"ITAB_DUPLICATE_KEY" " "
"SAPLHRMS_BW_PA_OS" or "LHRMS_BW_PA_OSU06"
"HR_BW_EXTRACT_IO_ORGUNIT"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
please suggest <removed by moderator>.
pramod
Edited by: Siegfried Szameitat on Feb 2, 2009 11:06 AMHi asish,
Runtime Errors ITAB_DUPLICATE_KEY
Date and Time 02.02.2009 06:18:44
180 i0027_flag = ' '
181 ombuffer_mode = ' '
182 TABLES
183 in_objects = in_objects
184 main_costcenters = main_co
185 EXCEPTIONS
186 OTHERS = 0.
187
188
>>>>> INSERT LINES OF main_co INTO TABLE main_costcenters.
190
191 last_plvar = orgunits-plvar.
192 REFRESH in_objects.
193 MOVE-CORRESPONDING orgunits TO in_objects.
194 APPEND in_objects.
195 ENDIF.
196
197 ENDLOOP.
198 ENDIF.
199
200 LOOP AT orgunits.
201
202 CLEAR: infty1000, main_co, infty1008, l_t_hrobject.
203 REFRESH: infty1000, main_co, infty1008, l_t_hrobject.
204
205 APPEND orgunits TO l_t_hrobject.
206
207 LOOP AT l_t_i1000_all INTO infty1000 WHERE objid = orgunits-objid.
208 APPEND infty1000.
i checked this this reflects a structure. i cannont modify as this is standard table.
pramod -
Full Optimize - Space needed in BW/Oracle
Hi.
This is kind of a SAP basis question, I think. We are doing full optimization, which eventually ends in an ABAP dump indicating that the Oracle database is running out of table space.
We have had similar problems before, and just had the Oracle DBA extend the table space.
It is obvious that Full Optimization need to do a lot of work in restructuring and recreating the application set. The question now is how much table space is needed to do a full optimize? Is it possible to estimate?
The DBA doesn't want to set AutoExtend on the database table space. Does anyone know best practice on this matter of subject?
We are running SAP BPC 7.5 SP07.
Kind regards
Mogens SmerdelI cant give a specific answer as i am not a basis expert but can help you understand the full optimize process.From a technical point of view,the cube is restructured and the dimension combinations are reviewed based on the fact table ratios.
So this process creates some temporary tables and then finally a new cube is created .
You might have to look at the current cube fact tables and no of dimensions (tables) and make an estimate of the size and structure .
Regards,
Sachin -
Re: Full Optimize and Lite Optimize Disabled
Hi,
We have an BPC App.
What we need now is that for a particular group of users to have no access to run Full Optimize or Lite Optimize rights to trigger it.
Please can any one advice how to disable this functionality or un authorize this for particular set of users so that they cannot execute any optimization.
Regards.Hi,
Follow below steps:
1. Create a Team and assign users those should have an access for Full and light optimization
2. Goto Manage data>Maintain data management>Manage Packages
-->Select the team which you created in step 1
-->Select add package
--> Choosee process chain as /CPMB/LIGHT_OPTIMIZE
--> Give package name and description
--> Select Taks type as User Package
-->Click Save
3. Create one more package for Full Optimization as expalined in step 2 under same team
Now users who are related to this new team can able to run both Full and light optimizations provided Execute task assigned under task profile.
By following above steps you can assign many package to team and can modify team access from Manage Team user package access if you need.
Hope it helps..
Regards,
Raju -
Full Optimize withtou cube processing
Hello,
I'd like to run Full Optimize from SSIS (Administrative Task), but without full processing of the cubes. The reason is performance - I'd just like to move data into FACT tables and then run full process of whole database manually. Is it possible via some attributes, like ProcessMode or ProcessOption?
Thanks.
RadimSure, during the whole operation the system is unavailable, goal is to shorten processing times. It's much faster to do full process on database once than process each cube in serial way. And I didn't want to reinvent the wheel (wb+fac2 -> fact) with sql script.
For example, for light optimize you can disable processing of fac2, so same option would be nice for full process also.
Best regards,
Radim
Maybe you are looking for
-
Can't open nautilus from applications menu
I find that I can't open nautilus from applications menu any more. In the terminal, it won't open nautilus when running 'nautilus' without specifying a location or --new-window option. I've checked and tried to modify /usr/share/applications/org.gnom
-
How do I create a PDF in landscape orientation?
Sorry for the noob question, but I can't figure out how to do this and my searches on the web aren't coming up with the right answer. I'm using Acrobat 9 Pro, thanks.
-
Adobe color print utility with Mac 10.9.2 Mavericks operating system
Is the "adobe color print utility" compatible with Mac 10.9.2 Mavericks operating system? I am attempting to print without color management, using custom ICC profiles, and am informed that I need this utility to do so. Correct?
-
Iphone 5 very slow, how do I remove music? Im using the icloud and itunes match.
The phone locks up and restarts on its own now. Hard to navigate with it because its very slow. Already did a backup and restored it from the backup. Any ideas? Thanks
-
UIX 2.2.20 + ADF BC: java.lang.StackOverflowError
Hi, We have an application using ADF UIX 2.2.20 and ADF BC Recently the errors appeared in the logs: Apr 3, 2006 5:31:02 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet uix threw exception java.lang.Stack