dbTalk Databases Forums  

Unix 11.5.1 dump to Intel 12.x

comp.databases.sybase comp.databases.sybase


Discuss Unix 11.5.1 dump to Intel 12.x in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
h3ctic
 
Posts: n/a

Default Unix 11.5.1 dump to Intel 12.x - 02-13-2004 , 07:36 AM






Is it possible to simply

* dump my Unix based 11.5.1 databases to the unix filesystem
* ftp the dumps over to intel
* load them into a intel-based 12.x sybase server ?

(the data/log segments are idential on both ends)
--
h3ctic



Reply With Quote
  #2  
Old   
Pablo Sanchez
 
Posts: n/a

Default Re: Unix 11.5.1 dump to Intel 12.x - 02-13-2004 , 07:47 AM






"h3ctic" <h3ctic (AT) notsohotmail (DOT) com> wrote in
news:gp4Xb.3607$_c4.51172 (AT) news4 (DOT) e.nsc.no:

Quote:
Is it possible to simply

* dump my Unix based 11.5.1 databases to the unix filesystem
* ftp the dumps over to intel
* load them into a intel-based 12.x sybase server ?

(the data/log segments are idential on both ends)
This depends on the endianness of the two boxes. If they're both
the same, it'll work.
--
Pablo Sanchez - Blueoak Database Engineering, Inc
http://www.blueoakdb.com


Reply With Quote
  #3  
Old   
h3ctic
 
Posts: n/a

Default Re: Unix 11.5.1 dump to Intel 12.x - 02-13-2004 , 08:19 AM



Quote:
"h3ctic" wrote:
Is it possible to simply
* dump my Unix based 11.5.1 databases to the unix filesystem
* ftp the dumps over to intel
* load them into a intel-based 12.x sybase server ?
(the data/log segments are idential on both ends)

"Pablo Sanchez" wrote:
This depends on the endianness of the two boxes. If they're both
the same, it'll work.

Thanks for the very fast reply Pablo.

Could you please elaborate what you mean by:

"This depends on the endianness of the two boxes"

(English is not my first language)
--
h3ctic




Reply With Quote
  #4  
Old   
Michael Peppler
 
Posts: n/a

Default Re: Unix 11.5.1 dump to Intel 12.x - 02-13-2004 , 09:29 AM



On Fri, 13 Feb 2004 15:19:53 +0100, h3ctic wrote:

Quote:
"h3ctic" wrote:
Is it possible to simply
* dump my Unix based 11.5.1 databases to the unix filesystem
* ftp the dumps over to intel
* load them into a intel-based 12.x sybase server ?
(the data/log segments are idential on both ends)

"Pablo Sanchez" wrote:
This depends on the endianness of the two boxes. If they're both
the same, it'll work.


Thanks for the very fast reply Pablo.

Could you please elaborate what you mean by:

"This depends on the endianness of the two boxes"

(English is not my first language)
Intel machines are little-endian, meaning that the 32bit number 1 is
stored as 01 00 00 00 in the machine. SPARC processors are big-endian,
meaning that the same number is stored as 00 00 00 01. Sybase's database
dumps are binary copies of the database, and as such can only be used on
architectures that use the same binary representation for various
datatypes (integers and float, in particular).

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler (AT) peppler (DOT) org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.peppler.org/resume.html



Reply With Quote
  #5  
Old   
h3ctic
 
Posts: n/a

Default Re: Unix 11.5.1 dump to Intel 12.x - 02-14-2004 , 06:47 AM



<snip>
Quote:
"Michael Peppler" wrote:
Intel machines are little-endian, meaning that the 32bit number 1 is
stored as 01 00 00 00 in the machine. SPARC processors are big-endian,
meaning that the same number is stored as 00 00 00 01. Sybase's database
dumps are binary copies of the database, and as such can only be used on
architectures that use the same binary representation for various
datatypes (integers and float, in particular).
Thanks Michael,

Im not sure how I can verify this tho. We're running HPUX:

/ #sys_info
hostname = xxxxx
model = 9000/899/K570
OS release level= B.11.00 (32-bit)
processor count = 4
CPU type = PA20
clock speed = 200 MHz
memory = 2.5 GB
/ #

is there another command I can run to get more info (if needed) ?
--
h3ctic




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.