Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
affiza #1
How To Query Large Data/Records ?
Hi All,
Here is my Problem - In my search form I have to query 50 million records in a
single transaction and to display the results . - Without sweating the
machine.
my Approach(s):
1) Indexing - this is bad, because the batch processing is using the same
table to load data at the same time - daily.
2) Data base partition - well, the search results will be still ard 800 , 000
records/per partition.
3) Search keys - to filter results -for 50 mill ?
This is a common approach, but to search over 50 mill
or with 800,000 records/per partition .Hmmm
The Appl/ Enviroment:
1) web server - CF MX ,win2k, RAM 133MB, Processor - x86 Family 6 Model 8
Stepping 3
2)Database - Oracle 9i /IBM AIX 5.2
3)With above system requirement - The server/pc
cannot even hold for some 60,000 records per transaction. Unfortunately for me
is I ll still be using the same server/pc(above). Plus , to add another
partition/sub part or indexing scheme in the database will effect the back end
processing some how.
System Requirement
------------------
1) To display a precise total records for every search transaction - the
results.
2) To have a fast/ reliable / robust application.
Any ideas , new algo or technique ? Please help
affiza
:confused;
affiza Guest
-
query of queries and large data types
I am performing a query of queries against a query the selects a clob value from an Oracle database. When I try to access the clob value in the... -
query of quries and large data types
I am running a query of queries on a query that runs agains an oracle database and returns a clob column. When I try to access the clob column in... -
HELP! Have large db. Need to delete all records.
Client are 6 Server is 5.0 win2k server win2k& xpclients I have a large fmpro DB but cannot delete all the records to start new. I want to... -
data extraction from records of query
hello sir thanks in advance for the help i have a query on the basis of a table,the query results in 4-records i want to use tha data in... -
large number of records in query (orcale 8i)
Hi all, At the moment in our server ( written in java) we cache all records of a query from database (Oracle8i) and we manipulate them as per... -
The ScareCrow #2
Re: How To Query Large Data/Records ?
I assume that you are using a store proc ?
How fast does it run in the db environment ?
As I don't use oracle, I'm not sure this will work, but
In sql server I had a similar problem, I created a stored procedure. This sp
also took a param that indicated the starting point for the next recordset to
return. That is I only return 1000 records at a time.
But this is all dependant upon the execution time of the sp.
When I get home I will post some example code.
Ken
The ScareCrow Guest



Reply With Quote

