Solved

tables in memory ram oracle 10gr2

Posted on 2007-12-06
4
1,846 Views
Last Modified: 2013-12-18
i would like to know it's possible have a table in memory ram
0
Comment
Question by:yerai
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 250 total points
ID: 20419414
yes, they are called "global temporary tables"


create global temporary table my_temp_table
(
    n  number,
    d  date,
    v  varchar2(20)
)
on commit preserve rows;
0
 
LVL 74

Expert Comment

by:sdstuber
ID: 20419445
you can also declare them "on commit delete rows"

the "on commit" settings do just what they sound like and the same action is taken on a rollback.
So,  on commit delete rows,  will also delete the rows when you rollback.

In both cases, the data is lost when the session ends.  Also note,  the data is only visible to the session that creates it.

So, if you insert into the above temp table and I insert into the above temp table,  you only see your data and I only see my data.  Even if we both commit.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
error in my cursor 5 65
SQL Syntax Question 9 57
Shared Service Environment 2 54
Sorting a SQL script 5 41
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question