The materizlezed view don't update

hi all,
I create a materialized view like
create materialized view vw_jfp_jpgcb_mislog_1
refresh fast NEXT sysdate + 1/144
on demand
as
SELECT
* from big_table;
It should be update every 10 minutes.
But after I insert 100 thousand records, I find it don't update. What's reason of it ?

Have you traced a session doing the refresh to see
where the time is being taken? I'll wager it's in the
LOB processing, but having actual data to back that
up would be helpful.
<Cango> I check the row num in materialized
view every 10 second and compare time of the data
change I'm not sure how your answer relates to my question. I was talking about a session trace (run through tkprof) to validate that it's the query, not some function of the materialized view refresh process, that was running slowly, what the query is waiting on, etc.
Can you run that query separately over a sample of
however many rows are going to be refreshed and get a
timing? Obviously, if it takes 13 minutes to run that
query over 100,000 rows, you'd have to tune the
query.So, does it take 13 minutes to run the query over a sample of 100,000 rows?
What data type is the XML document stored in? I'm
guessing a BLOB from your syntax since you didn't
include the table definition. Why would you store XML
in a BLOB rather than a CLOB?
<Cango> yes, we stroe xml in BLOB ( we can't
modify the table structure). And we want to get the
specific node value from it. It's our performance
bottleneck.
Something may have to give here. Storing character data, an XML document, in a BLOB column and then trying to parse the XML document is going to be slow. Given your transaction volume, storing the data in a reasonable data type may be necessary to get the sort of performance you need. At a minimum, doing development against a data model that (presumably) everyone agrees is incorrect is going to introduce unnecessary overheads that are likely to be noticable.
If you're storing 100,000 XML documents, you should probably be using XML DB functionality rather than storing data directly in LOBs but if you're going to store the data in LOBs, at least use the right type.
Have you considered using an XML parser to parse the
XML document rather than trying to use SUBSTR and
INSTR?
<Cango> I want to use the XML parser but I
don't find doc about it. Can you provide the detail
of them ? Thanks a lot.You didn't indicate the Oracle version. Assuming you're on 10.2, there are a variety of packages. A quick search on http://tahiti.oracle.com for DBMS_XML turns up a number of packages. DBMS_XMLParser is one option, though it only takes CLOBs, so you'd have to convert everything from a BLOB to a CLOB in real time. DBMS_XMLQuery would be another option (though again you'll be incurring BLOB to CLOB conversion overhead).
That's going to be substantially more efficient.
Have you considered creating an Oracle Text index on
the data?
b]<Cango> I'm trying. Can you give me somesuggestions about it ? thanks.
Are you trying to create a materialized view that
simulates a Text index?
<Cango> Yes.
Reasonable suggestions are likely to begin with getting the data model right. Very little good comes from trying to handle large transaction volumes with incorrect data models.
Justin

Similar Messages

  • Stacks/Fan View don't update (Stack as Folder)

    Hello.
    After updating to 10.5.2 and setting the Stack View to Folder, my Downloads Stack doesn't update when downloading new files.
    The new file is not shown but the file on top of the Fan loses their description/name. With every download/new file which should appear but doesn't, one file on top loses the name.
    [This is what it looks like|http://misc.and3rs.subcoders.de/stack.jpg]
    If i use Stack instead of Folder, everything works just fine.
    Switching to Stack and back to Folder solves the problem for a short while but when i download more than one file, this problem occours again.
    Has anybody a solution for this problem?
    Message was edited by: AnD3rS (added screenshot)

    P.S. Didn't know that it would go down there, but in my last post I was agreeing with... Well, I can't remember their name and I can't go back to check without leaving this page, but whoever said that they were having the same problem.
    P.P.S. Apple should add an "Open Previous Page in New Tab" Button. And Apple, if you're reading this, you should also consider this post.
    http://discussions.apple.com/click.jspa?searchID=7813735&messageID=6523667
    Or this one
    http://discussions.apple.com/click.jspa?searchID=7813735&messageID=6549603
    P.P.P.S. Sorry I get so off topic.

  • When using library artworks created in Illustrator in Photoshop the 'placed' versions don't update in Photoshop even when they update in the library

    I'm using a Mac and working in Illustrator and Photoshop. Here's my problem:
    I would like to be able to add button designs created in Illustrator to my libraries for access in Photoshop. Pretty straightforward - just add the button to the library and then it appears in my library in Photoshop to be dragged and dropped into the file. I would assume that once you drop an item from the library into the page in Photoshop it would remain linked to the library instance but it doesn't seem to which is frustrating. So if I make changes to the original button in Illustrator Adobe then updates the library, but not all the placed instances on the Photoshop page/file. Am I missing something? If not that it is something that should be added.
    Any help would be greatly appreciated.

    Well, I think I found a workaround, although its ugly and not condusive to a nice workflow :-/
    The "Inside Aperture" web page had a blog post describing what I said above, about using Aperture previews as referenced originals in iPhoto: http://www.oreillynet.com/digitalmedia/blog/2007/08/referencedaperture_previewsi.html
    And in the comments below, I found this:
    +"This works great indeed. I noticed something annoying using this method though.+
    +If you edit a picture in Aperture and then open iPhoto which has already the referenced Aperture picture, the iPhoto thumbnail will not update itself automatically...+
    +The easiest way to check this is to do a major adjustment in Aperture (i.e. From Color to B&W) and see that the thumbnail has not updated in iPhoto. So far I found two ways of fixing this but it is not really efficient...+
    +1 - Rebuild the iPhoto library (long & painful depending on its size)+
    +2 - Do an adjustment directly in iPhoto, apply it then revert to the original.+
    +With the second option, the thumbnail gets regenerated."+
    The bad part of this is then everytime you make an adjustment in an Aperture version and updagte the preview, you now have to go into iPhoto, find that photo, and make a change to it, revert to iPhoto original, (which is now the changed Aperture referenced preview), and the thumbnail gets regenerated. Ugly, and not very automatable .
    I am going to try and start an email thread w/ the author of that blog post ot see whether he's found anything eise out.

  • When is the Content Viewer iPad app update hitting the App Store?

    It's been over a week now of not being able to view anything on the iPad.

    This is why I'm using the Android OS for testing while creating.
    Herzliche Grüsse | Kind regards
    Haeme Ulrich
    PS: E-Learning mit ulrich-media:
    http://www.e-college.ch
    u l r i c h - m e d i a  G m b H
    http://www.ulrich-media.ch
    2011/6/21 Johannes Henseler <[email protected]>
    >
    it is not unusual that we waited this Long. it took between a few days and
    4
    weeks. last time it was about 4 weeks.
    >
    —Johannes
    >
    (mobil gesendet)
    >

  • Sometimes the url's don't update so when you press the "back button" it sends you to the home page instead of the last page visited

    A friend of mine has this webblog and I have never had problems viewing it before I downloaded the new version of firefox. However, once I downloaded the new version, I noticed that every time I press the "back button" after viewing a picture, it sends me back to the blog home page instead of the last page I was on or that I viewed. This also happens with some of the standard websites I visit not just the blogs.

    Right click the Back button and select the page you want to go back to.

  • Update the Content Viewer on Ipad

    hello
    the day yesterday was testing the digital publishing suite and it worked fine but nowwhen you open the InDesign CS5.5 asked me an update schedule and other sheetproducer, but when fuy to try me . folio tells me that my ipad can not be download thefile to the Content Viewer is not updated and not aprece app store update as I fix this???

    You'll love to learn that you needed to update the folio builer only and not the folio producer tools, so you could still be able to use them. It's kind of a pain to downgrade too. Check other thread : http://forums.adobe.com/message/4269053

  • Is the Get View  of  Workflow Service really read-only?

    Hi all,
    When I dragged 'Get View' from Workflow Services to the workflow panel, its comments says: Get a read-only view, however, I did create a simple workflow to update user's information, using getView instead of checkoutView to fetch user view, it seems the 'Get View' return a updatable user view, here I post part of that workflow, please help me to get it clear!
          <Activity id='3' name='Get User View' hidden='true'>       
            <Variable name='view'/>
            <Action id='0' application='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='getView'/>
              <Argument name='viewId'>
                <concat>
                  <s>User:</s>
                  <ref>accountId</ref>
                </concat>
              </Argument>
              <Argument name='type' value='User'/>
              <Return from='view' to='user'/>
            </Action>
            <Transition to='Update User Info'/>
            <WorkflowEditor x='249' y='100'/>
          </Activity>
          <Activity id='4' name='Update User Info'>       
            <Action id='0' name='set user department'>
              <expression>
                <set name='user.waveset.organization'>
                  <ref>user.accounts[SDCHR].department</ref>
                </set>
              </expression>
            </Action>
            <Action id='1 application='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='checkinView'/>
              <Argument name='view' value='$(user)'/>
            </Action>
            <Transition to='end'/>
            <WorkflowEditor x='378' y='143'/>
          </Activity>Thanks,
    R.
    Thurm

    That is my understanding as well. Technically you can modify Get View and check it back in, but this is bad practice for the reasons stated above (no lock placed on the user). Get View is better used if you need to read information about a user that is unlikely to change, but do not plan on modifying the user (for example: to check to see if the user has a certain LDAP object class which allows them access to some requested resource/activity).

  • Smart directories don't update smart in dock

    An half bug ?
    When I put my smart directory in the dock, it don't update. You can see it in the snapshot : my last file about Jeanne d'Arc don't appears. But sometimes it work well, i don't know why ? It's like window in file drag'n'drop that sometime stay in front of the finder when you want copy a file to a window behind...
    These problems don't appears every time and never with SL. An idea ? Wait for 10.8.4 and cross fingers ? ;-)

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • Page based on template don't update image path

    When I create a new page beased on a template in the
    templates folder some of the image paths don't update.
    A div in the template has the following style code
    "background-image: url(../images/leftframe.png);
    background-repeat:repeat-y".
    When the new page is created, and before it is saved in the
    correct folder the code turns to: "background-image:
    url(file:///MYDISK/CLIENTFOLDER/client_webpages/images/leftframe.png);
    background-repeat:repeat-y".
    This is perfect, because the new page still don't know its
    correct path. But in CS3, and earlier versions of Deamweaver the
    path was updated when the new page was saved. That does not happen
    in CS4.
    Linked css files and other image and file paths are updated
    as it should, but this div style is not.
    I know the work arounds; move the div style code to the css
    file, open the html page in an other html editor correct it and
    paste it back...
    I don't want to spend time changing my templates or perform
    work arounds when it is obvious that there is a bug in CS4.
    Others with the same experience or a way to solve the
    problem? Or should I send Adobe a bug report?
    Stavanger

    > I know the work arounds; move the div style code to the
    css file, open the
    > html page in an other html editor correct it and paste
    it back...
    Here's a better one - make the link root relative rather than
    document
    relative.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Mr. Stavanger" <[email protected]> wrote in
    message
    news:gmu4dv$i4q$[email protected]..
    > When I create a new page beased on a template in the
    templates folder some
    > of
    > the image paths don't update.
    > A div in the template has the following style code
    "background-image:
    > url(../images/leftframe.png);
    background-repeat:repeat-y".
    >
    > When the new page is created, and before it is saved in
    the correct folder
    > the
    > code turns to: "background-image:
    >
    url(file:///MYDISK/CLIENTFOLDER/client_webpages/images/leftframe.png);
    > background-repeat:repeat-y".
    >
    > This is perfect, because the new page still don't know
    its correct path.
    > But
    > in CS3, and earlier versions of Deamweaver the path was
    updated when the
    > new
    > page was saved. That does not happen in CS4.
    >
    > Linked css files and other image and file paths are
    updated as it should,
    > but
    > this div style is not.
    >
    > I know the work arounds; move the div style code to the
    css file, open the
    > html page in an other html editor correct it and paste
    it back...
    >
    > I don't want to spend time changing my templates or
    perform work arounds
    > when
    > it is obvious that there is a bug in CS4.
    >
    > Others with the same experience or a way to solve the
    problem? Or should I
    > send Adobe a bug report?
    >
    > Stavanger
    >

  • I have a photo selected in the Grid View.  When I click on Develop I receive the message "No photo selected."  I'm using Lightroom CC

    I also notice that the filmstrip view does not update as I select images in Grid view.

    I tried all sorts of selecting and re-selecting in the Grid view and the filmstrip never updated.  As you can read below, I contacted Adobe through their Chat support and they reset my preferences.  That cured the problem.    Now to reset my preferences. 

  • Ios 5 Update New Features says that iCal now has a week view for iPhone but after updating last weekend, I don't see any week view--just List, Day and Month..How do I get the week view?

    ios 5 Update New Features says that calendar now has a week view but after updating my iPhone 4 last weekend, I don't see any week view for iCal--just List, Day and Month as in the past. Is the weekly view available for iCal and if so, how do I access it?

    Rotate your phone to landscape.

  • When I click on 2014 month view in calendar iPhone 5 s stucks, lagging. What is the problem I don't know????

    When I click on 2014 month view in calendar iPhone 5 s stucks, lagging. What is the problem I don't know????

    Should read 'When I '''clicked''' on your update this a.m......

  • When I click on a file to view in Finder in the view as columns, Finder stops responding.  If I use Finder in any of the other views, I don't have an issue.

    When I go to finder and view as columns so that the right column will open a preview of the file, I get the endless spinning graphic and when I go to Force Quit, it shows that Finder has stopped responding.  When I use Finder in any other view mode, I don't have that issue.  This just started today.  As far as I know, I haven't done any updates today that would cause the issue.  I've restarted a few times.  I'm running 10.10 on iMac (27-inch, Mid 2011).  I when to updates in the App Store and saw there was an update for 10.10.1 and tried to run it twice now.  It starts to install and says I have 7 minutes left and then at about 3 minutes, it just opens all my windows again and acts normally.  When I go to "About this mac", I'm still showing 10.10 as the OS.  Also, in the App Store, when I click on updates, it shows me 4 updates that I've already installed as ready to install.  Not really sure what's going on nor why all the sudden this is an issue, but I use the preview mode in Finder all the time so I would love a fix for this.  I've tried logging out and logging in as another user and the same issue with Finder happens with other users as well.  I've emptied my trash bin as well. 

    Step one is to log into a newly created admin user account and see if the problem persists.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • I upgraded to ios 7.1 and even after i updated to this version in the calendar view i could get a list of all of appointments and now i have half screen of calendar and then appointments is their any way to go full screen of appointmetns

    I upgraded to ios 7.1 and even after i updated to this new version in the calendar view i could get a list of all appointments and now i have done something and i get a half scrren of calendar and half screen of appointments.  is their anyway to get full screen of appointments with the 7.1 version

    Tap on any give date in the monthly view and you will be taken a list of event, the default position being the date you tapped.
    The icon just to the left of the search icon provides a master list view of events.
    http://help.apple.com/iphone/7/#/iph3d110f84

  • I just updated to Adobe Reader 11.0.07 on my Mac 10.6.8 and now the video files don't work.  How do I uninstall the update and return to the previous version?

    I just updated to Adobe Reader 11.0.07 on my Mac OS version 10.6.8 and now the video files don't work.  How do I uninstall the update and return to the previous version?

    I received a notice from Chris Campbell at Adobe that stated : "....we are aware that Macs created between 2006 and 2008 are currently running into problems using the latest release of Flash Player (version 13)."  My question is will the update of Adobe Reader 11.0.07 cause this problem with Flash Player 13 on my Mac?  Sometimes when I try to view streaming video I get sound but no video.
    >

Maybe you are looking for

  • Late 2011 macbook pro 13" battery life not good

    I can leave my laptop plugged in all night turned off, and in the morning it only has 99% battery. It seems to quickly discharge. After about an hour an a half, I am down to 50%. I bought this computer in October. I has intel core i7 with 4GB 1333 MH

  • Itunes/app store reviews not showing up on iPhone 4

    Is anybody else having trouble reading the reviews for the app store and itunes? I can see the number of starts and number of reviews, but when I try to read them my iPhone 4 doesn't show them. I am able to read some reviews, but for the most part it

  • Cannot download a previously purchased app after switching computers

    I switched from a Macbook Pro to an iMac.  Afterwards, I was unable to open a particular app. iTunes App Store does not give me a download icon for this app when I click the Purchased link and search for the app. When I search for my computer, the .i

  • Multiple skype tele #'s

    May I have multiple Skype tele numbers? Some of my clients wish me to answer the phone for them I am thinking of using skype phone is this possible and do I need to have a business account to do this?

  • Photoshop CS4 download

    I currently run Photoshop CS4 on iMac (Mavericks). I have the orginal installation CD. I now want to also run it on my MacBookPro (also Mavericks). Can anyone please advise how I find the download link? Thanks.