Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Informix > DB Spaces

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-08-03, 08: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, 08: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, 08: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, 12: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, 22: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, 96 views)
Reply With Quote
  #6 (permalink)  
Old 12-08-03, 23: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

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