Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  Buy Now
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

improve the select query performance
2008-09-26 02:18:03.0
i am using the hxtt drive to read records from CSV;i just need to use select operation;how can i write select operations which is not time consuming in case of large number of rows ;i also need a record count every time and i want all this within a single result set.
for example:i have written one query
select mainCSV.*,hdrCSV.*,( select count('*') from templet.txt) as recordcount
from templet mainCSV
right join header hdrCSV

how can i modify this query in order to improve its performance it takes 16 sec for total of 50,000 rows
Re:improve the select query performance
HXTT Support
2008-09-26 02:34:12.0
select mainCSV.*,hdrCSV.*,(select top1 reccount('templet') from templet ) as recordcount
from templet mainCSV,header hdrCSV

Search Key   Search by Last 50 Questions


Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap