× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I agree, it needs to be REORG'd.

Michael Schutte
Work 614-492-7419
email  michael_schutte@xxxxxxxxxxxx


                                                                           
             "Wes"                                                         
             <destaw@superiorp                                             
             ropane.com>                                                To 
             Sent by:                  midrange-l@xxxxxxxxxxxx             
             midrange-l-bounce                                          cc 
             s@xxxxxxxxxxxx                                                
                                                                   Subject 
                                       SQL Delete                          
             03/20/2006 04:33                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
             Midrange Systems                                              
                 Technical                                                 
                Discussion                                                 
             <midrange-l@midra                                             
                 nge.com>                                                  
                                                                           
                                                                           




I'm running this SQL in interactive SQL session...
 ===> delete   FROM fonew WHERE Z1PRFL in ('Y', '*' )

 F3=Exit   F4=Prompt   F6=Insert line   F9=Retrieve   F10=Cop
 F12=Cancel            F13=Services     F24=More keys

 --->             Query running. 0 records selected, 29270544 processed.

The funny thing is the SQL is saying it's processed 29 million records when
e only has about 3k records are in the table and the 30mil are deleted (I
know I should re-org this file but time doesn't allow it since the table is
being used by trigger program)

   Text:
 Total number of members  . . . . . . . . . :                 1
 Total number of members not available  . . :                 0
 Total records  . . . . . . . . . . . . . . :              1222
 Total deleted records  . . . . . . . . . . :          30853279
 Total of member sizes  . . . . . . . . . . :       25004580864


Is there any know reason why SQL scans the full table including deleted
records?

Wes



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.