Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

RE: Creating a table with BLOB in a SBSpace

Posted By: Everett Mills
Date: Thursday, 17 September 2009, at 12:07 p.m.

In Response To: RE: Creating a table with BLOB in a SBSpace (Everett Mills)

> -----Original Message-----
> From: Alberto Romeu Pessonio Filho
[mailto:arfilho@orizonbrasil.com.br]
> Sent: Thursday, September 17, 2009 10:56 AM
> To: Everett Mills
> Subject: RES: Creating a table with BLOB in a SBSpace [17062]
>
> Hi Everett!!!
>
> That's exactly what i'm trying to do, but instead of use a Blobspace,
> I'm using a SBSpace to create the entire table into the SBSpace,
because
> I need to use some SBSpace's functionality.
>

Ok then, use the BLOB datatype, but you still have to create the table
itself in a regular dbspace, then the column for your blob is a pointer
to its real location in the sbspace. Best to read the blob sections of
chapter 4 the Guide to SQL Syntax to get a handle on how these all fit
together.

--EEM

> Any tips?
> Tks very much,
> Alberto Pessonio.
>
> -----Mensagem original-----
> De: Everett Mills [mailto:Everett.Mills@nationalbeef.com]
> Enviada em: quinta-feira, 17 de setembro de 2009 12:52
> Para: Alberto Romeu Pessonio Filho
> Assunto: RE: Creating a table with BLOB in a SBSpace [17062]
>
> The short answer is that you can't create tables in blobspace. Create
> your table in a regular dbspace with your blob column pointed at your
> blobspace:
>
> CREATE TABLE TB_ANEXO_GUIA_1
> (
> ID_ANEXO_GUIA INTEGER NOT NULL,
> CD_GUIA_PRESTADOR VARCHAR(20) NOT NULL,
> CD_CARTEIRINHA VARCHAR(30) ,
> COD_OPERADORA_ANS VARCHAR(6) ,
> NM_ARQUIVO VARCHAR(255) ,
> DS_EXTENSAO_ARQUIVO VARCHAR(3) ,
> NU_TAMANHO_ARQUIVO BIGINT ,
> NU_SEQUENCIAL INTEGER ,
> ID_STATUS_ANEXO_GUIA INTEGER ,
> DT_INCLUSAO DATETIME YEAR TO FRACTION(5) ,
> DT_ULTIMO_PROCESSAMENTO DATETIME YEAR TO FRACTION(5) ,
> ID_PRESTADOR INTEGER ,
> ID_OPERADORA INTEGER ,
> ID_MAQUINA INTEGER ,
> NM_SERVICO VARCHAR(100) ,
> ID_THREAD INTEGER ,
> IMAGEM BYTE IN sbs_photospace01)
> IN my_dbspace_here
> EXTENT SIZE 102400 NEXT SIZE 102400 lock mode row;
>
> > -----Original Message-----
> > From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf
Of
> ALBERTO
> > ROMEU PESSONIO FILHO
> > Sent: Thursday, September 17, 2009 10:24 AM
> > To: ids@iiug.org
> > Subject: Creating a table with BLOB in a SBSpace [17060]
> >
> > Hi everyone!
> >
> > Version of IDS: 11.50 FC5
> > OS: HP-UX 11.11
> >
> > I'm trying to create a table with a BYTE datatype in a SBSpace. When
i
>
> run the
> > DDL statement on DBAccess, i've got the following error:
> >
> > CREATE TABLE TB_ANEXO_GUIA_1
> > (
> > ID_ANEXO_GUIA INTEGER NOT NULL,
> > CD_GUIA_PRESTADOR VARCHAR(20) NOT NULL,
> > CD_CARTEIRINHA VARCHAR(30) ,
> > COD_OPERADORA_ANS VARCHAR(6) ,
> > NM_ARQUIVO VARCHAR(255) ,
> > DS_EXTENSAO_ARQUIVO VARCHAR(3) ,
> > NU_TAMANHO_ARQUIVO BIGINT ,
> > NU_SEQUENCIAL INTEGER ,
> > ID_STATUS_ANEXO_GUIA INTEGER ,
> > DT_INCLUSAO DATETIME YEAR TO FRACTION(5) ,
> > DT_ULTIMO_PROCESSAMENTO DATETIME YEAR TO FRACTION(5) ,
> > ID_PRESTADOR INTEGER ,
> > ID_OPERADORA INTEGER ,
> > ID_MAQUINA INTEGER ,
> > NM_SERVICO VARCHAR(100) ,
> > ID_THREAD INTEGER ,
> > IMAGEM BYTE )
> > IN sbs_photospace01 EXTENT SIZE 102400 NEXT SIZE 102400 lock mode
row;
>
> >
> > 261: Cannot create file for table (informix.tb_anexo_guia_1).
> > 130: ISAM error: no such DBspace
> >
> > I tried to change the datatype from BYTE to BLOB, but the error
> remains. I
> > created the database called "imagem" for use with a system thar
store
> images
> > in a regular DBSpace, but that table i'm trying to store in a
SBSpace,
>
> showed
> > on a onstat -d output below:
> >
> > IBM Informix Dynamic Server Version 11.50.FC5 -- On-Line -- Up
> 01:05:02 --
> > 1229596 Kbytes
> >
> > Dbspaces
> > address number flags fchunk nchunks pgsize flags owner name
> > c00000002cc62028 1 0x40001 1 1 2048 N B informix rootdbs
> > c00000002ec27c38 2 0x40001 2 1 2048 N B informix physdbs
> > c00000002ec27dd0 3 0x40001 3 1 2048 N B informix llogdbs
> > c00000002ec28028 4 0x42001 4 1 2048 N TB informix tempdbs01
> > c00000002ec281c0 5 0x42001 5 1 2048 N TB informix tempdbs02
> > c00000002ec28358 6 0x40001 6 3 8192 N B informix datadbs01
> > c00000002ec284f0 7 0x48001 8 1 2048 N SB informix cdr_sbspace01
> > c00000002ec28688 8 0x40001 9 1 2048 N B informix cdr_dbspace01
> > c00000002ec28820 9 0x48001 11 1 2048 N SB informix sbs_photospace01
> > 9 active, 2047 maximum
> >
> > Chunks
> > address chunk/dbs offset size free bpages flags pathname
> > c00000002cc621c0 1 1 0 2560000 2527259 PO-B-
> > /informix/v11/dbspaces/autorizador/rootdbs
> > c00000002ec289b8 2 2 0 2560000 59947 PO-B-
> > /informix/v11/dbspaces/autorizador/physdbs
> > c00000002ec28ba8 3 3 0 2560000 4043 PO-B-
> > /informix/v11/dbspaces/autorizador/llogdbs
> > c00000002ec28d98 4 4 0 2560000 2556121 PO-B-
> > /informix/v11/dbspaces/autorizador/tempdbs01
> > c00000002ec2a028 5 5 0 2560000 2559947 PO-B-
> > /informix/v11/dbspaces/autorizador/tempdbs02
> > c00000002ec2a218 6 6 0 640000 811 PO-B-
> > /informix/v11/dbspaces/autorizador/datadbs01a
> > c00000002ec2a408 7 6 0 640000 48996 PO-B-
> > /informix/v11/dbspaces/autorizador/datadbs01b
> > c00000002ec2a5f8 8 7 0 2560000 1991184 1991185 POSB-
> > /informix/v11/dbspaces/autorizador/sbsspace01
> >
> > Metadata 568762 457027 568762
> > c00000002ec2a7e8 9 8 0 2560000 2559907 PO-B-
> > /informix/v11/dbspaces/autorizador/cdr_dbspace01
> > c00000002ec2a9d8 10 6 0 640000 419622 PO-B-
> > /informix/v11/dbspaces/autorizador/datadbs01c
> > c00000002ec2abc8 11 9 0 2560000 1059947 1059947 POSB-
> > /informix/v11/dbspaces/autorizador/sbs_photospc01
> >
> > Metadata 1500000 1495875 1500000
> > 11 active, 32766 maximum
> >
> > I have available space on the chunks of sbs_photospace.
> >
> > I also runned oncheck -cr, -ce, -cS,:
> >
> > informix@dvohp006:/informix/v11# oncheck -cr
> > Validating IBM Informix Dynamic Server reserved pages
> >
> > Validating PAGE_PZERO...
> >
> > Validating PAGE_CONFIG...
> >
> > Validating PAGE_1CKPT & PAGE_2CKPT...
> >
> > Using check point page PAGE_2CKPT.
> >
> > Validating PAGE_1DBSP & PAGE_2DBSP...
> >
> > Using DBspace page PAGE_2DBSP.
> >
> > Validating PAGE_1PCHUNK & PAGE_2PCHUNK...
> >
> > Using primary chunk page PAGE_2PCHUNK.
> >
> > Validating PAGE_1ARCH & PAGE_2ARCH...
> >
> > Using archive page PAGE_1ARCH.
> >
> > informix@dvohp006:/informix/v11# oncheck -ce sbs_photospace01
> >
> > Validating extents for Space 'sbs_photospace01' ...
> >
> > Chunk Pathname Pagesize(k) Size(p) Used(p) Free(p)
> >
> > 11 /informix/v11/dbspaces/autorizador/sbs_photospc01 2560000 4178
> 1059947
> >
> > Note: 'Used' = used metadata space + used user data space.
> >
> > 'Free' = free user data space.
> >
> > informix@dvohp006:/informix/v11# oncheck -cS
> >
> > Validating space 'cdr_sbspace01' ...
> >
> > sbspace Metadata Partition Partnum Used Free
> > cdr_sbspace01:'informix'.TBLSpace 0x700001 6 44
> > cdr_sbspace01:'informix'.sbspace_desc 0x700002 2 2
> > cdr_sbspace01:'informix'.chunk_adjunc 0x700003 2 2
> > cdr_sbspace01:'informix'.LO_ud_free 0x700004 2 5529
> > cdr_sbspace01:'informix'.LO_hdr_partn 0x700005 10 106186
> >
> > Large Objects
> > ID Ref Size Allocced Creat Last
> > Sbs# Chk# Seq# Cnt (Bytes) Pages Extns Flags Modified
> > ---- ---- ----- ---- ---------- -------- ----- -----
> ------------------------
> >
> > 7 8 3 1 3 1 1 L-N-H Wed Aug 12 11:44:07 2009
> >
> > Validating space 'sbs_photospace01' ...
> >
> > sbspace Metadata Partition Partnum Used Free
> > sbs_photospace01:'informix'.TBLSpace 0x900001 6 44
> > sbs_photospace01:'informix'.sbspace_desc 0x900002 2 2
> > sbs_photospace01:'informix'.chunk_adjunc 0x900003 2 2
> > sbs_photospace01:'informix'.LO_ud_free 0x900004 2 2943
> > sbs_photospace01:'informix'.LO_hdr_partn 0x900005 1 1171
> >
> > informix@dvohp006:/informix/v11# oncheck -cD imagem
> >
> > TBLspace data check for imagem:informix.systables
> > TBLspace data check for imagem:informix.syscolumns
> > TBLspace data check for imagem:informix.sysindices
> > TBLspace data check for imagem:informix.systabauth
> > TBLspace data check for imagem:informix.syscolauth
> > TBLspace data check for imagem:informix.sysviews
> > TBLspace data check for imagem:informix.sysusers
> > TBLspace data check for imagem:informix.sysdepend
> > TBLspace data check for imagem:informix.syssynonyms
> > TBLspace data check for imagem:informix.syssyntable
> > TBLspace data check for imagem:informix.sysconstraints
> > TBLspace data check for imagem:informix.sysreferences
> > TBLspace data check for imagem:informix.syschecks
> > TBLspace data check for imagem:informix.sysdefaults
> > TBLspace data check for imagem:informix.syscoldepend
> > TBLspace data check for imagem:informix.sysprocedures
> > TBLspace data check for imagem:informix.sysprocbody
> > TBLspace data check for imagem:informix.sysprocplan
> > TBLspace data check for imagem:informix.sysprocauth
> > TBLspace data check for imagem:informix.sysblobs
> > TBLspace data check for imagem:informix.sysopclstr
> > TBLspace data check for imagem:informix.systriggers
> > TBLspace data check for imagem:informix.systrigbody
> > TBLspace data check for imagem:informix.sysdistrib
> > TBLspace data check for imagem:informix.sysfragments
> > TBLspace data check for imagem:informix.sysobjstate
> > TBLspace data check for imagem:informix.sysviolations
> > TBLspace data check for imagem:informix.sysfragauth
> > TBLspace data check for imagem:informix.sysroleauth
> > TBLspace data check for imagem:informix.sysxtdtypes
> > TBLspace data check for imagem:informix.sysattrtypes
> > TBLspace data check for imagem:informix.sysxtddesc
> > TBLspace data check for imagem:informix.sysinherits
> > TBLspace data check for imagem:informix.syscolattribs
> > TBLspace data check for imagem:informix.syslogmap
> > TBLspace data check for imagem:informix.syscasts
> > TBLspace data check for imagem:informix.sysxtdtypeauth
> > TBLspace data check for imagem:informix.sysroutinelangs
> > TBLspace data check for imagem:informix.syslangauth
> > TBLspace data check for imagem:informix.sysams
> > TBLspace data check for imagem:informix.systabamdata
> > TBLspace data check for imagem:informix.sysopclasses
> > TBLspace data check for imagem:informix.syserrors
> > TBLspace data check for imagem:informix.systraceclasses
> > TBLspace data check for imagem:informix.systracemsgs
> > TBLspace data check for imagem:informix.sysaggregates
> > TBLspace data check for imagem:informix.syssequences
> > TBLspace data check for imagem:informix.sysdirectives
> > TBLspace data check for imagem:informix.sysxasourcetypes
> > TBLspace data check for imagem:informix.sysxadatasources
> > TBLspace data check for imagem:informix.sysseclabelcomponents
> > TBLspace data check for imagem:informix.sysseclabelcomponentelements
> > TBLspace data check for imagem:informix.syssecpolicies
> > TBLspace data check for imagem:informix.syssecpolicycomponents
> > TBLspace data check for imagem:informix.syssecpolicyexemptions
> > TBLspace data check for imagem:informix.sysseclabels
> > TBLspace data check for imagem:informix.sysseclabelnames
> > TBLspace data check for imagem:informix.sysseclabelauth
> > TBLspace data check for imagem:informix.syssurrogateauth
> > TBLspace data check for imagem:informix.sysproccolumns
> > TBLspace data check for imagem:informix.tb_anexo_guia
> > TBLspace data check for imagem:informix.tb_anexo_guia_status
> >
> > I'm trying to do that because some managers want to put this
solution
> to run
> > on SQLServer. If i can do that on Informix, there is a chance that
the
>
> company
> > implement Informix DataBlade Image in a huge solution to store
images.
>
> >
> > By the way, I've opened a PMR : 31796,999,631.
> >
> > Any help or hint is welcome.
> >
> > Thanks,
> > Alberto Pessonio.
> >
> >
> >
>
************************************************************************
>
> ******
> > *
> > Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
>
************************************************************************
> *******
> Forum Note: Use "Reply" to post a response in the discussion forum.

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.