Purpose of Updating Row Counts in Oracle 11g RPD

Hello all,
I'm relatively new to RPD development, and have a relatively simple question. I have searched through the oracle community site and did several google searches for the answer. What is the purpose of Updating Row Counts on the Physical layer of the RPD? I know how to do it for a single table and for all tables. Does it help the planner build better optimized queries?

Hi,
Honestly I don't think OBIEE use that info at all (or it would be mandatory).
It's more an info for the developer, to see if the DB connection works, if the table is the good one without looking at the data itself. It can also inform you if your ETL run or not (data or no data). So for me it's really only a developer helper, nothing OBIEE uses.

Similar Messages

  • Error - Update Row Count in Oracle BI Administraton Tool

    Hi Everyone,
    I am running XE on the same machine that BI Administrator is running on. I them imported the HR scheme on the Physical Layer. As I try to update row count, I am getting errors:
    NQSError : - 10058 , A general error occurred
    An error occurred while executing the Physical Statement
    Oracle Error 3114 - Not connected to oracle OCI CALL OCIstmtexecute
    SQL statement preparation failed.
    I am connecting via odbc, but as my connection pool in the physical layer, I have tried all the available type of connection pool, and it does not work. I still get the same error.
    Does anyone have any ideas?
    Thanks,

    Well, could it then be that you are using a different user to connect to through the connection pool? If so, then you have to set the connection pool to prefix the tables with the schema name. I don't have access to the admin tool at the moment to point out exactly how that is done, but at least you right-click on the connection pool, choose properties and there you check a check box that suggests prefixing tables.
    The reason here is that the connection pool connects to the database using some username, and all queries are executed as this user. This user then has to have SELECT privileges on all the tables you have imported (which the user does of course if the tables can be found in the same schema), but if some tables have been imported from other schema then the server has to prefix the tables with the correct schema name.
    Hope this helps!
    Borkur

  • Obiee oracle gateway error while updating row count

    Hi ,
    OBIEE server 11.1.1.5 ,oracle server11g installed in linux 64bit,
    while updating row count in Admin tool i am getting the following error
    [NQODBC][SQL_STATE:HY000][nQSError:10058] A general error has occured.
    [nQSError: 43113]Message returned from OBIS.
    [nQSError:43093]An error occured while processing the EXECUTE PHYSICAL statement.
    [nQSError:17003]Oracle gateway error: OCIEnvNIsCreate or OCIEnvInit failed to initialize environment.Please check your Oracle Client installation and make sure the correct version of OCI libraries are in the library path.
    i am able to check the database from sqlplus it is working fine.
    Any suggestion highly appreciated plzzz

    Make sure your connection pool is valid and able to import or execute reports.
    If everything good as above said, in Physical layer database properties-> general tab choose the database version and try it once.
    If not
    Check the doc id 1271486.1
    Or
    To resolve the issue create a softlink (ln -s) in the <OracleBI>/server/Bin folder to link to the 32-bit Oracle Client Driver file.
    The example below shows how to perform a softlink from the 64 bit directory:
    cd /u10/app/orcladmin/oracle/OracleBI/server/Bin
    ln -s $ORACLE_HOME/lib32/libclntsh.so.10.1 libclntsh.so.10.1
    If helps mark

  • Not able to update row count in Physical Layer..connection failed in OBIEE 11g

    Hi Guys,
    I am not able to do Update Row count in the Physical Layer, i am getting an error The Connection has failed. This is in OBIEE 11g Linux env.
    I have put the tnsnames.ora file in the below path:
    /*****/pkgs/linux/intel/OBIEE_DIT/MW_HOME/Oracle_BI1/network/admin/
    I do not have admin under
    /****/pkgs/linux/intel/OBIEE_DIT/MW_HOME/oracle_common/network/
    But if i put the whole TNS entry in the Data Source Name i am able to connect:
    (DESCRIPTION =(ADDRESS = (PROTOCOL= TCP) (HOST= xxx.xxx.com) (PORT= 1671))(CONNECT_DATA = (SERVICE_NAME = US1OBIEE)))
    I am not able to understand the issue..
    Thanks,
    Amit

    Looks like rpd is looking for local tns config... try to use as hostname:port/ServiceName
    This should work, just in case not working! stop doing so since it is know issue.
    If helps mark

  • View Data & Updating row count

    Hi,
    iam using OBIEE 11g, when iam importing data from sysbase into physical layer then in the physical layer i cant able to view data and update row count also.
    For sysbase which dataconnection we have to use i.e (ODBC 3.5, OCI 10g/11g).
    for ODBC 3.5 connection is established but we cant get data i.e (view data in Physical layer ), for OCI 11g we cant establish a connection.
    Thanks in advance.
    prakash

    Hi,
    *• Relational Database System* including Oracle Database, Oracle Exadata Database Machine, Oracle TimesTen In Memory Database, DB2, Microsoft SQL Server, Teradata, Netezza, Informix, Sybase and other ODBC compliant data sources
    *• OLAP Sources* including Oracle Essbase, Hyperion Financial Management, Oracle Database OLAP Services, Oracle RPAS, Microsoft Analysis Services Cubes, and SAP BW Infocubes.
    *• XML Data Sources* including access to other types of data servers (e.g., other non-relational servers), Microsoft Excel spreadsheets, and Web Services.
    So, we should use ODBC 3.5 as Call Interface for Sybase.
    Thanks,
    Balaa...

  • There was an error while updating row count for "SH".."SH".CHANNELS

    Hi All,
    Am new to OBIEE.Pls help in this regard.
    Am building the physical layer as per Repository guide.When am importing the data in to this,am getting the below error.
    *"There was an error while updating row count for "SH".."SH".CHANNELS" :"*
    channles is the table name and having 5 rows.
    but am able to see the data in the sql prompt. like SELECT * FROM SH.CHANNELS then 5 rows data would be displaying..
    pls help in this regard and where is the excat problem?
    Thanks,

    what is the error?
    Make sure that your connection pool settings are okay..
    Make sure that, you are using correct driver in case of if you are using ODBC dsn..
    Also make sure that, your oracle server is running... TNS and Oracle server services

  • Update row count is not working but its not throwing any error

    i m using obiee 11.1.1.6.8, where i cant do update row count in physical layer and tools---update row count...nothing was afffected
    iand i cant update rowcount option in physical layer of obieee.
    please help me

    Did u check in Physical DB whether it has data or not? If it has data,Try deleting that table from physical layer and import again.
    Thanks,

  • Error while updating row counts

    Hello,
    I have created a connection pool and while trying to do "update all row counts" i am getting the following error.
    [NQODBC][SQL_ATATE:HY000][NQSError: 10058]A general error has occured.
    [NQSError: 43093] Anerror occured while processing the EXECUTE PHYSICAL statement.
    [NQSError: 17001] ORacle error code:942, message:ORA-00942: table or view does not exist at OCI call OCIstmtExecute
    [NQSError: 17010] SQL statement preparation failed.
    Please provide any suggestions.
    Thanks in Advance.

    hi..
    make sure that the data source name and credentials you given in connection pools are correct...
    Also, make sure that the db-user specified in the connection pool has permissions on that table...
    And make sure that the table name is correct and existing in that schema..

  • Update row count in a procedure

    Iam using a procedure to update a table. After the completion of the procedure, it is returning that "PL/SQL procedure completed succefully". I want to return the number of records it updates also. How to achieve this?
    Thanks for the help.

    Please post your question int eh SQL and PL/SQL discussion forum.
    The URL is:
    PL/SQL

  • Oracle 11g database can we update patch directly from 11.2.0.3.0 to 11.2.0.4.0?

    Hi,
    I have installed Oracle 11g database.
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    I want to update the patch.
    Oracle 11g database can we update patch directly from 11.2.0.3.0 to 11.2.0.4.0?
    Is any impact on the database?
    Kindly suggest,
    Regards,
    Sachin

    11.2.0.4 is nothing but a patchset of 11.2.0.3, in-place upgrade is allowed :
    http://docs.oracle.com/cd/E11882_01/server.112/e23633/preup.htm#UPGRD12370
    "You cannot install the new software into the same location for Oracle home as your current release, unless you are installing an Oracle Database 11g patchset release. For a patchset release, you can use the same Oracle Database 11g Oracle home."
    And since it's a patchset, a direct upgrade is ok.
    Lastly, yes, every upgrade has an impact (e.g. perf.), it has to be tested.
    Nicolas.

  • Oracle 11g R1(11.1) Database Upgrade Guide.

    Where can I find the SAP documentation for:
    Database Upgrade guide > Upgrade to Oracle Database 11g Release 1(11.1):UNIX.
    I am able to find Upgrade to Oracle Database 11g Release 2(11.2).  We are planning to upgrade to 11g Release 1(11.1) and I am not able to find any SAP documentation for 11g Release 1(11.1):
    Does SAP support 11g Release 1(11.1)?
    We are using Business Object XIR3 and want to upgrade from Oracle 9i to Oracle 11g R1.
    Thanks
    Edited by: Sherry Barkodar on Jan 7, 2011 1:52 AM

    We are using Oracle 9i for our Business Object repository for CMS / Audit repository purpose and we want to upgrade to Oracle 11g. What is the impact of this upgrade (from Oracle 9i to Oracle 11g) on Business Object repository?
    Can you please provide some information for upgrade to Oracle 11g R2 and impact on business Object Repository?
    Bellow is information about our platform:
    -          The BOE XI 3.1 installation is on Sun Solaris.
    -          Upgrading from Oracle 9i to Oracle 11g to be used for CMS / Audit repository purpose.
    -          We want to use Oracle 11g for CMS repository and reporting purposes.
    Thanks,
    Sherry

  • Is it possible to install oracle 11g client 32 bit and oracle 11g client 64

    Hi,
    I have Windows 2008 R2 64 Bit Operating Server Installed.
    Other software that are Installed :
    1) Visual Studio 2010 Ultimate 32 Bit.
    2) Microsoft SharePoint server 2010 64 Bit.
    For my development purpose I want to install both oracle 11g client 32 bit and oracle 11g client 64 on the same machine.
    Is it possible to install both 32 and 64 bit instance on the same machine.
    Thanks
    Sambit

    959211 wrote:
    Hi,
    I have Windows 2008 R2 64 Bit Operating Server Installed.
    Other software that are Installed :
    1) Visual Studio 2010 Ultimate 32 Bit.
    2) Microsoft SharePoint server 2010 64 Bit.
    For my development purpose I want to install both oracle 11g client 32 bit and oracle 11g client 64 on the same machine.
    Is it possible to install both 32 and 64 bit instance on the same machine.
    Thanks
    Sambityes, possible; but minor challenge to manage dynamically
    how to ensure that you actually use the flavor you desire?

  • Oracle 11g and Supported Programming Languages for application development

    Hi,
    Currently we are running our Java application on Oracle 10g Lite. We are planning to upgrade to Oracle 11g Lite very soon. I have below queries to be answered.
    1. What are the programming languages supported for application development to work with Oracle 11g Lite mobile server and client ?
        - i have seen some note saying java and .net are supported. Wanted to know the complete list of supported programming languages on Oracle 10g Lite
    2. Oracle Forms 10g is supported on Oracle 11g Lite platform ?
        - i have some online application running on Oracle 10G Forms. Wanted to extend this to offline model using Oracle 10g Lite
    Thanks,
    Ashok Kumar.G

    Hi Ashok,
    1. What are the programming languages supported for application development to work with Oracle 11g Lite mobile server and client ?
                For the 11g version of the product, we changed the name to Oracle Database Mobile Server.    For clarity purposes, there is no product called Oracle 11g Lite mobile server.
                For a detailed list of what is/is not supported on the client, please consult the documentation.   See section 2.1 of the Mobile Client guide.  For programming languages you
                can use what you want, and we support the following technologies, JDBC, ODBC, ADO.NET.  What you code your application in is up to you.
    2. Oracle Forms 10g is supported on Oracle 11g Lite platform ?
                   On the database mobile server side of things we do not do testing with Oracle Forms 10g.    I do not know enough about applications developed with the Forms' product.   Database Mobile Server is a product that keeps tracks of changes that occur in a database, and then propagates those changes to an Oracle backend.   We offer 2 way synchronization between an Oracle backend database and a client.  If you are running the Forms application on the Oracle backend and want to propagate changes done out to the client, then this should work.    I say ** should **   because we have not tested it but I cannot think of a reason why it would not work.   It would be up to you to develop the client side application that would look at the data in the client database and display it to the user.    In the 11.x version of the product, we support 2 client databases, Berkeley DB and SQLite.
    thanks
    mike

  • Update Global Temp Table in Oracle 11g

    Hi Experts,
    Scenario: I have stored  procedure A which calls procedure B. Procedure B uses Global temp Tables(With On Commit Preserve Rows)  to work with the data.
    I am trying to update one of the GTT in Proc B but unable to do it .. via SQL or via PL/SQL Cursor/Collection. There is no syntax nor logical error and the PL/SQL proc completes execution successfully but the rows are not getting updated. My Db version is Oralce 11g 11203.
    Update statement is something like this.
    Update <GTT>
    SET amount1 = amount1 *-1, amount2 = amount2 *-1
    where field1 = <value>
    and field2 in ( Select filed2 from <table1> );
    Any idea why would this update not work? Has anyone faced this issue in Oracle 11g??
    Appreciate your suggestions & thanks in Advance for your inputs.
    Cheers,
    MS

    Update statement is something like this.
    Update <GTT>
    SET amount1 = amount1 *-1, amount2 = amount2 *-1
    where field1 = <value>
    and field2 in ( Select filed2 from <table1> );
    Any idea why would this update not work?
    You already told us that it DOES work - no errors or exceptions.
    It is trivial to determine if that update will do anything - just turn it into a SELECT and see if any rows are ntselected:
    v_cnt INTEGER;
    SELECT COUNT(*) INTO v_cnt FROM  myGTT
    WHERE field1 = <value>
    AND field2 in (Select field2 from <tablee1>);
    Then take a look at the 'count' that you get.

  • Oracle 11g: Oracle insert/update operation is taking more time.

    Hello All,
    In Oracle 11g (Windows 2008 32 bit environment) we are facing following issue.
    1) We are inserting/updating data on some tables (4-5 tables and we are firing query with very high rate).
    2) After sometime (say 15 days with same load) we are feeling that the Oracle operation (insert/update) is taking more time.
    Query1: How to find actually oracle is taking more time in insert/updates operation.
    Query2: How to rectify the problem.
    We are having multithread environment.
    Thanks
    With Regards
    Hemant.

    Liron Amitzi wrote:
    Hi Nicolas,
    Just a short explanation:
    If you have a table with 1 column (let's say a number). The table is empty and you have an index on the column.
    When you insert a row, the value of the column will be inserted to the index. To insert 1 value to an index with 10 values in it will be fast. It will take longer to insert 1 value to an index with 1 million values in it.
    My second example was if I take the same table and let's say I insert 10 rows and delete the previous 10 from the table. I always have 10 rows in the table so the index should be small. But this is not correct. If I insert values 1-10 and then delete 1-10 and insert 11-20, then delete 11-20 and insert 21-30 and so on, because the index is sorted, where 1-10 were stored I'll now have empty spots. Oracle will not fill them up. So the index will become larger and larger as I insert more rows (even though I delete the old ones).
    The solution here is simply revuild the index once in a while.
    Hope it is clear.
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]Hmmm, index space not reused ? Index rebuild once a while ? That was what I understood from your previous post, but nothing is less sure.
    This is a misconception of how indexes are working.
    I would suggest the reading of the following interasting doc, they are a lot of nice examples (including index space reuse) to understand, and in conclusion :
    http://richardfoote.files.wordpress.com/2007/12/index-internals-rebuilding-the-truth.pdf
    "+Index Rebuild Summary+
    +•*The vast majority of indexes do not require rebuilding*+
    +•Oracle B-tree indexes can become “unbalanced” and need to be rebuilt is a myth+
    +•*Deleted space in an index is “deadwood” and over time requires the index to be rebuilt is a myth*+
    +•If an index reaches “x” number of levels, it becomes inefficient and requires the index to be rebuilt is a myth+
    +•If an index has a poor clustering factor, the index needs to be rebuilt is a myth+
    +•To improve performance, indexes need to be regularly rebuilt is a myth+"
    Good reading,
    Nicolas.

Maybe you are looking for

  • Problem with VK12 BDC

    Hi  all, I have developed a bdc to update condition records data via vk12. Here some times when the validity period of condition record is changed, I am getting a warning message "The validity period is being changed" after this when I press enter (w

  • My phone keeps loading when its suppose to be switching on!

    My phone switches on and gives me the white screen with the loading black thing on the center but that's all it does and it restarts again. legooooo!

  • Rendering - What Does That Mean?

    There are often questions regarding the process of Rendering, for smoothest playback of the Timeline. The need to Render, for the smoothest possible playback is indicated by colored bars, just below the Timeline Ruler - red bars/lines, green bars/lin

  • Translation Pattern - X wildcard not working.

    I am trying to translate any calls from a certain CSS to extension 4900-4999 to a single extension (8114). I tried using 49XX as the Translation Pattern, 8114 as the Called Party Transform Mask, and the partiton for this is the first in the CSS list.

  • Firefox Mac Very Slow

    This has been happening from the past few iterations of Firefox (I'm on FF 18 at the moment, and I can recall it happening since at least Firefox 15. Firefox is a HUGE HUGE resource hog. I have permanently switched to Chrome but still use Firefox for