Solved

Set primary extent size?

Posted on 2007-11-17
8
1,569 Views
Last Modified: 2013-12-24
Hi Experts,

I'm working on an ooooold INFORMIX 5.10 database, and want to change the "primary" extent (if that's what it's called) to say 1.5 times the current size of the loaded data, to maximise performance and allow for 50% growth without going into "secondary" extents (or is it "next"? extents).  The current data is badly fragmented, and the extent sizes are too small, so I plan to export, delete, and import the database.

Questions:

1. What is the correct term for this "primary" extent?

2. Does trying to avoid using next extents sound like a good way to maximise performance?  (Yes, I know there are many other ways - I'm just talking about this one).

3. I know how to set the next extent sizes ("ALTER TABLE...MODIFY NEXT SIZE..."), but how can I go about making the "primary"? extent 50% larger than the current data requirement?

4. Could I achieve item 3 by increasing the row counts in the dbexport file (after the export) by 50%, and then import?

5. Do those row counts in the dbexport file have to match the numbers of rows in the table unload files, for the dbimport to work?

6. Can the primary extent span chunks?  (I understand that next extents can't).

Thanks.
0
Comment
Question by:tel2
  • 4
  • 4
8 Comments
 
LVL 61

Expert Comment

by:gheist
ID: 20369104
It is set when initializing server based on config file
General recommendation is 128MB
0
 
LVL 12

Author Comment

by:tel2
ID: 20439024
Hi gheist,

Sorry for the delay in responding.

What variable are you referring to?
0
 
LVL 61

Accepted Solution

by:
gheist earned 125 total points
ID: 20450103
confuded with root dbspace.
it is specified when one does create table.
0
 
LVL 12

Author Comment

by:tel2
ID: 20453442
Hi gheist,

What do you mean by "confuded" (is it "confused"?).

Are you saying I should do this:
  CREATE TABLE abc ... EXTENT SIZE ...
?

TRS
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.

 
LVL 61

Expert Comment

by:gheist
ID: 20456928
0
 
LVL 12

Author Comment

by:tel2
ID: 20461947
Awesome!

I'll take that as a double "yes".

Thanks gheist!
0
 
LVL 61

Expert Comment

by:gheist
ID: 20462410
Informix Unleashed is best book on subject - it deals with some internals covered by Informix courses, not everything, but reasonalbly well.
First extent is allocated when table is created, next are allocated later many times and new ones can be set different size by ALTER TABLE
First extent should be data size when you import data, next is expected growth between UPDATE STATISTICS
They should be rounded up to page size (as taken from onstat) - 2k or 4k (8k page systems like old SunOS are long gone)
0
 
LVL 12

Author Comment

by:tel2
ID: 20462424
OK - thanks again, gheist.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Introduction: I have seen many questions on EE and elsewhere, asking about how to find either gaps in lists of numbers (id field, usually) ranges of values or dates overlapping date ranges combined date ranges I thought it would be a good …
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

930 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

13 Experts available now in Live!

Get 1:1 Help Now