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 > Creating a database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-06-04, 10:02
Grisel Grisel is offline
Registered User
 
Join Date: Dec 2004
Posts: 3
Question Creating a database

We one database and many tables in it but all in one dbspace.

How many dbspace I need to create?
Which tables in which dbspace is more performance.
Are there any database model about it?

Many thankssssss..... :-)
Reply With Quote
  #2 (permalink)  
Old 12-06-04, 11:31
mroberto mroberto is offline
Registered User
 
Join Date: Nov 2004
Posts: 4
Hi.

You need create more less 7 dbspaces:
1 - rootdbs,
2 - logdbs,
3 - phydbs,
4 - datadbs,
5 - indexdbs,
6 - tempdbs1,
7 - tempdbs2.

Using to database: create database name_data in datadbs;
using to table: create table name_table (......) in datadbs;
Using to index: create index name_index ...... in indexdbs;


Sorry, i dont model.
Reply With Quote
  #3 (permalink)  
Old 12-06-04, 12:45
Grisel Grisel is offline
Registered User
 
Join Date: Dec 2004
Posts: 3
only for data dbspaces...

Many thanks for reply!
But I referenced about data dbspace; so how many tables for data dbspaces, or which tables in each datadbs?? (without take in account rootdbs, logdbs, phydbs, indexdbs, tempdbs1, tempdbs2...)

Thanks again!
Reply With Quote
  #4 (permalink)  
Old 12-06-04, 13:43
mroberto mroberto is offline
Registered User
 
Join Date: Nov 2004
Posts: 4
Good, it does not have as to define an amount of tables for dbspaces.
The recommended one is separates the tables that tend to grow very, of the proper others, creating if necessary, dbspaces for each one.

I know that not aid very, but I go to see if I find a model and you sending.
Reply With Quote
  #5 (permalink)  
Old 01-13-05, 09:14
Grisel Grisel is offline
Registered User
 
Join Date: Dec 2004
Posts: 3
Many thanks mroberto!
Pls, if you have any model or template pls send my. Thanks again!
Reply With Quote
  #6 (permalink)  
Old 01-13-05, 11:14
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
Also keep in mynd the extent sizes for the tables when you recreate them, and try to place you high use tables on the center tracks of the disk.

Cheers

Artem
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