MV Refresh differences between 9i and 10g

In 9i, the MV seems to be empty during complete refresh (Oracle does a truncate on the MV). I have done some tests on 10g and that does not occur (it seems that Oracle does a Delete). Does any one know this for sure?
Thanks

In 10g:
- A MV called MVTeste;
- Two SQL Plus windows: in both a make a 'select count' in the MV. Then, in the first one I do a dbms_mview.refresh. In the second one, I keep doing 'select count' in the MV. The second SQL Plus never sees an empty MV.
FIRST SQL PLUS
SQL*Plus: Release 9.2.0.1.0 - Production on Sab Mar 4 10:19:43 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Conectado a:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> set time on
10:19:55 SQL> set timing on
10:20:06 SQL> select count(*) from mvteste;
COUNT(*)
100000
Decorrido: 00:00:00.02
10:20:17 SQL> exec dbms_mview.refresh('MVTESTE');
Procedimento PL/SQL concluído com sucesso.
Decorrido: 00:00:39.09
10:21:20 SQL>
SECOND SQL PLUS
SQL*Plus: Release 9.2.0.1.0 - Production on Sab Mar 4 10:19:5
Copyright (c) 1982, 2002, Oracle Corporation. All rights res
Conectado a:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - P
With the Partitioning, OLAP and Data Mining options
SQL> set time on
10:20:02 SQL> set timing on
10:20:10 SQL> select count(*) from mvteste;
COUNT(*)
100000
Decorrido: 00:00:00.01
10:20:23 SQL> /
COUNT(*)
100000
Decorrido: 00:00:00.04
10:20:42 SQL> /
COUNT(*)
100000
Decorrido: 00:00:00.08
10:20:45 SQL> /
COUNT(*)
100000
Decorrido: 00:00:00.08
10:20:46 SQL> /
COUNT(*)
100000
Decorrido: 00:00:00.09
10:20:48 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.00
10:20:52 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.01
10:20:55 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.00
10:20:58 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.00
10:21:01 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.00
10:21:04 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.00
10:21:06 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.00
10:21:09 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.00
10:21:11 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.00
10:21:13 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.00
10:21:15 SQL> /
COUNT(*)
100000
Decorrido: 00:00:01.00
10:21:17 SQL> /
COUNT(*)
100000
Decorrido: 00:00:00.06
10:21:20 SQL> /
COUNT(*)
100000
Decorrido: 00:00:00.03
10:21:23 SQL>

Similar Messages

  • Difference between forms6i and 10g

    Is there a big Difference between forms6i and 10g? Can someone with 6i experience use forms 10g without problems?
    Thanks

    In our company Forms applications are still developed in 6i C/S, but they run without modifications, just recompilation, on
    - 6i C/S (obviously :-))
    - 6i Forms server
    - 9i Forms services 9.0.2
    - 10g Forms services 9.0.4
    - 10g Forms services 10.1.2
    We have customers with all these architectures on Linux and Windows, and they have DBs from 7.3.4 to 10g.

  • Difference between pi and 10g?????

    hello expert,
    as there is a difference between 9i and 10 g is
    grid . G stand for grid.
    how to implement grid in 10 g.
    thanks
    yash

    How to implement grid depends on your scale. If you have one or two databases, you can function fine with dbconsole and whatever your OS provides. If you have 10,000 databases, you probably need grid. If you have 10 databases, you probably need grid, though that might be debatable depending on what already exists.
    pi is 3.141592653589793238462643383279502884197169399375105820974944592307816406286 208998628034825342117067982148086513282306647093844609550582231725359408128481 117450284102701938521105559644622948954930381964428810975665933446128475648233 786783165271201909145648566923460348610454326648213393607260249141273724587006 606315588174881520920962829254091715364367892590360011330530548820466521384146 951941511609433057270365759591953092186117381932611793105118548074462379962749 567351885752724891227938183011949129833673362440656643086021394946395224737190 702179860943702770539217176293176752384674818467669405132000568127145263560827 785771342757789609173637178721468440901224953430146549585371050792279689258923 542019956112129021960864034418159813629774771309960518707211349999998372978049 951059731732816096318595024459455346908302642522308253344685035261931188171010 003137838752886587533208381420617177669147303598253490428755468731159562863882 353787593751957781857780532171226806613001927876611195909216420198938095257201 065485863278865936153381827968230301952035301852968995773622599413891249721775 283479131515574857242454150695950829533116861727855889075098381754637464939319 255060400927701671139009848824012858361603563707660104710181942955596198946767 837449448255379774726847104047534646208046684259069491293313677028989152104752 162056966024058038150193511253382430035587640247496473263914199272604269922796 782354781636009341721641219924586315030286182974555706749838505494588586926995 690927210797509302955321165344987202755960236480665499119881834797753566369807 426542527862551818417574672890977772793800081647060016145249192173217214772350 141441973568548161361157352552133475741849468438523323907394143334547762416862 518983569485562099219222184272550254256887671790494601653466804988627232791786 085784383827967976681454100953883786360950680064225125205117392984896084128488 626945604241965285022210661186306744278622039194945047123713786960956364371917 287467764657573962413890865832645995813390478027590099465764078951269468398352 595709825822620522489407726719478268482601476990902640136394437455305068203496 252451749399651431429809190659250937221696461515709858387410597885959772975498 930161753928468138268683868942774155991855925245953959431049972524680845987273 644695848653836736222626099124608051243884390451244136549762780797715691435997 700129616089441694868555848406353422072225828488648158456028506016842739452267 467678895252138522549954666727823986456596116354886230577456498035593634568174 324112515076069479451096596094025228879710893145669136867228748940560101503308 617928680920874760917824938589009714909675985261365549781893129784821682998948 722658804857564014270477555132379641451523746234364542858444795265867821051141 354735739523113427166102135969536231442952484937187110145765403590279934403742 007310578539062198387447808478489683321445713868751943506430218453191048481005 370614680674919278191197939952061419663428754440643745123718192179998391015919 561814675142691239748940907186494231961567945208095146550225231603881930142093 762137855956638937787083039069792077346722182562599661501421503068038447734549 202605414665925201497442850732518666002132434088190710486331734649651453905796 268561005508106658796998163574736384052571459102897064140110971206280439039759 515677157700420337869936007230558763176359421873125147120532928191826186125867 321579198414848829164470609575270695722091756711672291098169091528017350671274 858322287183520935396572512108357915136988209144421006751033467110314126711136 990865851639831501970165151168517143765761835155650884909989859982387345528331 635507647918535893226185489632132933089857064204675259070915481416549859461637 180270981994309924488957571282890592323326097299712084433573265489382391193259 746366730583604142813883032038249037589852437441702913276561809377344403070746 921120191302033038019762110110044929321516084244485963766983895228684783123552 658213144957685726243344189303968642624341077322697802807318915441101044682325 271620105265227211166039666557309254711055785376346682065310989652691862056476 931257058635662018558100729360659876486117910453348850346113657686753249441668 039626579787718556084552965412665408530614344431858676975145661406800700237877 659134401712749470420562230538994561314071127000407854733269939081454664645880 797270826683063432858785698305235808933065757406795457163775254202114955761581 400250126228594130216471550979259230990796547376125517656751357517829666454779 174501129961489030463994713296210734043751895735961458901938971311179042978285 647503203198691514028708085990480109412147221317947647772622414254854540332157 185306142288137585043063321751829798662237172159160771669254748738986654949450 114654062843366393790039769265672146385306736096571209180763832716641627488880 078692560290228472104031721186082041900042296617119637792133757511495950156604 963186294726547364252308177036751590673502350728354056704038674351362222477158 915049530984448933309634087807693259939780541934144737744184263129860809988868 741326047215695162396586457302163159819319516735381297416772947867242292465436 680098067692823828068996400482435403701416314965897940924323789690706977942236...
    Approximately. That is quite different than 10g, though I'm uncertain how to quantify that.

  • Differences between 8 and 10g

    Can anyone help, i am trying to find documentation on the differences between sql 8.0.6 and 10, to find the functions that have been added/removed etc.,but cannot find one anywhere?

    http://tahiti.oracle.com has all of Oracle's documentation online. There should be new features guides for 8i, 9i, and 10g that will have this sort of information. So far as I'm aware, Oracle has only added new SQL functions.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Differences  between 9i  and 10g

    Hi
    Where can I to find differences 9i and 10g
    Where 10g is best than 9i ?
    Thanks

    http://tahiti.oracle.com has all the documentation
    online. Each version of Oracle has a New Features
    Guide that is as good a place as any to start. Which
    guide(s) in particular will depend on which releases
    of 9i and 10g we're talking about.
    JustinThanks
    9 ==> Release 9.2.0.5.0
    10 ==> 10g Release 2 (10.2):

  • HELP! I cannot figure this out, differences between 9i and 10g installation

    This is for class, and my instructor who obviously has a bad sense of humor has provided me with the following "good" link to get these answers:
    http://www.stanford.edu/dept/itss/docs/oracle/10g/nav/portal_1.htm
    Within the comparison document you create, include key differences such as, but not limited to:
    Any pre-configuration of the Operating System.
    Memory configuration consideration (both physical and logical).
    Naming conventions of the Global Database or System Identifier (SID).
    Online input screens within the Oracle Installer.
    Processes that run during the installation (i.e. port assignments, directories defined, etc.).
    Password configurations or assignments.
    Web Services created (is there one?).
    Any post-configuration of the Operating Ssystem.

    The current Oracle installation docs can be found at:
    http://docs.oracle.com.
    Use Oracle's docs and if you instructor has any questions tell him or her to contact me at the University of Washington.
    I spent a lot of time on the Stanford campus ... lots of great resources ... but Oracle docs should be found at ...oracle.com.

  • What are the differences between oracle adf 10g and adf 11g

    Could you please let me know what are the diff b/w oracle adf 10g and 11g, i tried in many user guides but i could not find it.
    Thanks in advance,
    Poli Reddy P

    893771 wrote:
    Hi all,
    I would like to know what the differences between Oracle and other NoSQL database are.
    When and why should we use Oracle?I suggest that you start here:
    http://www.oracle.com/technetwork/database/nosqldb/overview/index.html
    Is Oracle NoSQL database link with Big Data Appliance?Yes, Oracle NoSQL Database will be a component of the Big Data Appliance.
    Can we use map-reduce on a single personal computer? How should we install Oracle NoSQL database to use map reduce on a single personal computer?Yes, I believe you can run M/R on a single computer. Consult the various pieces of documentation available on the web. You may run Oracle NoSQL Database on the same computer that you are running M/R on, but it is likely that they will compete for CPU and IO resources and therefore performance may suffer.
    Do we also have eventual consistency with Oracle NoSQL database? Yes.
    Can we lose data if master node fails?If you run Oracle NoSQL Database with the default (recommended) durability settings, then if the master fails, a new one will be elected and data is not lost.
    Are transactions ACID with Oracle NoSQL database? How can we prove it?Yes, each operation is executed in an ACID transaction. The API has the concept of "multi" operations which allow the caller to perform multiple operations on sets of records with the same major key, but different minor keys. Those operations are also performed within a transaction.
    Charles Lamb

  • Differences between Oracle Discoverer  10g and 11g .

    we would like to know if they are any differences between Oracle Discoverer 10g and 11g and any issues with 10g that are overcome in 11g.
    Please make us aware of any merits in going for 11g over 10g.
    apps version 11.5.10.2
    Regards

    Please see these links for the list of new features, bug fixes, certification, and installation of Discoverer 11g on 11i instance.
    Discoverer 11.1.1.4 Certified with E-Business Suite
    http://blogs.oracle.com/stevenChan/2011/02/discoverer_11114_ebs.html
    EBS Sysadmin Primer: Oracle BI Discoverer 11gR1
    http://blogs.oracle.com/stevenChan/2010/08/discoverer_11gr1_primer.html
    Oracle Business Intelligence Discoverer 11g
    http://www.oracle.com/technetwork/developer-tools/discoverer/overview/index.html
    Oracle Business Intelligence Discoverer 11g documentation
    http://www.oracle.com/technetwork/developer-tools/discoverer/documentation/index.html
    Thanks,
    Hussein

  • Difference Between Oracle Database 10g And Oracle 10g Express Edition

    Can any body Tell me What is The Difference Between Oracle Database 10g And Oracle 10g Express Edition.

    http://www.oracle.com/database/product_editions.html
    This link might help you.

  • Could anybody explain what  is the difference between cloning and refresh

    Hi,
    Could anybody explain what is the difference between cloning and refresh
    What exactly we do in only E-business suite clone(Database and applications) and only database clone and refresh
    Regards,
    ravi

    Welcome to the forum,
    Database Cloning includes cloning the ORACLE_HOME of the database and the copying of data from source to target instance.
    Database Refresh includes copying of data from source to target instance. ORACLE_HOME is not copied during a Database refresh.
    Similarly Apps cloning includes cloning the techstack, i.e the 806, iAS homes along with APPL_TOP, COMMON_TOP and the Database
    Apps refersh is again copying the database from source to target. The techstack or the APPL_TOP or COMMON_TOP are not copied during an Apps refresh
    see this post
    http://sabdarsyed.blogspot.com/2008/08/cloning-and-refreshing-oracle-database.html

  • What is the difference between #variable_name and :variable_name?

    Hi!
    What is the difference between #variable_name and :variable_name?
    I have found that if we use alphanumeric variable then :variable_name return value in quotes but #variable_name without quotes.
    Why it does not work in the same way for variable default values when variable is used in filter? (It works in mapping)
    I use variable in filter like T.OUT_DATE>convert(datetime,:LAST_UPDATE_DATE,121)
    When I use my variable in package and do refresh it works fine. But when I try to execute the same interface with variable default value I get error. Seems that variable name has been not changed to the value. It does not work with default value in quotes neither without quotes.
    Any ideas how to solve that?
    Thank you in advance!
    Edited by: user13278245 on Sep 15, 2010 4:34 AM

    Question is how to make it work with default value, when I execute interface standalone, not in package? And why it works in mapping but not in filter?
    + I have found that it works if source is Oracle. It doesn't work only for MS SQL source.
    Edited by: user13278245 on Sep 15, 2010 6:43 AM

  • Difference between upgrdae and migration about oracle database

    Difference between upgrdae and migration about oracle database
    please give the comments

    Well, the question is almost philosophic...<br>
    In 9i, there is a Migration Guide whereas in 10g there is a Upgrade Guide.<br>
    Furthermore, in 9i, there is the command line startup migrate whereas in 10g that's startup upgrade.
    Somebody think upgrade when go to new release, and migration when go to new version.<br>
    Others think upgrade when new version replace database in place, and migration when new version include a move of database.<br>
    Another point of view is : upgrade is for technical, and migration for application/data.<br>
    <br>
    Well, after these explanations, your upgrade/migratation notion will not be more clear, but I think that is not very important, only a terminology game. The most important is to know what you need : new version or new release.<br>
    <br>
    Nicolas.

  • Differences between Oracle 9i & 10g database

    I had a query as to what are the differences between Oracle 9i & 10g database. I have heard of a partioning feature which is there in 10g but not in 9i. I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    Hi,
    Differences between oracle 10g and 9i
    regards
    Jafar

  • Graph axes assignment: performance difference between ATTR_ACTIVE_XAXIS and ATTR_PLOT_XAXIS

    Hi,
    I am using a xy graph with both x axes and both y axes. There are two possibilities when adding a new plot:
    1) PlotXY and SetPlotAttribute ( , , , ATTR_PLOT_XAXIS, );
    2) SetCtrlAttribute ( , , ATTR_ACTIVE_XAXIS, ) and PlotXY
    I tend to prefer the second method because I would assume it to be slightly faster, but what do the experts say?
    Thanks!  
    Solved!
    Go to Solution.

    Hi Wolfgang,
    thank you for your interesting question.
    First of all I want to say, that generally spoken, using the command "SetCtrlAttribute"is the best way to handle with your elements. I would suggest using this command when ever it is possible.
    Now, to your question regarding the performance difference between "SetCtrlAttribute" and "SetPlotAttribute".
    I think the performance difference occures, because in the background of the "SetPlotAttribute" command, another function called "ProcessDrawEvents" is executed. This event refreshes your plot again and again in the function whereas in the "SetCtrlAttribute" the refreshing is done once after the function has been finished. This might be a possible reason.
    For example you have a progress bar which shows you the progress of installing a driver:
    "SetPlotAttribute" would show you the progress bar moving step by step until installing the driver is done.
    "SetCtrlAttribute" would just show you an empty bar at the start and a full progress bar when the installing process is done.
    I think it is like that but I can't tell you 100%, therefore I would need to ask our developers.
    If you want, i can forward the question to them, this might need some times. Also, then I would need to know which version of CVI you are using.
    Please let me now if you want me to forward your question.
    Have a nice day,
    Abduelkerim
    Sales
    NI Germany

  • Functional differences between OBISE1 and OBIEE

    Hello,
    beside the licensing restrictions, there are some funtional differences between OBISE1 and OBIEE. I have seen some very neat features in OBIEE which are not implemented in OBISE1, e. g. generating powerpoint or the assistants for bi publisher in word. The actual release of EE is 10.1.3.4.0 and it is 10.1.3.2.1 for SE1. Does anyone know, if SE1 will be upgraded to 10.1.3.4.0? And if yes, will Interactive Dashboards, Answers and BI Publisher in this relaese have the functional range of EE?
    Thanks in advance for your answers.
    Thomas

    Balaa,
    This question has been posted a number of times. Yes, Server, Answers, Dashboards and Publisher are functionally identical in BISE1 and BIEE. You can use BIEE 10.1.3.4.1 to upgrade your BISE1 10.1.3.2.1 (Oracle trust you not to use the stuff you are not licensed to use such as Delivers).
    See my oracle support note document id 743916.1 on metalink3 ...
    Oracle BI SE1: Patch to 10.1.3.4
    Upgrading Oracle Business Intelligence Standard Edition One to higher versions of the underlying components
    "Customers may upgrade to the latest 10.1.3.x versions of the BI components by running the BI Enterprise Edition 10.1.3.x Installer. They will be alerted that there is an installation already present and prompted to preserve the existing configuration. They should choose that option and the installer will leave the existing configuration (to include Repository, Web Catalog, etc) in tact and install the newer versions of the components. Note that when upgrading, all BI components must be upgraded to the same version. Customers may upgrade to the latest versions of Oracle Database 10g or Oracle Warehouse Builder 10g by applying the supported appropriate patches as needed. A note on platform support -- Oracle BI SE One is available for Windows platforms only. Oracle does not support Oracle BI SE One on other platforms. A note on licensing -- By license, customers are restricted to using BI Server, BI Answers, BI Dashboards, BI Publisher, BI Administration Tool, Oracle RDBMS, Oracle Warehouse Builder Core ETL functionality. Note that the BI SE One installation installs all of the BI components -- those listed above as well as Delivers, Office Plug-in, etc. If customers wish to use those additional components they are required to upgrade to a BI Enterprise Edition license."

Maybe you are looking for

  • Dynamic filename in receiver AS2 adapter in B2B Add-on

    Hello Experts, Can you please let me know how we can put dynamic filename in the receiver AS2 adapter for B2B Addon on SAP 7.4. Thanks Saurabh

  • IPod touch gen 4 photo transfer to mac - help please

    hi everyone. ive got an ipod generation 4 and i want to put the photos i took using its built in camera, to put on my macbook...trawled the net.....u can do it easy on a pc but it sounds insane to email them to myself...? ive got loads of them... if

  • Can I log in a windows server 2008 environment with a macbook pro

    I have a macbook pro. Can I log into a domain of a win server 2008? Hans

  • Servlets/ oracle jdbc driver

    i am trying to connect to my oracle database within a servlet. the driver i want to use is a oracle jdbc oci8 driver, but but unfortuntately i always get an unsatisfied link error (this only happens in servlets) the errormessage i get is: java.lang.U

  • Iphoto crash when uploading to Facebook

    Hi all and HNY. My problem is trying to upload photos and albums to Facebook from iPhoto.  We have 2 Facebook accounts, my wife and me.  My account is fine and I can upload photos easily but every time we try with her Facebook account iPhoto starts a