migrating data
Viet Nguyen
VNguyen at wsboces.org
Tue Jan 30 07:58:09 CST 2007
Hi Glen,
We don't have powerhouse on the NT server. We are running Powerhouse on
the AIX box and accessing the data on
The Windows box. I am uploading without the indexes and it doesn't seem
to be that much faster, next I will try bulk upload.
Thanks for you help.
Viet.
-----Original Message-----
From: powerh-l-bounces+vnguyen=wsboces.org at lists.sowder.com
[mailto:powerh-l-bounces+vnguyen=wsboces.org at lists.sowder.com] On Behalf
Of Glenn Baxter
Sent: Monday, January 29, 2007 6:04 PM
To: Viet Nguyen; powerh-l at lists.sowder.com
Subject: RE: migrating data
Hi Viet,
As per Joe's suggestion I have had much greater success unloading to
portable subfiles.
Perform a Binary transfer of the data portion (.ps) and an ascii
transfer of the dictionary portion (.psd) using wither Reflection etc of
Ftp.
Having built a PHD on the "other side" in your case NT Server, simply
use Qtp to reload/load the SQL Server tables.
I had built the SQL tables with underscore "_" element names; replacing
"-" naming, so; edited the dictionary (.psd) files performing a global
replace of "-" to "_".
This removes the need to manually rename elements/columns etc and Qtp
then does automatic initialisation.
Judging from your code below; this may not be necessary.
I found this method to be reliable and the performance quite fast.
You have the advantage of being able to transfer in one process and the
reload concurrently from the NT Server in another session.
Sincerely
Glenn Baxter
____________
Baxter IT Solutions
Software that works.
456 Victoria Parade
East Melbourne
Victoria Australia 3002
p: 03-9415-8733
m: 0412-826-503
f: 03-9415-8911
e: glenn at baxterit.com.au <mailto:glenn at baxterit.com.au>
This e-mail message (and attachments) may contain information that is
confidential to Baxter IT Solutions. If you are not the intended
recipient you cannot use, distribute or copy the message or attachments.
In such a case, please notify the sender by return e-mail immediately
and erase all copies of the message and attachments. Opinions,
conclusions and other information in this message and attachments that
do not relate to the official business of Baxter IT Solutions are
neither given nor endorsed by it.
________________________________
From: powerh-l-bounces+glenn=baxterit.com.au at lists.sowder.com
[mailto:powerh-l-bounces+glenn=baxterit.com.au at lists.sowder.com] On
Behalf Of Joe Boyle
Sent: Tuesday, 30 January 2007 3:24 AM
To: 'Viet Nguyen'; powerh-l at lists.sowder.com
Subject: RE: migrating data
I read somewhere that bcp is the fastest way to load into MSSQL, how
about sending a portable subfile over to the Windows box and then use it
to supply bcp.
________________________________
From: powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
[mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com] On
Behalf Of Viet Nguyen
Sent: 29 January 2007 16:07
To: powerh-l at lists.sowder.com
Subject: migrating data
Hi ,
Would anyone be able to show me how to speed up data exporting from AIX
to MSSQL?
It takes around 24 hours to export the data
Here is my set up:
1. Powerhouse with CISAM file on AIX
2. MSSQL DB is on Windows box
3. I am using Data Direct ODBC driver to connect to the MSSQL db
from the AIX box and
4. we're on a 1gigabit network.
5. Here is a qtp run sample:
set process nolimit
commit at request
set input nolimit
use setlimit
request abadj
access abadj alias oldabadj
output abadj in sqldevl add
request abadjdesc
access abadjdesc alias oldabadjdesc
output abadjdesc in sqldevl add
request abadjdet
access abadjdet alias oldabadjdet
output abadjdet in sqldevl add
;request abapprover
;access abapprover alias oldabapprover
;output abapprover in sqldevl add
request abbudexp
access abbudexp alias oldabbudexp
output abbudexp in sqldevl add
request abbudgroup
access abbudgroup alias oldabbudgroup
output abbudgroup in sqldevl add
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20070130/f03c88ce/attachment.html
More information about the powerh-l
mailing list