Commit ccba1aec authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Fixed some bad execution plan in the listing of files to be migrated when datapools are used

parent 1a5c0a52
......@@ -1325,7 +1325,10 @@ BEGIN
dconst.DISKSERVER_READONLY)
AND DiskServer.hwOnline = 1
UNION ALL
SELECT DiskCopy.castorFile,
SELECT /*+ LEADING(DiskCopy DiskServer)
USE_NL(DiskCopy DiskServer)
INDEX_RS_ASC(DiskCopy I_DiskCopy_CastorFile) */
DiskCopy.castorFile,
DiskServer.name || ':' || DiskCopy.path AS filePath, 0 AS rate
FROM DiskServer, DiskCopy
WHERE DiskCopy.status = dconst.DISKCOPY_VALID
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment