473,837 Members | 1,570 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unidata Universe impot into PostgreSQL

My company is researching the idea of moving from a very large, old
and complex UniData DB to something else that is newer and quicker. I
was thinking about PostgreSQL, but am not sure PostgreSQL could import
the data, and / or what kinds of issues could arrise, not to mention
if it's even possible in the first place.

Your thoughs would be greatly appreciated!
thanks!
Ralph
Jul 19 '05 #1
1 2742
Quoth ph***@pacbell.n et (Ralph):
My company is researching the idea of moving from a very large, old
and complex UniData DB to something else that is newer and quicker. I
was thinking about PostgreSQL, but am not sure PostgreSQL could import
the data, and / or what kinds of issues could arrise, not to mention
if it's even possible in the first place.

Your thoughs would be greatly appreciated!
thanks!
Ralph


You might take a look at the "conversion s" documents...
<http://techdocs.postgr esql.org/#convertfrom>

Take a look at your database schemas to see if you are using any data
types not supported by PostgreSQL; it would seem very unlikely that
this would be the case.

You'll need to start some form of project to see about getting the
data out of the existing database and into PostgreSQL; I'm not sure
what UniData has as export tools, but you have quite a lot of
flexibility in pushing data into PostgreSQL.

The "methodolog y" that I prefer to use for such conversions is to take
the input data, "massage" it, _as text_, and thereby generate a script
of SQL statements that may be directly loaded in. That is preferable
to writing a program that does direct inserts because you can read the
SQL scripts to help debug the process beforehand, and refer back to it
afterwards if there is a need to document anomalies found later.

If speed is _not_ a priority, then setting up a series of INSERT
statements (perhaps with periodic BEGIN/COMMIT, to cut down on
transaction costs) is one method. That is the 'simple' place to
start.

If it makes sense to do some "interpretation " on the way in, you might
create some stored procedures that are more 'intelligent.' For
instance, in the domain management area, I have sometimes set up a
"create_dom ain" stored procedure that processes an Internet domain,
filling in values on several of the tables that are involved,
populating appropriate fields with create-time defaults, and setting
up linkages to status information stored in secondary tables.

If you create a suitable set of stored procedures, it may be possible
to "clean up" aspects of the legacy data that may not be totally
clean.

If raw speed is vital, as when time is money, and the time between
shutting down the old system and starting up the new one is a costly
period of downtime, then there are ways of speeding things up. You
generate SQL scripts that contain instances of:

COPY this_table from stdin;
[thousands of rows of tab-delimited data...]
\.

That will be short on data validation, which puts a HIGH value on
testing the conversion HEAVILY before using it...

I have pointed to three methodologies:
1. A bunch of INSERTs;
2. Stored procedures directed to your application;
3. Raw speed via COPY.

It is likely to all be text processing, so whether your favorite text
processing language is Perl, Python, Ruby, Tcl, Awk, or more esoteric
options like Icon, Common Lisp, or M4, that's your call. C/C++/Java
aren't so strong in having nice "syntactic sugar" for string
processing, so they probably aren't nearly as suitable.
--
"cbbrowne","@", "ntlug.org"
http://cbbrowne.com/info/linuxdistributions.html
"The reality of the software business today is that if you find
something that can make you ridiculously rich, then that's something
that Microsoft is going to take away from you." -- Max Metral
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2188
by: Otis Green | last post by:
Vote for or against a new newsgroup proposal. To summarize what you need to do, just send an empty e-mail to postgresql-ballot@netagw.com You will receive a ballot by e-mail. Follow the instructions and vote. _______________________________________________________________________ FIRST CALL FOR VOTES (of 2)
0
3866
by: Bill J. | last post by:
I have to update a PostgreSQL linked server through MSSQL2K. I first configured the connection with ODBC as follows and I can do queries with no problem: EXEC sp_droplinkedsrvlogin @rmtsrvname = 'PostgreSQL', @locallogin = NULL GO EXEC sp_DropServer 'PostgreSQL' GO
0
2165
by: Bill J. | last post by:
I have to update a PostgreSQL linked server through MSSQL2K. I first configured the connection with ODBC as follows and I can do queries with no problem: EXEC sp_droplinkedsrvlogin @rmtsrvname = 'PostgreSQL', @locallogin = NULL GO EXEC sp_DropServer 'PostgreSQL' GO
0
1675
by: ruhunu Gamarala | last post by:
Hi, I get the following exception periodically. does anybody what is the reason for it to throw this exception? I really appriciate if anyone can help me on this. thanks, Chinthaka at org.postgresql.PG_Stream.flush(PG_Stream.java:356) at org.postgresql.core.QueryExecutor.sendQuery(QueryExecutor.java:159) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:70)
6
5434
by: Peter Downes | last post by:
I have an IBM UniVerse database running on Windows 2003 SBS. Every night the UniVerse services appear to hang, and users cannot connect to the database in the morning. If I try and stop and restart the services manually, all four services stop without a problem, but the UniVerse Resource Service fails to start (the server did not respond to the start or control request in a timely fashion). This only happens first thing in the morning....
5
2533
by: 1000101011 | last post by:
Hello all A client of ours is using IBM Unidata (U2 product line) V6 and now wants to migrate away to something more dynamic. When I say dynamic I mean industry recognized and able to support a development environment that is specifically .NET and C# orientated. The current choices that they are looking at are very simple: SQL and SQL.
0
1681
by: Greg Sabino Mullane | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for following PostgreSQL versions: 7.4.5 7.4.4 7.3.7
0
2082
by: mishrabi | last post by:
Hi Experts, Could you Please provide hoew to Migrating IBM Universe Database to Oracle. Whats are the steps to be taken care and how to extract data into a delimier data file. I am Using Below systems details : UniVerse Command Language 10.0 (c) Copyright IBM Corporation 2001. All rights reserved. DEVACT logged on: Mon May 14 05:59:43 2007
0
2568
by: SagittaDeveloper | last post by:
Hi, I'm have a problem connecting to IBM Universe via JDBC. When I run the connection code to UV from a none web application it connects and returns data. When I use the same connection code in my web application it fails. The same thing haoppenes when I using Suns JDBC to ODBC bridge. I'm using: Tomcat 5.5
0
9833
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9682
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10867
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9391
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7803
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6989
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5666
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4036
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3122
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.