Re[2]: aqua gatekeeper sql

This is a discussion on Re[2]: aqua gatekeeper sql within the FreeRADIUS Users forums, part of the Networking and Network Related category; Hi, Apu. Apu wrote 15 =EC=E0=F0=F2=E0 2005 =E3., 20:15:56: > you want to place ...


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
Dmitriy Milashenko
 
Posts: n/a
Default Re[2]: aqua gatekeeper sql

Hi, Apu.

Apu wrote 15 =EC=E0=F0=F2=E0 2005 =E3., 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
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 04:51 PM.


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