[asterisk-bugs] [Asterisk 0017380]: [patch] long waiting (over 2 min) for cdr_tds running "SELECT 1 FROM cdr" when asterisk starting with aournd 3mil cdr in table

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 4 05:57:59 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17380 
====================================================================== 
Reported By:                kkwong
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   17380
Category:                   CDR/cdr_tds
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.31 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-24 06:27 CDT
Last Modified:              2010-06-04 05:57 CDT
====================================================================== 
Summary:                    [patch] long waiting (over 2 min) for cdr_tds
running "SELECT 1 FROM cdr" when asterisk starting with aournd 3mil cdr in table
Description: 
we are testing asterisk 1.4.31 to replace old 1.2x box, when start then new
1.4.31 box with "asterisk -cvvvv" it stop at 

"== Parsing '/etc/asterisk/cdr_tds.conf': Found"

for more then 2 min and from sql profiler shows it running the query 

"SELECT 1 FROM cdr"
====================================================================== 

---------------------------------------------------------------------- 
 (0122955) kkwong (reporter) - 2010-06-04 05:57
 https://issues.asterisk.org/view.php?id=17380#c122955 
---------------------------------------------------------------------- 
tested with the patch now asterisk takes 1 sec to start even the db 3mil
cdr, thx 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-04 05:57 kkwong         Note Added: 0122955                          
======================================================================




More information about the asterisk-bugs mailing list