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: disk consumption analysis

Posted By: John Miller iii
Date: Friday, 24 April 2015, at 8:08 p.m.

In Response To: disk consumption analysis (FRANK)

If you are using vachars with fixed length data then

=0D<= DIV>things will not be that optimal for storage. varchars

=0Dassume random length data to be optimal in storage.=0D

<= /DIV>=0D

One think you should try is setting MAX=5FFILL=5FDATA=5FPAGES =

=0D

in the onconfig. This will attempt to be more spa= ce efficient.

=0D

=0D

=0D

See ever= yone at IIUG. -:)

=0D

=0D

=0D

=0D

=0D

John F. Miller III

=0D

STSM, Lead &nb= sp;Architect

=0D

[1]miller3@us.= ibm.com

=0D

503-747-1366

=0D

IBM Informix Dynamic Ser= ver (IDS) =0D

-----ids-bounce= s@iiug.org wrote: -----

>To: ids@iiug.org

>From: "FR= ANK"

>Sent by: ids-bounces@iiug.org

>Date: 04/24/2015 09:47AM<= BR>>Subject: disk consumption analysis

[35013]

>

>

>Fo= lks,

>

>IDS12.10 FC4, RHEL.

>

>I have Two tables = ( see below for details).

>

>I copied three set of information= for each,

>--schema definition ( ignored index part)

>-- par= t of output oncheck -pt

>-- part of output of oncheck -pd

>>The two tables consumed similar size of data pages, but one can

hold<= BR>>

>about 9 millions of rows, another can only hold about 4 mill= ions of

>rows.

>

>The row sizes are similar too ( close = lengths, 704 vs. 744). page

>size is

>2K.

>

>Any = comments?

>

>Thanks

>Frank

>

>=3D=3D=3D=3D= =3D=3D=3D=3D=3Dtable ds=5Farchive18

>

>{ TABLE "informix".ds= =5Farchive18 row size =3D 704 number of

columns =3D 11

>index

>= ;size =3D 295 }

>create table "informix".ds=5Farchive18

>( >

>dataset=5Fname varchar(255,44) not null ,

>

>arc= hive=5Fsite char(10) not null ,

>

>path=5Fname varchar(250,50)= ,

>

>archive=5Fdt datetime year to second,

>

>upd= ate=5Fdt datetime year to second,

>

>hsm=5Ffs char(10),

&g= t;

>check=5Fsum varchar(128),

>

>tape=5Fname char(16), <= BR>>

>tape=5Fblock integer,

>

>tape=5Foffset integer,=

>

>checksum=5Fdt datetime year to second

>) in dbdw04 = extent size 4096 next size 4096 lock mode row;

>

>[informix@wa= lter info]$ oncheck -pt noaa:ds=5Farchive18

>

>TBLspace Report= for noaa:informix.ds=5Farchive18

>

>Physical Address 53:33737= 32

>

>Creation date 11/06/2013 17:20:43

>

>TBLspa= ce Flags 902 Row Locking

>

>TBLspace contains VARCHARS

>= ;

>TBLspace use 4 bit bit-maps

>

>Maximum row size 704 <= BR>>

>Number of special columns 3

>

>Number of keys 0=

>

>Number of extents 16

>

>Current serial value = 1

>

>Current SERIAL8 value 1

>

>Current BIGSERIAL= value 1

>

>Current REFID value 1

>

>Pagesize (k)= 2

>

>First extent size 2048

>

>Next extent size = 131072

>

>Number of pages allocated 1310720

>

>Nu= mber of pages used 1292403

>

>Number of data pages 1292081

>

>Number of rows 9044549

>

>Partition partnum 30408= 942

>

>Partition lockid 30408942

>

>[informix@wal= ter info]$ oncheck -pd noaa:ds=5Farchive18 | more

>

>TBLspace = data check for noaa:informix.ds=5Farchive18

>page=5Ftype rowid lengt= h fwd=5Fptr

>HOME 101 197 0

>

>0: 23 50 52 44 2e 53 50 = 50 52 4f 44 2e 45 44 52 31 #PRD.SPPROD.EDR1

>

>16: 34 4e 2e 53= 31 31 30 36 30 30 36 2e 45 31 31 30 4N.S1106006.E110

>

>

&g= t;32: 36 30 31 32 4e 47 44 43 20 20 20 20 20 20 22 2f 6012NGDC "/

><= BR>>48: 63 6c 61 73 73 5f 64 69 72 73 2f 61 72 63 68 73

class=5Fdirs/arc= hs

>

>

>64: 6d 30 32 2f 61 72 63 68 69 76 65 31 38 2f 30 = 30

m02/archive18/00

>

>

>80: 31 c7 14 b 3 9 12 20 19 0 0 = 0 0 0 0 0 1G..... ........

>

>96: 0 41 52 43 48 53 4d 30 32 20= 20 20 64 63 39 31 .ARCHSM02 dc91

>112: 35 36 31 31 34 63 61 36 63 3= 6 38 63 65 31 39 37

56114ca6c68ce197

>

>128: 65 63 38 30 64 63 = 39 64 39 64 63 66 30 30 36 39

ec80dc9d9dcf0069

>

>144: 34 33 20= 20 20 20 20 20 20 20 20 20 0 7 c a8 43 ...(

>160: 0 2 cf 80 c7 14 c= c 15 17 2b 1f 0 0 20 0 ..O.G.....+... .

>176: 0 0 0 0 0 0 0 0 0 0 1= 0 0 0 0 0 ................

>192: d0 0 25 0 16 P...............

= >page=5Ftype rowid length fwd=5Fptr

>HOME 102 197 0

>

&= gt;0: 23 50 52 44 2e 53 50 50 52 4f 44 2e 45 44 52 31

#PRD.SPPROD.EDR1

= >

>16: 34 53 2e 53 31 31 30 36 30 30 36 2e 45 31 31 30 4S.S1106006=

.E110

>

>

>32: 36 30 31 32 4e 47 44 43 20 20 20 20 20 20 = 22 2f 6012NGDC "/

>

>48: 63 6c 61 73 73 5f 64 69 72 73 2f 61 7= 2 63 68 73

class=5Fdirs/archs

>

>

>64: 6d 30 32 2f 61 72 = 63 68 69 76 65 31 38 2f 30 30

m02/archive18/00

>

>

>80: 3= 2 c7 14 b 3 9 12 20 1e 0 0 0 0 0 0 0 2G..... ........

>

>96: 0= 41 52 43 48 53 4d 30 32 20 20 20 66 37 62 31 .ARCHSM02 f7b1

>112: 6= 2 31 38 30 63 34 34 36 64 37 35 39 35 38 66 35

b180c446d75958f5

>

= >128: 39 62 66 63 39 62 62 30 65 65 64 39 30 30 36 39

9bfc9bb0eed90069>

>144: 34 33 20 20 20 20 20 20 20 20 20 20 0 7 c f4 43 ...t

>160: 0 5 51 80 c7 14 c c 15 17 2b 20 0 0 20 0 ..Q.G.....+ .. .

>= ;176: 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 ................

>192: d0 0 25= 0 16 P...............

>page=5Ftype rowid length fwd=5Fptr

>H= OME 103 197 0

>

>0: 23 50 52 44 2e 53 50 50 52 4f 44 2e 45 44 = 52 31 #PRD.SPPROD.EDR1

>

>16: 35 4e 2e 53 31 31 30 36 30 30 36= 2e 45 31 31 30 5N.S1106006.E110

>

>

>32: 36 30 31 32 4e = 47 44 43 20 20 20 20 20 20 22 2f 6012NGDC "/

>--More--

>

&= gt;=3D=3D=3D=3D=3D=3D=3D=3D=3Dtable archive=5F0006

>{ TABLE "informi= x".archive=5F0006 row size =3D 744 number of

columns =3D 15

>index >size =3D 78 }

>create table "informix".archive=5F0006

>= (

>

>uuid char(36) not null ,

>

>dataset=5Fname v= archar(255,12) not null ,

>

>file=5Fname varchar(255,49) not n= ull ,

>

>path=5Fname char(9) not null ,

>

>active= char(1) not null ,

>

>datatype=5Fname char(10) not null ,

>

>archive=5Fdt datetime year to second not null ,

>

&g= t;update=5Fdt datetime year to second,

>

>file=5Fsize=5Fbytes = bigint not null ,

>

>md5=5Fchecksum char(32),

>

>= sha2=5Fchecksum char(96),

>

>checksum=5Fdt datetime year to se= cond,

>

>tape=5Fname integer,

>

>tape=5Fposition = integer,

>

>tape=5Foffset bigint

>) in dbdata09 extent = size 4096 next size 4096 lock mode row;

>

>[informix@walter ~]= $ oncheck -pt noaa:archive=5F0006

>

>TBLspace Report for noaa:= informix.archive=5F0006

>

>Physical Address 38:187415

>=

>Creation date 08/19/2014 14:53:32

>

>TBLspace Flags 90= 2 Row Locking

>

>TBLspace contains VARCHARS

>

>TB= Lspace use 4 bit bit-maps

>

>Maximum row size 744

>

= >Number of special columns 2

>

>Number of keys 0

>>Number of extents 46

>

>Current serial value 1

><= BR>>Current SERIAL8 value 1

>

>Current BIGSERIAL value 1 >

>Current REFID value 1

>

>Pagesize (k) 2

>=

>First extent size 2048

>

>Next extent size 131072

= >

>Number of pages allocated 1310720

>

>Number of pag= es used 1193119

>

>Number of data pages 1192823

>

&g= t;Number of rows 4389102

>

>Partition partnum 23068967

>= ;

>Partition lockid 23068967

>

>[informix@walter ~]$ onc= heck -pd noaa:archive=5F0006 | more

>

>TBLspace data check for= noaa:informix.archive=5F0006

>page=5Ftype rowid length fwd=5Fptr >HOME 101 355 0

>

>0: 63 36 62 61 30 62 31 34 2d 38 66 35= 39 2d 31 31 c6ba0b14-8f59-11

>

>16: 65 33 2d 61 39 63 62 2d 3= 5 63 66 33 66 63 62 38

e3-a9cb-5cf3fcb8

>

>

>32: 64 38 37= 38 2a 4e 53 53 2e 41 4d 41 58 2e 4e 4e d878*NSS.AMAX.NN

>

>

>48: 2e 44 31 34 30 33 37 2e 53 31 33 34 39 2e 45 31 .D14037.S1349.E1>

>

>64: 35 34 34 2e 42 34 34 39 31 33 31 34 2e 47 43 4f 5=

44.B4491314.GCO

>

>

>80: 4e 53 53 2e 41 4d 41 58 2e 4e 4e= 2e 44 31 34 30 NSS.AMAX.NN.D140

>

>

>96: 33 37 2e 53 31 = 33 34 39 2e 45 31 35 34 34 2e 42

37.S1349.E1544.B

>

>112: 34 34= 39 31 33 31 34 2e 47 43 5f 63 36 62 61 30

4491314.GC=5Fc6ba0

>

&g= t;128: 62 31 34 2d 38 66 35 39 2d 31 31 65 33 2d 61 39

b14-8f59-11e3-a9

= >

>144: 63 62 2d 35 63 66 33 66 63 62 38 64 38 37 38 2f cb-5cf3fcb=

8d878/

>

>160: 32 30 31 34 30 32 30 36 59 41 54 4f 56 5f 41 4d =

20140206YATOV=5FAM

>

>176: 53 55 41 c7 14 e 2 6 12 d 8 0 0 0 0 = 0 SUAG............

>192: 0 0 0 0 0 0 0 0 21 a2 0 62 37 35 38 32 ....= ....!".b7582

>208: 63 30 66 38 62 35 65 30 61 65 38 63 63 38 66 65 c=

0f8b5e0ae8cc8fe

>

>224: 32 31 62 33 30 37 32 32 63 39 35 37 65 = 30 39 34

21b30722c957e094

>

>240: 32 61 62 38 38 32 31 37 65 38= 36 32 65 34 39 39

2ab88217e862e499

>

>256: 33 63 64 33 64 63 3= 5 34 38 33 33 31 61 30 35 30

3cd3dc548331a050

>

>272: 62 37 35 = 62 39 39 35 34 62 37 33 38 31 63 64 66

b75b9954b7381cdf

>

>288:= 64 62 36 62 62 64 33 38 32 38 33 63 64 31 34 31

db6bbd38283cd141

>>304: 65 31 33 64 62 31 36 38 63 65 64 65 66 32 66 61

e13db168cedef2fa=

>

>320: 61 38 37 65 65 36 32 33 34 34 37 c7 14 e c 10 a87ee623= 447G....

>336: 6 3b e 0 89 f1 48 0 0 1 a7 0 0 0 0 48 .;...qH...'....= H

>352: 1c 65 40 .e@.............

>page=5Ftype rowid length f= wd=5Fptr

>HOME 102 355 0

>

>0: 63 36 66 34 37 65 30 32 = 2d 38 66 35 39 2d 31 31 c6f47e02-8f59-11

>

>16: 65 33 2d 61 39= 63 62 2d 35 63 66 33 66 63 62 38 e3-a9cb-5cf3fcb8

>

>

>3= 2: 64 38 37 38 2a 4e 53 53 2e 41 4d 41 58 2e 4e 4e

d878*NSS.AMAX.NN

>=

>

>48: 2e 44 31 34 30 33 37 2e 53 31 35 33 38 2e 45 31 .D14037=

.S1538.E1

>

>

>64: 37 31 36 2e 42 34 34 39 31 34 31 35 2e= 47 43 4f 716.B4491415.GCO

>

>

>80: 4e 53 53 2e 41 4d 41 = 58 2e 4e 4e 2e 44 31 34 30

NSS.AMAX.NN.D140

>

>

>96: 33 3= 7 2e 53 31 35 33 38 2e 45 31 37 31 36 2e 42

37.S1538.E1716.B

>

>= ;112: 34 34 39 31 34 31 35 2e 47 43 5f 63 36 66 34 37

4491415.GC=5Fc6f47

>

>128: 65 30 32 2d 38 66 35 39 2d 31 31 65 33 2d 61 39 e02-8f59-=

11e3-a9

>

>144: 63 62 2d 35 63 66 33 66 63 62 38 64 38 37 38 2f=

cb-5cf3fcb8d878/

>

>160: 32 30 31 34 30 32 30 36 59 41 54 4f 5= 6 5f 41 4d

20140206YATOV=5FAM

>

>176: 53 55 41 c7 14 e 2 6 12 d= 8 0 0 0 0 0 SUAG............

>192: 0 0 0 0 0 0 0 0 1c a2 0 31 61 32= 61 64 .........".1a2ad

>208: 37 39 62 30 37 34 64 34 37 65 64 63 32= 39 38 31

79b074d47edc2981

>

>224: 37 33 62 63 65 39 33 63 33 6= 6 31 66 39 30 62 34

73bce93c3f1f90b4

>

>240: 35 63 35 30 35 37 = 32 37 39 65 30 36 37 39 34 65

5c5057279e06794e

>

>256: 39 66 66= 62 30 61 63 34 36 32 66 64 34 38 39 66

9ffb0ac462fd489f

>

>272= : 62 39 30 64 61 62 38 37 33 35 32 63 39 65 35 33

b90dab87352c9e53

><= BR>>288: 38 30 66 33 35 37 36 34 32 66 62 30 66 34 62 35

80f357642fb0f4b= 5

>

>304: 31 30 35 34 64 38 33 37 63 35 31 31 65 39 38 63 1054d=

837c511e98c

>

>320: 66 38 31 31 30 62 34 33 65 38 62 c7 14 e c = 10 f8110b43e8bG....

>336: 6 3b d 0 89 f1 48 0 0 1 a7 0 0 0 0 6e .;..= .qH...'....n

>352: 52 91 0 R...............

>page=5Ftype rowi= d length fwd=5Fptr

>HOME 103 355 0

>

>0: 30 38 65 34 39= 63 39 61 2d 38 66 34 39 2d 31 31 08e49c9a-8f49-11

>

>16: 65 3= 3 2d 62 61 31 38 2d 35 63 66 33 66 63 62 38

e3-ba18-5cf3fcb8

>

>= ;

>32: 64 38 37 38 2a 4e 53 53 2e 41 4d 41 58 2e 4e 4c d878*NSS.AMAX.=

NL

>

>

>48: 2e 44 31 34 30 33 37 2e 53 30 38 35 36 2e 45 = 31

.D14037.S0856.E1

>

>

>--001a1133bfb4f6ffb705147b1f25 <= BR>>

>

>****************************************************=

*****************

>**********

> Forum Note: Use "Reply" = to post a response in the discussion

forum.

>

References

1. 3D"mailto:miller3@us.ibm.com"

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.