Re: Re[2]: aqua gatekeeper sql

This is a discussion on Re: Re[2]: aqua gatekeeper sql within the FreeRADIUS Users forums, part of the Networking and Network Related category; the callid should not be the same even if the other ones are. The chances are very very low. You ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-16-2005
Apu islam
 
Posts: n/a
Default Re: Re[2]: aqua gatekeeper sql

the callid should not be the same even if the other
ones are. The chances are very very low. You can
change it (add another column to index), there is no
harm but you will increase your index size and
therefore increasing insert/delete/update operation
time on that database.

-apu

--- Dmitriy Milashenko <jag_subs@ukr.net> wrote:
> Hi, Apu.
>
> Apu wrote 15 марта 2005 г., 20:15:56:
>
> > you want to place the columns frequently changes

> on
> > your index if you are creating 'Unique' index. The
> > existing indexing scheme will work just fine,

> since
> > you have a multiple column index. The likelihood

> of
> > being all those similar is close to none. So, do

> not
> > change it.

>
> > -apu

>
> It seems like I MUST to change this index, because
> unique index works
> like constraint and NAS server can send stop records
> for caller and
> callee with the same h323setuptime, NASIpaddress,
> and callid. But one
> of them is answer and other is originate. If index
> looks like
> create UNIQUE index stopvoipcombo on
> stopvoip(h323SetupTime, nasipaddress, CallID);
> it is impossible to insert the second
> Accounting-Stop row. And it
> seem to me developers should change index by adding
> h323callorign
> field to index or the other way is to make this
> index not unique and
> add constraint for fields h323SetupTime,
> nasipaddress, CallID,
> h323callorign to make impossible duplicate records
> in database in
> case of duplicate sending Accounting packets by
> NASServer (that is
> the ordinar case in radius protocol)
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


---------------------------
Before God we are all equally wise - and equally foolish.
-Albert Einstein



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0