Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > identify all DBSpaces that make up a database in order to know what to restore
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 15th November 05:22
emebohw
External User
 
Posts: 1
Default identify all DBSpaces that make up a database in order to know what to restore



Hello all. I sure hope someone here can help me because informix
support did not seem very interested in my question. I have two
systems running informix, one system A has much more storage space on
it than the other (system B!). I have two databases in the same
instance on system A and I want to restore only one of those databases
to system B. I should be able to do this by identifying all of the
dbspaces on system A that make up the database in question and then
use ontape -D to restore the three critical dbspaces and plus the
dbspaces that make up this database. When I ran this by support, they
were not at all helpful and told me I might be able to use oncheck -PE
to identify all of the dbspaces I need. They also seemed very smug and
told me that most people would just have two systems that are the same
size in order to accomplish this...that sort of rubbed me the wrong
way, but oh well. I need to do it and I know there must be an easier
way to identify the dbspaces I need to restore and it burns me up that
I cant get more help than this from IBM. The oncheck -PE is such a
mess from a ease of use standpoint that I cant imagine how it would be
useful other than going through it by hand with a highlighter and
ruler and even then the possiblity for human error would be huge!

Can someone here please help me? I am guessing this info is available
via SQL if only I knew where and how to look.
  Reply With Quote


 


2 15th November 05:23
art s. kagel
External User
 
Posts: 1
Default identify all DBSpaces that make up a database in order to know what to restore



SELECT tabname, partdbsnum( partnum )
FROM sysmaster:systabnames
WHERE dbsname = 'mydatabase';
Art S. Kagel
  Reply With Quote
3 15th November 05:23
emebohw
External User
 
Posts: 1
Default identify all DBSpaces that make up a database in order to know what to restore


I was hoping I would hear from you Art! I cant believe support couldnt
go out on a limb and give me that...thank heavens for you!
  Reply With Quote
Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Development, Ada, Apple script, Assembler, Awk, Beos, Basic, C, C++, C#, C# .net, .net, .net frameworks, Asp .net, Clarion, Clipper, Clos, Clu, Cobol, Coldfusion, Delphi, Dylan, Eiffel, Forth, Fortran, Haskell, Hermes, Icon, Idl, Java, Java script, Jscript .net, Jcl, Linoleum, Lisp, Lotus, Limbo, Logo, Ml, Mumps, Oberon, Postscript, Pop, Pl1, Prolog, Python, Ruby, Pascal, Perl, Php, Rebol, Rexx, Sed, Sather, Scheme, Smalltalk, Tcl, Vhdl, Vrml, Visual basic, Visual basic .net, Yorick, Mysql, Omnis, Postgresql, Xbase, Access, Oracle, Adabas, Berkeley, Btrieve, Filemaker, Gupta, Db2, Informix, Ingres, Mssql server, Object, Olap, Paradox, Rdb, Revelation, Sybase, Theory, Dbase, Html, Java script, Css, Flash, Photoshop, Corel script, Xml, Tech, Beos, Gem, Hp48, Hpux, Linux, Mac, Ms-dos, Os2, Palm, Solaris, Ti99, Windows, Xenix, Aos, Chorus, Geos, Inferno, Lantastic, Lynx, Mach, Minix, Netware, Os9, Parix, Plan9, Psos, Qnx, Xinu, Sco, Unix, Aix, Aux, 386bsd, Bsdi, Freebsd, Netbsd, Openbsd, Ultrix, Amd, Intel, Aptiva, Buz, Deals, Homebuilt, Overclocking, Programming, Extra forums


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666