Full Optimize Problem
Hi Guys,
I am getting the following error when doing a full optimize with database compression:"Error message:Arithmetic overflow error converting numeric to data type numeric.
The statement has been terminated."
I am guessing this has a lot to do with the performance issues i am having with system at the moment. Everything is slow at the moment and I am getting SendGovener issues as well.
Any help will be appreciated.
Regards,
AvdB
Hi all,
We are having that same problem and really need to solve it.
So, reading the thread and the note, it seems that we can have that error due to 2 different problems:
1) numbers too big in the fact tables.
2) a wrong entry in the tbl.Defaults table (using a comma notation in a "version" entry instead of a dot notation).
So, we would need help with the following:
1) about tbl.Defaults, in our case we only have values with commas in an entry like this:
UserId Type App KeyID Value
_GLOBAL SYSTEM PARAMETROS SIGNED_DATA_FORMAT 20,15
All the ones about version look like this:
UserId Type App KeyID Value
_GLOBAL VERSION PARAMETROS 1.022
So, is the entry about the Key "Signed_Data_Format" supposed to be causing the problem? Should we either change it or erase that entry?
2) we don't have numbers too big in the database (in this case), but how are we suppose to prevent that from happening?
Thank you,
Rafael
Similar Messages
-
Full Optimize problem - BPC 10.1 Classic on HANA
Hi,
I try to execute a Full Optimize, but it always ends with a warning and starts the Light Optimize instead.
The model has 18 dimensions and a very large dimension is in the so-called "Last dimension". I'd expect the Full Optimize to reorganise the model.
ENABLE_FIXED_CUBENAME is not active/set.
Any ideas what is causing this or how to enforce the full optimize to be performed?
Best regards,
ChristophHi Chrisoph,
Do you know the full implication after running a full optimize? changing of cube names and so on?
You can ENABLE_FIXED_CUBENAME parameter by looking at sap note 1689814
once you fixed the cube name you can only run lite optimize.
Andy -
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. -
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 -
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 -
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 -
Server time out by full Optimize application process
Hello,
we have problem with full optimize application processing. We have got error message "Server time out" on the Processing OLAP Database.
our test environment on the VM x64bit, Server 2008
Please anybody helps me to solve this issue.
P.S. other optimize processes are workable (lite and Incremental)
Thanks
AraiHi,
Please see Note 1277009.
This might resolve your issue.
Karthik AJ -
Is the cube processed after an OLS full optimization?
Version: OutlookSoft V4.2
Sometimes, the value in fact tables are not consistent with the values retrieved via Analysis Service. At this time, processing the cube in Analysis Service may solve the problem.
An OLS full optimization sum the data in 3 fact tables to one, and empty the other two. My question is if the cube is also processed in this operation.
Thanks,
Jason
Edited by: chaoloo on Apr 7, 2010 11:51 AMHI,
This can happen when an administration process not finish properly. As you know the two of partions are MOLAP and those must be processed to see the data.
The optimization process is processing the partitions at the end.
Best regards,
Mihaela -
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!
KevinHere 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 ]============== -
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 -
Hi
I have a optimization problem and wondering if you can help me, The problem is I am getting two diffrent costs for two diffrent users, when I login and run as the object owner the cost is normal but when I login and run the query as a diffrent user I have a dramatic increase in the costs.
For example to retrieve the rows from Work_Order_Coding_Tab as the object owner the cost is 1 while logged in as the other user the cost is 26070 :(.
views such as xxx_work_order_coding, active_work_order has got more than 2 million records.
The query is
SELECT a.wo_no "AOnr", a.customer_no "Kundnr", c.name "Kundnamn",
a.contact "Kontakt", a.reference_no "Referens",
a.err_descr "Kort_beskrivning", replace(a.err_descr_lo, chr(13) ||
chr(10), ' ') "Lång_beskrivning", a.mch_code "Objektnr",
b.mch_name "Objektnamn", replace(a.performed_action_lo, chr(13) ||
chr(10), ' ') "Utfört arbete", sum(b.amount) "Kostnad", sum(
b.sales_price_amount) "Kundpris", a.reg_date "Regdatum",
a.real_f_date "Utf_datum", a.work_master_sign "Arbetsbefäl",
a.work_type_id "Arbetstyp", a.state "Status"
FROM objown.active_work_order a, objown.xxx_work_order_coding b,
objown.cust_ord_customer c
WHERE b.work_order_account_type = 'Kostnad'
AND a.wo_no = b.wo_no
AND a.mch_code = b.mch_code
AND a.customer_no = b.customer_no
AND a.customer_no = c.customer_no
AND b.customer_no = c.customer_no
AND a.mch_code = b.mch_code
AND b.order_no IS NULL
AND a.agreement_id IS NULL
AND (a.work_type_id = 'L'
OR a.work_type_id = 'U'
OR a.work_type_id = 'S'
OR a.work_type_id = 'T'
OR a.work_type_id = 'UF')
AND a.customer_no < '5%'
AND a.customer_no LIKE '10027'
AND a.org_code LIKE '510'
AND a.state LIKE 'Av%'
GROUP BY a.wo_no, a.customer_no, c.name, a.contact, a.err_descr,
a.err_descr_lo, a.mch_code, b.mch_name, a.performed_action_lo,
a.work_master_sign, a.work_type_id, a.reference_no, a.state,
a.reg_date, a.real_f_date
When Running as the object owner I get the following costs, is
Step # Description Est. Cost Est. Rows Returned Est. KBytes Returned
1 This plan step retrieves a single ROWID from the B*-tree index CUST_ORD_CUSTOMER_PK. 1 1 0,007
2 This plan step retrieves one or more ROWIDs in ascending order by scanning the B*-tree index ACTIVE_WORK_ORDER_IX4. 1 1 --
3 This plan step retrieves rows from table ACTIVE_WORK_ORDER_TAB through ROWID(s) returned by an index. 1 1 0,198
4 This plan step loops through the query's IN list predicate, executing its child step for each value found.
5 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause. 2 1 0,205
6 This plan step retrieves one or more ROWIDs in ascending order by scanning the B*-tree index WORK_ORDER_CODING_PK. 1 1 --
7 This plan step retrieves rows from table WORK_ORDER_CODING_TAB through ROWID(s) returned by an index. 1 1 0,053
8 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause. 3 1 0,258
9 This plan step retrieves a single ROWID from the B*-tree index ACTIVE_WORK_ORDER_PK. 1 1 --
10 This plan step retrieves rows from table ACTIVE_WORK_ORDER_TAB through ROWID(s) returned by an index. 1 1 0,014
11 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause. 4 1 0,271
12 This plan step has no supplementary description information.
13 This plan step designates this statement as a SELECT statement. 5 1 0,271
AND Running as end user brings the following costs!
1 This plan step retrieves a single ROWID from the B*-tree index CUST_ORD_CUSTOMER_PK. 1 1 0,007
2 This plan step retrieves one or more ROWIDs in ascending order by scanning the B*-tree index ACTIVE_WORK_ORDER_IX4. 1 360 --
3 This plan step retrieves rows from table ACTIVE_WORK_ORDER_TAB through ROWID(s) returned by an index. 29 10 1,982
4 This plan step loops through the query's IN list predicate, executing its child step for each value found.
5 This plan step represents the execution plan for the subquery defined by the view ACTIVE_WORK_ORDER. 29 1 4,095
6 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause. 30 1 4,102
7 This plan step retrieves all rows from table WORK_ORDER_CODING_TAB. 26 070 10 0,527
8 This plan step retrieves a single ROWID from the B*-tree index ACTIVE_WORK_ORDER_PK. 1 1 --
9 This plan step retrieves rows from table ACTIVE_WORK_ORDER_TAB through ROWID(s) returned by an index. 1 1 0,014
10 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause. 26 071 3 0,199
11 This plan step represents the execution plan for the subquery defined by the view XXX_WORK_ORDER_CODING. 26 071 3 17,748
12 This plan step accepts two sets of rows, each from a different table. A hash table is built using the rows returned by the first child. Each row returned by the second child is then used to probe the hash table to find row pairs which satisfy a condition specified in the query's WHERE clause. Note: The Oracle cost-based optimizer will build the hash table using what it thinks is the smaller of the two tables. It uses the statistics to determine which is smaller, so out of date statistics could cause the optimizer to make the wrong choice. 26 102 1 10,018
13 This plan step has no supplementary description information.
14 This plan step designates this statement as a SELECT statement. 26 103 -- --AND a.customer_no < '5%'
AND a.customer_no LIKE '10027'
AND a.org_code LIKE '510'
Does the query bring back the expected results? There appears to be an issue with your customer_no logic. The only customer_no that will meet your criteria is '10027', the < '5%' appears redundant.
with a as (
select '10027' customer_no from dual union all
select '10027x' customer_no from dual)
select *
from a
where a.customer_no < '5%'
and a.customer_no like '10027';Also, your LIKE operators can be rewritten as '=' if you do not use wildcards, ie '%' or '_'.
If the active_work_order table is larger than the others, you may want to use the smallest table when comparing the customer_no column as it may assist in the execution path. -
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
Maybe you are looking for
-
CM Upgrade 8.6 to 9.1
I am running CM 8.6.2, I am upgrading to 9.1.2 I have the license and the media to ugrade. I have applied all pre-9.0 licenses. I will not be using IPv6 I have around 350 phones total. I have the following 3 Nodes Publisher 7825-I5 at my location. Su
-
Getting medium write error on burning a disc image using Disk utility
Have a MacBrook Pro 15 inch, circa Summer 2007, using OX 10.4.11. up until recently (as in before February) have been able to burn DVD's using Toast (message Medium Writer Error). Started getting problems where the burn failed. Thought maybe it was T
-
STATIC IP issues from outside of firewall
Hi I’m having one issue, we have static IP and we NAT the same to some local IP for our internal needs. Whenever we tried to reach the static IP from outside of firewall(some other network), it is working properly. But when we try to ping or use that
-
Select more than one item in a SUD listbox?
Is there a way to select more than one item in a listbox in a SUD? I can't find anything in the properties relating to that. I want to be able to select one or more items in a listbox just like I can in LabVIEW. George
-
'Unable to access application'-Error in ACC-installation
Dear Gurus, I started an adaptive computing controller 1.0 SP8 installation. In phase 5 - Start J2EE Engine for Online deployment- it ran into an error: Unable to access application $(DIR_EXE_ROOT)/run/startsap. No such file or directory. I used the