Measue aggregation not used when OBIEE hits MV
Hi,
We are facing 1 issue in MV implementation in OBIEE i.e. aggregation is not used for measure when OBIEE hits the MV and it's using the aggregation when OBIEEhits the base table.Ex. A is a column with aggregation sum when we pull measure A for ttime dimension when it's hitting MV it's not using sum in obiee query and when it's hitting base table it's uisng sum.Can anyone tell me how can we overcome this issue.
Thanks,
Amrit
Hi Rajagopal,
I am not sure if that is exactly accurate as I have other tables where the LTS includes a second or even third table but both tables are not included in the query.
Example 1 - Table 1 joined to Table 2. Table 2 is setup as a LTS on Table 1. When a report is created off of Table 2, Table 1 is not included in the query.
Example 2 - Table 1 joined to Table 2. Table 1 is setup as a LTS on Table 2. When a report is created off of Table 2, Table 1 is not included in the query.
I have also verified that there is no other LTS on the Customer table but the issue still exists.
Any other thoughts you can provide would be appreciated.
Thanks
Similar Messages
-
The macbook reads a disc, and opens up DVD player but then says not permitted when I hit play, or any other button. Sometimes the initial music plays, but the screen remains black and then it all stops. These are shop bought DVD's that have previously worked on here, and work in DVD players, but have suddenly stopped. The computer is much older than the12 months warantee so I hope there is an easy fix? Thankyou!
Three things you can try:
1. Clean the superdrive with a proprietory CD/DVD lens cleaner that uses tiny brushes.
2. Perform an SMC reset:
Resetting the SMC (System Management Controller) on Intel-based Macs:
http://support.apple.com/kb/ht3964 and
http://support.apple.com/kb/HT1237?viewlocale=en_US
Resetting your Mac's PRAM and NVRAM:
http://support.apple.com/kb/ht1379
If you are using a Wireless Keyboard:
http://support.apple.com/kb/TS3273
3. Try the free DVD player VLC:
http://www.videolan.org/vlc/
which performs better than the built-in DVD Player. -
It is using the track number and not the sort order field. The reason I have multiple cds in one alumn is because they are books on cd.
Sorry for the typo my "b" key was not working correctly.
The sort field is not used when ordering multiple cds in one albumn folder, how do I correct this? It is using the track number and not the sort order field. The reason I have multiple cds in one albumn is because they are books on cd. -
Custom hostname verifier not used when business services use a http proxy
On OSB 10.3, we have a business services with an https end point. To access this end point, the business service used an http proxy.
The certificate of the business endpoint is a wildcard certificate *.certificate.be . So we have a custom hostname verifier defined in the ssl configuration on the weblogic Server
As we can see with the verbose mode at the jvm, the custom hostname verifier is not used when we use a http proxy in the business service. Osb use a ALSBHostnameVerifier and this one the defaulthostName
<Mar 2, 2011 7:31:11 AM CET> <Debug> <AlsbTransports> <BEA-000000> <*** Connecting via proxy *** HTTP @ my.proxy.be/XXX.XXX.XXX.XXX:8080>
[Loaded com.bea.wli.sb.transports.http.ALSBHostnameVerifier from file:/bea/osb_10.3/lib/sb-transports-main.jar]
[Loaded weblogic.security.utils.SSLWLSHostnameVerifier$DefaultHostnameVerifier from file:/bea/wlserver_10.3/server/lib/weblogic.jar]
Is there any way to force business service to used hostname verfifier defined in weblogic ssl server config?
ThanksThis is a known issue. Raise a case with support and ask a patch for bug#9182604
Regards,
Anuj -
TS1702 Apps will not download when I hit update, why is this?
Apps will not download when I hit update, why is this?
hello zombiasnow, adobe has announced in late 2011 that it will cease any further developement of flash on mobile devices, so now that's kind of a dead technology on mobile. if you have a complaint about a third party product, you'll have to put that to the vendor of this device (amazon in your case). the firefox support forum isn't the right place for such a discussion.
thank you for your understanding! -
Automatic hierarchie aggregation not working when dimension formula is used
Hey folks,
i'm facing the following issue. currently i'm setting up an application to plan sales quantities, prices and manufacturing costs.
subsequently i want to calculate following values for members of account dimension:
- turnover (price * sales)
-> implemented as dimension formula
-> in the account hierarchie it's a child of net revenue
-> account type: inc
=> calculation work fine in the reports
- manufacturing cost (manufacturing cost * sales)
-> implemented as dimension formula
-> in the account hierarchie it's a child of net revenue
-> account type: exp
=> calculation work fine in the reports
- net revenue (turnover - manufacturing cost)
-> in the account hierarchie it's the parent of turnover, manufacturing cost
-> account type: inc
=> key figure is empty !!
As far as i understood BPC is aggregating automatically along the hierarchie. That means to me that net revenue should be automatically calculated due to the hierarchical relation in account dimension.
Did anyone ever face same issue ? probably the hierachical aggregation is not working when key figures based on dimension formula is used !? Do i really have to implement script logic to solve this issue ?
Looking forward to interesting approaches to solve this issue !
Best regards,
MoritzHey,
sorry my description was misleading at this point. i don't have a formula define for net revenue dimension member. i expected the system to automatically calculate it by aggregation along the account dimension hierarchy where net revenue is parent to the turnover and manufacturing costs which are calculated by dimension formula.
Best regards,
Moritz -
Hi,
I have a table A with a column B timestamp(6). The tables contains around 300000 rows..
I have created index 'idx' on the column B.
When i compare column 'B' with systimestamp, it does not use the index, whereas if i compare 'B' with sysdate it uses the index.
Eg :
select count(*) from a where b<=sysdate;
The above used the index 'idx' and executed in 1 second
select count(*) from a where b<=systimestamp;
The above does not use the index and executed in 19 seconds.
Any Clue?
Thanks in AdvanceOracle is using Internal functions when you use SYSTIMESTAMP:
Work around will be to use TO_TIMESTAMP as shown below.. Or define a function based index..
You can check performance problem querying against a "TIMESTAMP WITH TIME ZONE" column link also
SQL> create table a(b timestamp(6));
Table created.
SQL> insert into a
2 select systimestamp+(level/24) from dual connect by level <= 30000;
30000 rows created.
SQL> commit;
Commit complete.
SQL> create index ndx on a(b);
Index created.
SQL> explain plan for
2 select count(*) from a where b <= sysdate;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 3858831102
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 13 | 1 (0)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 13 | | |
|* 2 | INDEX RANGE SCAN| NDX | 1 | 13 | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("B"<=SYSDATE@!)
Note
- dynamic sampling used for this statement
18 rows selected.
SQL> explain plan for
2 select count(*) from a where b <= systimestamp;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 3918351354
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 13 | 20 (15)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 13 | | |
|* 2 | TABLE ACCESS FULL| A | 1 | 13 | 20 (15)| 00:00:01 |
Predicate Information (identified by operation id):
2 - filter(SYS_EXTRACT_UTC(INTERNAL_FUNCTION("B"))<=SYS_EXTRACT_UTC(S
YSTIMESTAMP(6)))
Note
- dynamic sampling used for this statement
19 rows selected.
--"Just tried using TO_TIMESTAMP"
SQL> explain plan for
2 select count(*) from a where b <= to_timestamp(systimestamp);
Explained.
SQL>
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 3858831102
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 13 | 2 (0)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 13 | | |
|* 2 | INDEX RANGE SCAN| NDX | 4 | 52 | 2 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("B"<=TO_TIMESTAMP(TO_CHAR(SYSTIMESTAMP(6))))
14 rows selected.Edited by: jeneesh on Oct 23, 2012 11:18 AM -
After entering and saving my Facebook user name and password, the data is not used for subsequent entries into the application after the browser is reset. "Remember Passwords for Sites" is checked, but the data is only used if I do NOT have "Permanent Private Browsing enabled. Why does "Permanent Private Browsing" effect passwords? (Note: Facebook is NOT in the "Passwords / Exceptions..." list.)
I agree that password protection may be considered important by some for Private Browsing, however if that is the intention, then it would be one of the delineated items such as...remember browser history, remember download history, etc. that are check-listed under that function. Also, having a separate Passwords option implies that their functions are mutually exclusive and therefore should function independent of one another.
Thanks for your response. -
Condition in 7.0 query not used when mapped to dropdownlist in 3.5 web temp
Hi Experts
I have a 7.0 query with a condition so that it only shows topN records for a given KF. The query is shown in a chart in a 3.5 web template and here is the condition working just fine. However in the same web template has I made a dropdownlist which is based on the same query as the chart but here is the condition not used.
Do you know how I get the system to apply the condition to the dropdownlist as well?
I have tried to set the "Read mode" to the possible values (posted values, master data table, dimension table) on the dropdownlist element in the 3.5 web template but it didn't help.
Thanks and kind regards,
TorbenNo replies... closed...
-
When I highlight a word or phrase and copy to the clipboard, then paste it in another area the clipboard does not clear the phrase. Therefore, every time as I type and hit the enter key it continues to paste the phrase all over my document. I do have the latest download of Firefox installed (16.0, win 7 and that is when this started. How do I stop this obnoxious behavior so I can type a sentence with normalcy?
LouiseThank you, Iusually do that first thing with any computer problems. Old school computer fix. Hard Boot regardless! lol Thanks again.
-
Why Not Use WHEN OTHERS - Friday Question
There are several people on this forum that abhor use of WHEN OTHERS in the same vein as GOTO (which really is a bad practice). I have an open mind and am looking for the reason it should be avoided.
When used to output the state during unexpected exceptions, WHEN OTHES can dramatically reduce debug time. The only bad exception handler is WHEN OTHERS THEN NULL. Error logging to a table is important and should include the back trace and call stack in addition to listing pertinent parameter, constant and variable values. I consider this debug instrumentation. If you write perfect code or you don't have end users that are very creative in finding bugs that occur because of the convoluted way they get to the code that causes the error you don't need it. Or you like the thrill of the hunt going slogging through thousands of lines of code to try to figure out what caused the error. I am lazy and want to have it spelled out for me. Below is my error logging table (CODE is a session level transaction identifier used for filtering) and my error logging procedure is equivalent to DBMS_OUTPUT.PUT_LINE. This makes it easy to take other people's code and replace DBMS_OUTPUT with my error logging. This becomes very useful for debugging triggers since there is no standard output device.
CREATE TABLE SUPPORT.MESSAGE_LOGS
CODE INTEGER NOT NULL,
TEXT VARCHAR2(4000 BYTE) NOT NULL,
CREATED_ON TIMESTAMP(6) NOT NULL,
CREATED_BY VARCHAR2(100 BYTE) NOT NULL,
OSUSER VARCHAR2(100 BYTE),
MACHINE VARCHAR2(100 BYTE),
PROGRAM VARCHAR2(100 BYTE),
BACK_TRACE CLOB,
CALL_STACK CLOB
Typical insert is:
INSERT INTO message_logs (
code,
text,
created_on,
created_by,
osuser,
machine,
program,
back_trace,
call_stack )
VALUES (
utilities.get_xaction_sequence,
pv_text,
SYSTIMESTAMP,
UPPER ( utilities.get_session_user ),
UPPER ( utilities.get_osuser ),
UPPER ( utilities.get_machine ),
UPPER ( utilities.get_program ),
DBMS_UTILITY.format_error_backtrace,
DBMS_UTILITY.format_call_stack
Typical error text:
ERROR in UTILITIES.CREATE_FILE: ORA-29280: invalid directory path
Directory = FILEDIR
File Name = _Revoke_From_COGNOS_ALL_Script19-MAR-12.SQL
Linesize = 32000
Text - 1st chacters = -- File created on 19-Mar-2012 11:16:38Hoek wrote:
C'mon Ed, now shirley you must have an opinion regarding the use of WHEN OTHERS?
Feel free to share it with us
My opinion is that I hate it when an application -- any application, under any framework, in any language -- swallows an error message. As to getting into the weeds of WHEN OTHERS, I tend to agree that it should be avoided but am open to arguments for exceptions. Does that sound like waffling? It's not intended to be. Here's where I have to make a confession. When I transitioned from the role of "developer" (we called them "programmer/analyst" then) to dba, my shop was also transitioning from IBM's IMS database (hierarchical) to relational databases - first DB2, then as client-sever architecture came in they settled on Oracle as the C/S database. Because I was viewed as an "early adopter" and had been doing some development work on our first client-server apps, I was tagged to become our first Oracle DBA. (My first oracle db was v7.3 on Win 3.11) As a result of that path, I never really got heavily into development with PL/SQL. I can do OK on individual procedures - mostly for one-off or stand-alone use. But I never developed that mental framework and toolbox of procedures that only comes with working heavily in a language.
Don't call me Shirley -
Performance Issue - Index is not used when a zero padded string is queried
Hi All,
I have a table T1 which has many columns. One such column say C1 is a varchar2(20). T1 has 10 million rows and there is an index called I1 on C1. Stats are current for both tables and indexes. These are the scenarios:
Scenario 1
select * from T1 where C1 = '0013206263' --Uses index I1
187 ms
Scenario 2
select * from T1 where C1 = '8177341863' --Uses index I1
203 ms
*Scenario 3*
*select * from T1 where C1 = '0000000945' --Uses Fulll Table Scan --Very Slow*
*45 seconds*
When I force the sql to use the index through a hint, it is working fine:
Scenario 4
select /*+ INDEX (t1 i1) */ * from T1 where C1 = '0013206263' --Uses index I1
123 ms
Scenario 5
select /*+ INDEX (t1 i1) */ * from T1 where C1 = '8177341863' --Uses index I1
201 ms
*Scenario 6*
*select /*+ INDEX (t1 i1) */ * from T1 where C1 = '0000000945' --Uses index I1*
*172ms*Is there any reason for this performance issue? Why does the optimizer goes for FTS in Scenario 3?
Edited by: user539954 on May 14, 2009 12:22 PM
Edited by: user539954 on May 14, 2009 12:32 PMuser539954 wrote:
Please see the replies below:
- How many distinct values for C1 out of that 10 million rows? I'm guessing that histograms were created for C1, correct?
=>7 million distinct c1 values. I have not gathered a histogram yet. Should I try that?
SQL> explain plan for select * from T1 where C1 = '0000000954';
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
| 0 | SELECT STATEMENT | | 244K| 19M| 26228 (5)|
| 1 | TABLE ACCESS FULL| T1 | 244K| 19M| 26228 (5)|
SQL> explain plan for select * from T1 where C1 = '0033454555';
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
| 0 | SELECT STATEMENT | | 532 | 43624 | 261 (0)|
| 1 | TABLE ACCESS BY INDEX ROWID| T1 | 532 | 43624 | 261 (0)|
| 2 | INDEX RANGE SCAN | I1 | 532 | | 2 (0)|
It's possible you do have a histogram, even though you didn't plan on creating it, if you're running 10g.
In the absence of a histogram and with 7M distinct keys in 10M rows, Oracle should have predicted 2 rows for both queries, not 244,000 and 532.
If you do have a histogram, you probably need to get rid of it.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
"Science is more than a body of knowledge; it is a way of thinking"
Carl Sagan
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format. -
Ok, first time here, so forgive me if Im repeating the question. I just ordered a NEW iPad 4 32gb from Amazon, but is actually being sold by a seller called "iPadShop". Although this seller got a high approval rating of 4.9 there were several reports of customers receiving used and refurbished iPads but sold as new. Once I receive mine how can I verify it is new. Also, even the ones that were new were purchased by this seller and then resold, which shortened the life of the 1 year warranty offered by Apple..?
If you just ordered it, I suggest you cancel your order as soon as possible. If you can't contact Amazon, call your credit card company and cancel payment on that. Why go through worrying about the ipad you are paying for as new? If it's to save money, then that can be defeated if you get a used or refurbished ipad with a less than full one year warranty. You'll be dealing with the ipad shop's return policy which could mean that once you open it, it's yours, unlike when you buy from Apple you have a full 14 days to return it even if you've opened it.
I looked at Amazon and did not see a price difference. If cost led you to buy from Amazon, what are you saving?
I suggest you buy it directly from Apple. If cost is an issue, consider buying a refurbished ipad from the Apple online Refurbished store. I would not buy a refurbished anything from anywhere but the Apple online refurb store.
The ipad 4 32 gb is $499.00 refurbished - a savings of $100.00 vs. a new one. We bought two ipads last year and one as a gift this year and they have been great!
All ipads sold in the Apple refurb store come with new front and back covers, a brand new battery, a full one year warranty, and in case it matters, come in a new white Apple box like all ipads do. Earphones and charger are also included. You can also get the new Apple Care +, which insures up to three breakages (damaged glass, water damage, etc.) in two years.
Hope this helps. -
ITunes credit not used when making family share purchase
The stated purchase rules from the Apple website are:
Making purchases
After you set up your family, any time a family member initiates a new purchase it will be billed directly to your account unless that family member has gift or store credit. First, their store credit will be used to pay the partial or total bill. The remainder will bill to the family organizer's card. As the family organizer, any receipts generated by the transaction will be sent to you.
It clearly states that store credit will be used first. When my daughter made a song purchase on 20 Nov 2014, my credit card was charged despite my daughters $50+ dollar credit balance in iTunes.
Any thoughts?I believe the credit would have to be on his iTunes store account, not yours, in order to be applied to his purchases before any balance due is charged to the organizer's credit card. Your purchases would be charged to your credit first.
-
Large pages are not used when databases are started from srvctl on ibm aix
Hi,
RAC 11.2.0.3.2 on IBM AIX 6.1 TL07. Mixed databases 10.2.0.5.4 and 11.2.0.3.2
When started with SQLPLUS, the database instance use LARGE PAGES
When started with SRVCTL, the database instance doesn't use LARGE PAGES, even root has the right capabilities
lsuser -a capabilities root
root capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE
The same behaviour is observed for 10.2.0.5.4 and 11.2.0.3.2 databases.
ORACLE_SGA_PGSZ=16m is exported in /etc/profile.
I found that :
1) When the node is restarted (shutdown -r now), clusterware and all databases (database 10gr2, 11gr2 , asm, ...) start automaticaly WITHOUT using LARGE PAGES. After this, databases restarted with SQLPLUS are USING LARGE PAGES, and databases restarted with SRVCTL NEVER use LARGE PAGES.
2) When the clusterware is restarted manualy (crsctl stop|start crs) all databases (database 10gr2, 11gr2 , asm, ...) start automaticaly and all instances (10gr2 and 11gr2) are USING the LARGE PAGES. After this, database are ALWAYS using LARGE PAGES (started with SQLPLUS or SRVCTL)
So, this problem occurs only after a restart of the host. All is fine after a manual restart of the clusterware.
my references
SGA Not Pinned In The AIX Large Pages When Instance Is Started With Srvctl [ID T369424.1]
How to enable Large Page Feature on AIX-Based Systems [ID 372157.1]
Thank's for your helpThe problem here is for IBM AIX (I dont find the equivalent for ulimit -l max locked memory, in ulimit for AIX)
Here a portion of the original /etc/ohasd script (ulimit -c and -n are already set for AIX)
start_stack()
# see init.ohasd.sbs for a full rationale
case $PLATFORM in
Linux)
# MEMLOCK limit is for Bug 9136459
ulimit -l unlimited
ulimit -c unlimited
ulimit -n 65536
ulimit -c unlimited
ulimit -n 65536
esac
So i put a trace
start_stack()
# see init.ohasd.sbs for a full rationale
case $PLATFORM in
Linux)
# MEMLOCK limit is for Bug 9136459
ulimit -l unlimited
ulimit -c unlimited
ulimit -n 65536
ulimit -c unlimited
ulimit -n 65536
echo "$(ulimit -a)" > /tmp/coh.log
echo "$(lsuser -a capabilities root)" >> /tmp/coh.log
esac
here is the result :
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) 65536
threads(per process) unlimited
processes(per user) unlimited
root capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE
i continue investigating this way ...
Maybe you are looking for
-
Excise invoice with reference to credit memo/debit memo
Normally we create Excise Invoice with reference to Inter company Invoices . Is it possible to create Excise invoice w.r.t. Credit Memo/ Debit Memo. If Yes , then what are the settings that needs to be maintained and where?
-
Dont want to display "Report Successfully Run" applet
Dear Users....I Dont want to display "Report Successfully Run" applet after my report runs successfully. I'm calling report from Forms-10g Rel.2 and my browser is Internet Explorer ver.6. I'm sending my report directly to printer using Web.Show_Docum
-
I have a iphone 4s, it died and has been on the charger for the last two days and still wont turn on. How can i fix this???? condition of phone is not the best and was having issues staying charged to begin with but never NOT came back on. I've tried
-
I was just wondering, how do I make an "Alt" box appear for links, so I can enter alternate text for my links without adding it to the code everytime?
-
I have the current version of firefox. When I checked my plug-ins on firefox it said Java was outdated. So I updated it and now firefox has disabled it because it is not compatible. So do I now have to take off this version Of java? which version do