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 > How to add data in Metadata

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-08-04, 02:02
shreedhar_tase shreedhar_tase is offline
Registered User
 
Join Date: Feb 2004
Location: india
Posts: 45
How to add data in Metadata

I am using informix 9.4 TC1
I have added SBSPACE
onspaces -c -S sbspace3 -p D:\IFMXDATA\cdr5\sbspace_dat.003 -o 0 -s 1024

which has status
Chunks
address chunk/dbs offset size free bpages flags pathname
0CFBD018 61 60 0 256 103 103 POS- D:\IFMXDAT
A\cdr5\sbspace_dat.003
Metadata 100 74 100

I have created table in this spaces using
create table IFMXprod_serv
(
id integer,
name BLOB
)
put name in (sbspace1)

I am inserting data using command
insert into IFMXprod_serv values (1,FILETOBLOB("D:\informix\toblob","server"));

After adding lot of data I got an error that Sbspace is full showing following status
Chunks
address chunk/dbs offset size free bpages flags pathname
0CFBD018 61 60 0 256 0 103 POS- D:\IFMXDAT
A\cdr5\sbspace_dat.003
Metadata 100 74 100

It seems that there is still gree space in sbspace.
How to add data into that Metadata.
even thouth i am adding with Ms option in onspaces same thing is happening.

Can anyone help.
Reply With Quote
  #2 (permalink)  
Old 07-08-04, 09:24
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

You can add space in metadata or user data with onspaces -ch, plase run from line command onspaces, for help.
Remember that next of create a sbspaces or add a chunk must be force change of logical logs.
Add the name in the SBSPACENAME configuration parameter.
Use onstat -d, onstat -g smb s, and oncheck -cs, -cS, -ps, or -pS to
display information about the sbspace.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 07-08-04, 09:46
shreedhar_tase shreedhar_tase is offline
Registered User
 
Join Date: Feb 2004
Location: india
Posts: 45
gustav

Thanks for help.But my problem is slightly different.I want to write into Metadata area of sbspace.
How can we do it
Reply With Quote
  #4 (permalink)  
Old 07-12-04, 09:55
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
Metadata is the information about the object, not the object itself. You don't store into metatdata, Informix does that. You only allocated 256 pages of which 103 were available for your use before you started. You filled them up.
__________________
Fred Prose
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