Tables stored in memory but may be accessed from other sessions

Dear Oracle experts,
it may be a stupid question but I'm searching for the best possibility to create a kind of temporary table which may be accessed from other sessions.
Could you provide some hints/ catchwords to speed up my recherches.
Thank you very much,
Daniel

danielwetzler wrote:
danielwetzler wrote:
I fear that the caching is not suitable for my case because of the reasons decribed in my other postings...First of all I don't think that you need to worry about the effectiveness of the caching in your particular case. In addition Oracle is very clever at when to actually write the dirty blocks from the buffer cache to the disks, so if your amount of data written to the result table is fairly small and no other activity is going on your system it won't get written to disk immediately anyway but stay in memory until any of the conditions are met that trigger the database writer to flush the blocks to disk.
But there are options you could consider if you want to avoid as much of the overhead as possible and to write the results of your calculation to the result table as fast as possible.
You could use direct-path inserts (INSERT /*+ APPEND */) and set the result table to "NOLOGGING". This way no undo and minimum redo is generated.
Note however that there are certain caveats and restrictions to consider when using such an approach, e.g. your result table won't be recoverable (which you say is OK), only one direct-path insert is allowed simultaneously (it blocks the table exclusively, no other DML possible until you commit/rollback the transaction), and the direct-path insert has some restrictions. If any of these apply that prevent the direct-path operation then it silently falls back to "conventional" insert mode which generates undo and redo. One of the more annoying restrictions is that you can't read from a table that has been written to in direct-path mode within the same transaction, you first have to commit the transaction, otherwise you get "ORA-12838: cannot read/modify an object after modifying it in parallel". This means by simply adding the APPEND hint you might break existing logic.
Finally the direct-path insert never re-uses free space in blocks below the current high-water mark, which means if you perform a direct-path insert and afterwards delete rows from the table and repeat again a direct-path insert operation your segment will grow and the empty space in the already used blocks won't get re-used. Best way would be to truncate the table rather than deleting rows from it.
There are workarounds available to overcome some of these direct-path insert limitations (exclusive lock, truncate instead of delete etc.), like using a partitioned table (if you have a suitable edition/license), because direct-path inserts can be restricted to partitions. In this case you can do simultaneous direct-path inserts if you use different partitions, but you need then some kind of logic that determines which partition to use.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/

Similar Messages

  • Website appears on server, but can't access from other computers

    I migrated from Server 10.5 to Snow Leopard Server. Used the migration tool to bring everything over from the previous box.
    I can access the website via browser from the server, but can't access it from any other computers. I'm a decidedly non-geek type, so too many settings are gibberish to me. However, I at least ran the previous server for many years without problems.
    Any clues as to what I'm missing?

    What error message(s) are you getting from the remote web browser clients?
    Exactly what string are you typing into the address bar of the web browser?
    Are the remote clients on the same LAN as the web server, or on a remote network?
    If running, is the firewall open for port 80 or port 443 for the web server?
    Knowing a little more "gibberish" helps when you're running a server, too.

  • I want to back up my iPad so I can changeover to the ipad2 but my pc doesn't have enough memory to allow me to update. I've deleted everything I can in order to get more memory but cannot is there any other way to do it?

    I want to back up my iPad so I can changeover to the ipad2 but my pc doesn't have enough memory to allow me to update. I've deleted everything I can in order to get more memory but cannot is there any other way to do it?

    I think you misunderstand... iCloud backups are stored in the cloud and not on the PC. So, if you do an iCloud backup, it won't take up room on the PC.
    But, if you want to transfer the iTunes purchases over, set up Home Sharing. Also, see this link.

  • Iphone 5 broke switched to old iphone 4 but cant get texts from other iphone users cant do anything with iphone 5 like i said its wayy broke

    IPhone 5 broke switched to old iPhone 4 but cant receive texts from other iPhone users cant do anything with iPhone 5 screen does not work

    I'm guessing that you turned off the iPhone 5? If so, then are you using the same phone number as the 5? You need to go into Settings>Messages>make sure that iMessage is turned on and activated. Then go the Send & Receive and find out if your current number is checked.

  • How do I load my project onto cloud so I can access from other places

    How do I load my projects onto cloud so I can access from other places?

    Below links should be able to help you.
    http://tv.adobe.com/watch/cs6-creative-cloud-feature-tour-for-web/uploading-files-to-creat ive-cloud/
    http://tv.adobe.com/watch/learn-creative-cloud/sharing-and-downloading-files-in-creative-c loud/

  • Flash Vars is not working when we accessing from other class files

    Hi all, I'm currently developing a flex application where i
    need to pass the data from the flash vars to the other class files
    instead of the main actionscript class file.
    Does any body know how i should go about doing that?? you can
    see this below code : please help me out if u know how to solve
    testnew2.as file
    package {
    import flash.display.Sprite;
    import flash.display.LoaderInfo;
    public dynamic class testnew2 extends Sprite {
    public var
    xmlfile:String=String(root.loaderInfo.parameters.lists);
    public function testnew ():void{
    package {
    import flash.text.TextField;
    import flash.display.Sprite;
    import flash.display.LoaderInfo;
    public dynamic class testnew extends testnew2 {
    public function testnew () {
    var myText:TextField = new TextField();
    // this assumes that you are going to pass in an id variable
    // on the end of the myFile.swf?id=12345 or
    // use FlashVars in the HTML parameter list for instance
    // 'FlashVars', 'id=123456', 'width', '1024',
    myText.text = new testnew2().xmlfile;
    addChild(myText);
    but if we access in same file it is working fine:
    package {
    import flash.text.TextField;
    import flash.display.Sprite;
    import flash.display.LoaderInfo;
    public dynamic class testnew extends Sprite {
    public function testnew () {
    var myText:TextField = new TextField();
    myText.text = String(root.loaderInfo.parameters.lists);
    addChild(myText);

    Pass the data into the main app, then from there either pass
    it into the sub-components or use
    Application.application.parameters, or bind to the values.
    Tracy

  • I have a brand new iPad newest version. Wifi. The messaging won't send out but I receive messages from others. What is wrong?

    I have the newest version of the iPad (3rd generation) with wifi. The messaging won't send out but I'm receiving messages from others when I'm using it. They also come through on my iphone at the same time. But I can't send them out on the iPad. I tried someone's suggestion of changing the DNS to 8.8.8.8 and that did not work to fix it. What is wrong with this thing?  Thank you in advance for your help.

    Are you trying to send a message to a cell number or an email address?  iPad does MMS, not SMS, meaning it can't send a message to a number.  It can send a message to an email address........

  • Are SQL 'tables' stored on memory or Hard-disk?

    Hi,
    I'm designing a servlet using JDBC & SQL.
    I checked-out the Java.sun JDBC turoial "Coffee table" example, and decided to use the
    rs = stmt.executeUpdate("CREATE TABLE MyStuff....");
    I'm looking for a temoporary storage of small amt of data (~8 rows,4 colomns) prior to updation of a REAL Database.So, The customer could easily cancel the order at ant time durring the session.
    Have I chosen the wrong method to accomplish this?
    Thnaks.
    Regards,
    Nemo

    hello aesh83,
    I think you should use the transaction commit feature
    of the JDBC for this.. by turning autocommit to OFF
    , you can do the transactions and then control if the
    change is to be actually done in the database or can
    rollback This is trickier than you think.
    You absolutely do NOT want to hold a database connection from web page to web page, because there can be infinitely long delays between the pages and you'll rapidly run out of connections.
    The simple way to do this (simple in theory) is to store the temporary information in the HttpSession object in memory, and when the user goes to a "commit this" URL to tell you that they want to commit the transaction, insert the whole thing into the database in one shot.
    You could get much fancier, of course. You could have a database-backed cart, and some mechanism for the customer to access previously-created carts (in case their browser session dies or they move to a different computer), and some way to "commit" a cart by creating the final transaction and removing the cart. You'll also need a way (maybe) to remove old, dead carts using a periodic maintenance operation.

  • I have an i phone ios5 and am purchasing an i pad2 both with i cloud.  I have already uploaded my i tunes files to the cloud.  is there any way to upload all existing i photo and i work files from my mac so that they may be accessed from my i pad?

    I am purchasing an i pad 2 and have an i phone i os 5.0 both with access to the cloud. i have backed up my i tunes files to the cloud.  Is there any way to back up all of my existing i photo files and i work files to the cloud so that I may access them with my i pad?  It's probably time to replace my mac but would like to postpone this expense for another year if possible. 

    There is limited iCloud compatibility on 10.5.8.  To learn what iCloud compatibility exists, visit this article:
    https://discussions.apple.com/docs/DOC-2551

  • I can't access google but i can access every other site. I have this problem in all the browsers. Can somebody please help?

    Hi.
    I can't access google in any browser ( Chrome, Explorer,Firefox). It just does not load. But i don't have any problem with any other sites. Actually i could even access google just yesterday.
    I've tried deleting the cookies, installing anti-malware softwares, i cleared the cache, i cleared all the history etc... I basically tried everything that was proposed on previous questions but nothing helps.
    I would really appreciate it if someone could help.
    Thank you.

    Try to access google.com through the below ip.
    1.) http://74.125.225.81
    2.) http://74.125.225.84
    3.) http://74.125.225.82
    4.) http://74.125.225.80
    5.) http://74.125.225.83
    If this resolves your problem, check the DNS settings.

  • My ipod touch keeps saying my account is disabled but i can access from my computer

    can anyone help i have tried apple support but the problem still remains i have changed my password several times but i can't get access to the net to update my apps . disabled for security reasons. help

    Try here...
    Apple ID: "This Apple ID has been disabled for security reasons"  appears
    Contact iTunes Billing:
    http://www.apple.com/support/itunes/
    Click: iTunes Store Account & Billing / Billing Inquiries / Email Us

  • I cannot access my emails through Firefox after having system changed from Mac to PC. I have reset the password but no luck. I get 'reason=failure'. I cannot access from other computers either.

    I cannot access my emails from any work computer despite resetting password (original password unknown as before my time and had been 'remembered' in system so was always there).
    == This happened ==
    Every time Firefox opened
    == Logging on after work done to change systems. IT person now gone.

    Please check if all your plugins are up-to-date. To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

  • Since loading Firefox version 5 all my emails from talktalk have all become "undefined" and will not allow me to click onto open box. Only access from other computers with different browsers will. Problem with Firefox or problem with Talktalk?

    I tried going to system restore, but could not open any pages at all after going to a system restore point. Had to reverse this as could not access anything at all then via Mozilla Firefox icon.

    Hi David,
    Thank you for your detailed question. It sounds like the real issue is pdf files. Are there any antivirus/firewalls that might be blocking this specific file type? or are there any preferences in your control panel that might be blocking this?
    Do you have any stored preferences for PDF files in Firefox?
    *[[Applications panel - Set how Firefox handles different types of files]]

  • Job server giving error when accessing from other servers and clients

    I am facing one issue at customer site with DS 4.0.
    -     Job Servers are installed on two machines M1 and M2. JS1 on M1 and JS2 on M2.
    -     Both the job servers are in server group
    -     Sitting on machine M1, I am able to run jobs selecting JS1 and JS2 individually
    -     On Machine M2, JS2 is working fine however while running jobs on JS1 it says Job Server is not working
    o     In Designer screen, I can see the job server icon at the bottom without cross mark, which means it is working. However, when I move the cursor on this icon, following text is displayed on the tray
    Job Server: (servername:3500) - notification server error (BODI-1241023)
    I have checked the firewall on both the servers, and port 3500 is open.
    Any idea what the problem can be?

    You may also search for Access help at http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US

  • Restrict Opportunity access from other Org Unit Sales agent

    Hello,
    My Scenario is, there is different Organisation Units and Sales agents are assigned to those Org units. Now the issue is, Sales agent from one Org unit is looking into the opportunity of other Org unit. As the sales agents have their own targets and competition, one should not see the Opportunities of other Org unit.
    How can we achieve this ?
       a ) Can we achieve this through PFCG roles, if so how ?
       b) I heard about the concept of Access control engine, which is usefull in this kind of scenario's. but again we need to implement ACS here, which I dont have ides.
    Please suggest me the best method to achieve this. Also provide me step by step procedure also to achieve this.
    Thanks,
    MD.

    Hi, madhusudan444.
    Yes, you can achieve this by PFCG.  Authorization objects CRM_ORD_LP or CRM_ORD_OE will help you.
    For more information, please, follow to this link:
    http://help.sap.com/saphelp_crm70/helpdata/EN/48/a44236ceb873e8e10000000a42189b/frameset.htm
    I would not recommend using ACE in this issue, because ACE is abap. Your issue can achieve by standard procedure.

Maybe you are looking for

  • Irregular shaped Canvas/UIComponent

    How can I create irregular shaped canvas/UIComponent? By irregular shaped, I mean teris like shapes. Is there a proper way of doing it? This will be a draggable component. Once the dragged component is overlapped on another component, user should be

  • Trying to install OS on mcs-7825-h2 for unity

    Hi, I'm trying to install w2k os on an mcs-7825-h2 but the smartstart cd (7.40) doesn't have the sata raid drivers. As these servers don't have floppy disks has any one got any info on how to do this? Rgds Andy

  • Can not download creative cloud desktop on a mac desktop-i've paid for months!

    how can i talk to someone? SO frustrating and a RIP OFF! DO NOT DOWLOAD

  • LR2 Sluggishness Resolution

    I was having the issue of LR2 being incredible sluggish and slow. I found that uninstalling LR 1.4.1 has resolved much if not all of the delays. Win XP Pro SP2 P4 3GHz 2 GB RAM I was watching the process monitor while running LR2 and LR14 installed (

  • Site to Site Data Replication

    Hello, We are currently working to design a DR site with site to site data replication via Oracle products. CWDM and DWDM seems interesting but I would like to know how does the commucation over these solutions happen. Is it over IP network with IP s