Solved

Oracle table space performance

Posted on 2011-03-19
9
327 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ODBC Question 3 40
Why  don't I see Below columns in my  Stored Procedure  under TMP_RS? 8 22
PL SQL Developer 7 32
Problem with duplicate records in Oracle query 16 25
SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

785 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