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 > DB Spaces

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-08-03, 07:27
Maruthi Maruthi is offline
Registered User
 
Join Date: Dec 2003
Posts: 11
Question DB Spaces

How to Increase the DBSpaces in Informix Dynamic Server for WinNT.

Plz help me.


Maruthi
Reply With Quote
  #2 (permalink)  
Old 12-08-03, 07:48
vpshriyan vpshriyan is offline
Registered User
 
Join Date: Nov 2003
Location: Mumbai, India
Posts: 92
Hi,

Create a DBspace:
onspaces -c -d <DBspacename> -p <pathname> -o <offset> -s <size>

Add a chunk to an existing DBspace:
onspaces -a <DBspacename> -p <pathname> -o <offset> -s <size>

Generally offset is kept as 0 (zero), but may vary according to a disk setup. Make sure that the instance where you are doing this admin job is free from user sessions.

Regards,
Shriyan
Reply With Quote
  #3 (permalink)  
Old 12-08-03, 07:57
Maruthi Maruthi is offline
Registered User
 
Join Date: Dec 2003
Posts: 11
DB Spaces

Hi..Thank u for reply.


I dont have the telnet. I am connecting to ServerStudio JE

Where i need to give the said command.


Regards
maruthi




Quote:
Originally posted by vpshriyan
Hi,

Create a DBspace:
onspaces -c -d <DBspacename> -p <pathname> -o <offset> -s <size>

Add a chunk to an existing DBspace:
onspaces -a <DBspacename> -p <pathname> -o <offset> -s <size>

Generally offset is kept as 0 (zero), but may vary according to a disk setup. Make sure that the instance where you are doing this admin job is free from user sessions.

Regards,
Shriyan
Reply With Quote
  #4 (permalink)  
Old 12-08-03, 11:21
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Re: DB Spaces

Quote:
Originally posted by Maruthi
Hi..Thank u for reply.


I dont have the telnet. I am connecting to ServerStudio JE

Where i need to give the said command.


Regards
maruthi
Hi,

You will have to give this command in the command window where you started your IDS server. Eg. Start - Programs - Informix Dynamic server - Select your server
A command window will open, here you can give the above commands.

Regards,

lloyd
Reply With Quote
  #5 (permalink)  
Old 12-08-03, 21:35
Maruthi Maruthi is offline
Registered User
 
Join Date: Dec 2003
Posts: 11
Re: DB Spaces

Hi..Thnx for u r suggetions.

still i am getting problem with onspaces. here i am attaching the error message.

Plz help me.
Attached Images
File Type: jpg error.jpg (70.7 KB, 103 views)
Reply With Quote
  #6 (permalink)  
Old 12-08-03, 22:06
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Re: DB Spaces

Quote:
Originally posted by lloydnwo
Hi,

You will have to give this command in the command window where you started your IDS server. Eg. Start - Programs - Informix Dynamic server - Select your server
A command window will open, here you can give the above commands.

Regards,

lloyd
Hi Maruti,

Here's how you do it.

To Create new Dbspace

1 Go to command prompt
2 Create a new file – edit abc.dat with zero bytes
(eg edit abc.dat)
3 Save it
4 At the server end –
Onspaces –C –D Abc_dbs –P C:\data\abc -O 10 -S 50000
5 Take a level 0 archive – Ontape -S


Add new chuck to a dbspace
Follow the same 4 steps and
Onspaces – a ocslink -o 0 -p c:\ifmxdata\ocslink\ocslink_dat1 –s 50000

This should help.

Regards,

Lloyd
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