• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

Oracle table space performance


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
dba_damion
Asked:
dba_damion
2 Solutions
 
slightwv (䄆 Netminder) Commented:
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
 
sdstuberCommented:
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
 
sventhanCommented:
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
dba_damionAuthor Commented:
I've requested that this question be deleted for the following reason:

Answer was not what I was looking for
0
 
slightwv (䄆 Netminder) Commented:
>>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
 
sdstuberCommented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now