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

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

IDS Forum

RE: Move a table to another DB

Posted By: NormaJean.Sebastian@tellabs.com
Date:

Hi,

Q1: Experiment with PDQ/PSORT_NPROCS to help your speed. Try the
HPLoader (I can't, I am using SAP(application), but I have heard/seen
wonderful things about HPLoader). Don't create indices on the new table
until after the load (but of course, it still takes time).

Q2: If you add the new field to the table AT THE END OF THE TABLE, you
will be doing an "in place alter", meaning you will experience the joy
of Informix table versioning. Informix will leave all the current rows
as 'version 0' of the table. It will not need to process through the
table and expand all rows. Any new rows (or updated rows) will be
adjusted to add space for the new field and be part of 'version 1' of
the table. Later, if you reorg the table (touch all rows) you may have
space issues depending on row length. To see how many rows are in each
version of the table, run 'oncheck -pT' on the table ('oncheck -pt' does
not show versioning). With in-place alter/table versioning, adding a
new field at the end of a table, no matter how many rows are in the
table, is quick and easy.
I don't think the same applies when changing definition of an existing
field (integer -> char(10))... other people may know more.

good luck,
Norma Jean



-----Original Message-----
From: pas@logifer.gr [mailto:pas@logifer.gr]
Sent: Thursday, August 14, 2003 2:31 AM
To: ids@iiug.org; forum.subscriber@iiug.org
Subject: Move a table to another DB [1688]


Hi all (and thanks for the answers to my previous question)

Q1. IDS 7.x / Solaris
I have one Informix DS and two DB's. I want to "move" a table from
old_DB to the new_DB. I could unload - load the data or insert into
new..select from old... BUT the table has 2,5 million recs and this
process needs a lot of time.

Is there anything else I could do ?

Q2. What if the two tables are NOT identical? For example I 'd like to
add another field to new table (with a numeric default value null or
zero). Or, change a field from integer to char(10).

Thanks in advance

Pantelis. Athens, Greece

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 30/6/2003





--openmail-part-40aaab9c-00000002
Content-Type: application/rtf
Content-Disposition: attachment; filename="BDY.RTF"
;Creation-Date="Thu, 14 Aug 2003 07:44:12 -0500"
Content-Transfer-Encoding: base64

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYw
XGZzd2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmls
XGZjaGFyc2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5l
dzt9fQ0Ke1xjb2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1
NTt9DQpcdWMxXHBhcmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpLFxwYXINClxwYXIN
ClExOiBFeHBlcmltZW50IHdpdGggUERRL1BTT1JUX05QUk9DUyB0byBoZWxwIHlvdXIgc3Bl
ZWQuICBUcnkgdGhlIEhQTG9hZGVyIChJIGNhbid0LCBJIGFtIHVzaW5nIFNBUChhcHBsaWNh
dGlvbiksIGJ1dCBJIGhhdmUgaGVhcmQvc2VlbiB3b25kZXJmdWwgdGhpbmdzIGFib3V0IEhQ
TG9hZGVyKS4gIERvbid0IGNyZW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WxlY3QgZnJvbSBvbGQuLi4gQlVU
IHRoZSB0YWJsZSBoYXMgMiw1IG1pbGxpb24gcmVjcyBhbmQgdGhpcyBwcm9jZXNzIG5lZWRz
IGEgbG90IG9mIHRpbWUuXHBhcg0KIFxwYXINCiAgICBJcyB0aGVyZSBhbnl0aGluZyBlbHNl
IEkgY291bGQgZG8gP1xwYXINClxwYXINClEyLiBXaGF0IGlmIHRoZSB0d28gdGFibGVzIGFy
ZSBOT1QgaWRlbnRpY2FsPyBGb3IgZXhhbXBsZSBJICdkIGxpa2UgdG8gYWRkIGFub3RoZXIg
ZmllbGQgdG8gbmV3IHRhYmxlICh3aXRoIGEgbnVtZXJpYyBkZWZhdWx0IHZhbHVlIG51bGwg
b3IgemVybykuIE9yLCBjaGFuZ2UgYSBmaWVsZCBmcm9tIGludGVnZXIgdG8gY2hhcigxMCku
XHBhcg0KXHBhcg0KVGhhbmtzIGluIGFkdmFuY2VccGFyDQpccGFyDQpQYW50ZWxpcy4gQXRo
ZW5zLCBHcmVlY2VccGFyDQpccGFyDQotLS1ccGFyDQpPdXRnb2luZyBtYWlsIGlzIGNlcnRp
ZmllZCBWaXJ1cyBGcmVlLlxwYXINCkNoZWNrZWQgYnkgQVZHIGFudGktdmlydXMgc3lzdGVt
IChodHRwOi8vd3d3LmdyaXNvZnQuY29tKS5ccGFyDQpWZXJzaW9uOiA2LjAuNDk1IC8gVmly
dXMgRGF0YWJhc2U6IDI5NCAtIFJlbGVhc2UgRGF0ZTogMzAvNi8yMDAzXHBhcg0KIFxwYXIN
ClxwYXINClxwYXINCn0=

--openmail-part-40aaab9c-00000002--

Messages In This Thread

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

IDS Forum is maintained by Administrator with WebBBS 5.12.