Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
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
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT Text(CSV)
improve the select query performance
mahendra
2008-09-26 02:18:03
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
select mainCSV.*,hdrCSV.*,(select top1 reccount('templet') from templet ) as recordcount
from templet mainCSV,header hdrCSV

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap