Solved

Oracle table space performance

Posted on 2011-03-19
9
325 Views
Last Modified: 2012-05-11

We are using oracle 9i we have a series of 2000 update statements to update all the tables in this database. The current table space in the database  is 300 mb , while database size is 26 GB. Our DBA says table space will not affect performance doing update statements. Is this true , if not is there any documentation that proves this?

Note : We are doing this is test database with temp table space of 300mb while production has 23 GB table space.

We already know what statements are problematic.
0
Comment
Question by:dba_damion
9 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 63 total points
ID: 35172037
The only datafile/tablespace  performance issue you should have is if the datafiles need to autoextend.

2000 updates isn't a lot of DML (unless each one updates thousands of rows each).
0
 
LVL 73

Assisted Solution

by:sdstuber
sdstuber earned 62 total points
ID: 35172151
if you have dictionary managed tablespaces you "might" see a little more performance impact than if you are using locally managed tablespaces.

but, as mentioned above, that performance hit occurs when you extend,  once the space is there, it's there and you simply use it until used up and then extend again.  

If you're worried about it, calculate the total space you'll need and preallocate it
0
 
LVL 18

Expert Comment

by:sventhan
ID: 35177595
How you doing these updates? Do you have commits in between? I would concentrate on no of rows being updated then worrying about the tablespace issues.  Even if you have autoextend is set, the datafile can only grow up to certain limit which based on your block size. Given the size of the DB it wouldn't be an issue.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:dba_damion
ID: 35888966
I've requested that this question be deleted for the following reason:

Answer was not what I was looking for
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35888967
>>Answer was not what I was looking for

I'm afraid I'll have to object for the reason you provided.  What were you looking for?  You asked if space would affect performance and I believe we basically said: no.

You never came back asking for additional information so we had to assume we answered the question.
0
 
LVL 73

Expert Comment

by:sdstuber
ID: 35955265
split

http:#35172037 -- answers the main question where performance is impacted when new space allocated
http:#35172151 -- extends this to dictionary managed where deallocations and new allocations will be slower than LMT, Since 9i, it's a reasonable possibility it's still DMT.  Also suggests pre-allocation to avoid runtime performance impact due to allocations
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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.
Read about achieving the basic levels of HRIS security in the workplace.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
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.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now