If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Design Advisor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-14-05, 08:10
AnilKale AnilKale is offline
Registered User
 
Join Date: Feb 2005
Posts: 118
Design Advisor

Hi All !

I am using a db2 client to connect to my db2 udb version 8 on linux.
After I connect I try to use the db2advis command from the db2 command window, and I get a message
'db2advis' is not recognized as an internal or external command,
operable program or batch file.

I did a scan of all my /sqllib/bin files and I do not see any db2advis.exe.

Is it because you have to execute db2advis only from the server ? or do I have to do something else before I can use db2advis from the client machine ?

thanks
Anil
Reply With Quote
  #2 (permalink)  
Old 11-14-05, 09:58
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
I'm not sure you can run db2advis from a client, I believe it must be run on the server.

You should be able to use the advisor through the Control Center, though. Right-click on any database and select "Design Advisor".
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #3 (permalink)  
Old 11-14-05, 10:06
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I think db2advis *can* run on a client; only it has to be an Administration client...
Reply With Quote
  #4 (permalink)  
Old 11-14-05, 10:15
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by n_i
I think db2advis *can* run on a client; only it has to be an Administration client...
I checked on my machine (admin client / windows), doesn't seem to have it.
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #5 (permalink)  
Old 11-14-05, 10:30
wangzhonnew wangzhonnew is offline
Registered User
 
Join Date: Nov 2005
Location: Toronto
Posts: 65
Quote:
Originally Posted by J Petruk
I'm not sure you can run db2advis from a client, I believe it must be run on the server.

You should be able to use the advisor through the Control Center, though. Right-click on any database and select "Design Advisor".
The Design Advisor does not need db2advis executable on client side,
because the actual work will be done on the server side.
If you mis-configure the database catalog, you may get DBA2193.
So, please check your node catalog, admin node catalog at first.
ie. take node directory and admin node directory with detail option to
see if correct REMOTE_INSTANCE, SYSTEM, OSTYPE options are specified.
The Design Advisor on Windows Admin client shows the valid suggestions
for the database on AIX server in our test.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On