I am trying to use db2batch from my XP client against a remote
database.
And here's what I am getting:
C:\work\Tuning\ DB2\db2batch> db2batch -d oakl0 -a fs/fs -f
db2batch.sql
Running in Embedded Dynamic mode.
---------------------------------------------
--#SET PERF_DETAIL 5
Statement number: 1
select count(*) from files
1
--------------
2715211
Number of rows retrieved is: 1
Number of rows sent to output is: 1
SQL1427N An instance attachment does not exist.
Elapsed Time is: 1.772 seconds
---------------------------------------------
Summary of Results
=============== ===
Elapsed Agent CPU Rows Rows
Statement # Time (s) Time (s) Fetched
Printed
1 1.772 Not Collected 1 1
Arith. mean 1.772
Geom. mean 1.772
I tried to attach before executing db2batch like
C:\work\Tuning\ DB2\db2batch> db2 attach to linux0 user fs using fs
Instance Attachment Information
Instance server = DB2/LINUX 8.1.3
Authorization ID = FS
Local instance alias = LINUX0
but it didn't help.
The same procedure works fine localy on the server generating stats
according to the PERF_DETAIL set.
Any idea?
Thanks
-Eugene
database.
And here's what I am getting:
C:\work\Tuning\ DB2\db2batch> db2batch -d oakl0 -a fs/fs -f
db2batch.sql
Running in Embedded Dynamic mode.
---------------------------------------------
--#SET PERF_DETAIL 5
Statement number: 1
select count(*) from files
1
--------------
2715211
Number of rows retrieved is: 1
Number of rows sent to output is: 1
SQL1427N An instance attachment does not exist.
Elapsed Time is: 1.772 seconds
---------------------------------------------
Summary of Results
=============== ===
Elapsed Agent CPU Rows Rows
Statement # Time (s) Time (s) Fetched
Printed
1 1.772 Not Collected 1 1
Arith. mean 1.772
Geom. mean 1.772
I tried to attach before executing db2batch like
C:\work\Tuning\ DB2\db2batch> db2 attach to linux0 user fs using fs
Instance Attachment Information
Instance server = DB2/LINUX 8.1.3
Authorization ID = FS
Local instance alias = LINUX0
but it didn't help.
The same procedure works fine localy on the server generating stats
according to the PERF_DETAIL set.
Any idea?
Thanks
-Eugene
Comment