If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Dbspacestemp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-05-04, 11:00
Marce Marce is offline
Registered User
 
Join Date: Mar 2004
Posts: 18
Question Dbspacestemp

I' have to add temporary DBspaces , but I don't know what size should I assign.
What's an standard size for a DBSpace?
For a Chunk?
For a Temporary Dbspace?

Should I just add ones or several temporary Dbspaces?

The information in the ONCONFIG FILE
ROOTNAME rootdbs # Root dbspace name
ROOTSIZE 51200 # Size of root dbspace (Kbytes
# Physical Log Configuration
PHYSDBS rootdbs # Location (dbspace) of physical log
PHYSFILE 2000 # Physical log file size (Kbytes)
# Logical Log Configuration
LOGFILES 8 # Number of logical log files
LOGSIZE 2000 # Logical log size (Kbytes)
LOG_BACKUP_MODE MANUAL #

I would appreciate an orientation, or (and Better) an example,
Thanks, Marce
Reply With Quote
  #2 (permalink)  
Old 08-05-04, 23:44
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Hi,

The size depends upon your database, how big your tables will grow over a period of time. All things need to be taken in to account. You create a temp dbspace with 20 mb for start and add more chunks as it grows. Also make sure that your physical & logical logs are is seperate dbspaces.

Regards,

lloyd
Reply With Quote
  #3 (permalink)  
Old 08-07-04, 15:31
bull_abraham bull_abraham is offline
Registered User
 
Join Date: Feb 2004
Posts: 32
Thumb rule : Try to have 25% the number of total data dbspaces and make sure these are on seperate spindles and not mirrored.
Reason : The more you have , the more the temp tables are parallelized and with mirroring turned off, you gain that little grain of performance and keeping them at seperate spindles gives you a more balanced i/o.

This is ONLY for the temporary dbspace.

Most common mistake : don't forget to create them with the "-t " option and plug them into the "DBSPACETEMP" parameter.

As for the chunk size , the max you could go is 2Gb , unless you use the 9.x versions.

Normally for sizing the dbspaces, look at how many different spindles are allocated for the database, make that many dbspaces and make sure the volumes are striped.

-Abraham
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On