Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
GeneralRe: Printing in a MDI Form Pin
stancrm5-Jul-06 22:05
stancrm5-Jul-06 22:05 
QuestionSNMP Agent discovery in c# Pin
mikeyhardingboyo5-Jul-06 18:36
mikeyhardingboyo5-Jul-06 18:36 
AnswerRe: SNMP Agent discovery in c# Pin
led mike6-Jul-06 4:54
led mike6-Jul-06 4:54 
QuestionHow to check Windows Form is completely shown on the screen [modified] Pin
monakey5-Jul-06 18:20
monakey5-Jul-06 18:20 
QuestionPlz help!!!! Pin
İsmail Durmaz5-Jul-06 17:18
İsmail Durmaz5-Jul-06 17:18 
AnswerRe: Plz help!!!! Pin
Guffa5-Jul-06 20:07
Guffa5-Jul-06 20:07 
QuestionEditBox in System tray Pin
eblaschka5-Jul-06 16:17
eblaschka5-Jul-06 16:17 
QuestionC# Application prompting for a Disk to be insterted in Drive Pin
EmmaO5-Jul-06 15:58
EmmaO5-Jul-06 15:58 
AnswerRe: C# Application prompting for a Disk to be insterted in Drive Pin
mav.northwind6-Jul-06 5:44
mav.northwind6-Jul-06 5:44 
Questionturning off the start navigation "click" sound in WebBrowser Control Pin
mbenezra5-Jul-06 15:51
mbenezra5-Jul-06 15:51 
AnswerRe: turning off the start navigation "click" sound in WebBrowser Control Pin
Ravi Bhavnani5-Jul-06 17:27
professionalRavi Bhavnani5-Jul-06 17:27 
GeneralRe: turning off the start navigation "click" sound in WebBrowser Control Pin
mbenezra6-Jul-06 8:28
mbenezra6-Jul-06 8:28 
QuestionLanguage Translator Pin
Ben_Cameron5-Jul-06 15:33
Ben_Cameron5-Jul-06 15:33 
AnswerRe: Language Translator Pin
Ravi Bhavnani5-Jul-06 17:29
professionalRavi Bhavnani5-Jul-06 17:29 
QuestionPassing value to Class Pin
oskardiazdeleon5-Jul-06 14:14
oskardiazdeleon5-Jul-06 14:14 
AnswerRe: Passing value to Class Pin
Guffa5-Jul-06 20:09
Guffa5-Jul-06 20:09 
Questionhow to execute my exe before main exe ? Pin
hdv2125-Jul-06 14:02
hdv2125-Jul-06 14:02 
AnswerRe: how to execute my exe before main exe ? Pin
Dave Kreskowiak5-Jul-06 15:43
mveDave Kreskowiak5-Jul-06 15:43 
QuestionSQL - Handling Large Volumes of Data [modified] Pin
MrEyes5-Jul-06 13:28
MrEyes5-Jul-06 13:28 
AnswerRe: SQL - Handling Large Volumes of Data Pin
Alexander Wiseman5-Jul-06 14:11
Alexander Wiseman5-Jul-06 14:11 
AnswerRe: SQL - Handling Large Volumes of Data Pin
Daniel Turini5-Jul-06 14:18
Daniel Turini5-Jul-06 14:18 
GeneralRe: SQL - Handling Large Volumes of Data Pin
MrEyes5-Jul-06 22:47
MrEyes5-Jul-06 22:47 
GeneralRe: SQL - Handling Large Volumes of Data Pin
Daniel Turini5-Jul-06 23:40
Daniel Turini5-Jul-06 23:40 
MrEyes wrote:

Storing data as string is, I believe unavoidable otherwise it would not be possible to search data. However the design has alot of repeated data in some fields, I believe that normalising the varchars would give a significant performance enhancement. Or as you suggested using text indexing

I don't know SNMP enough to be sure of what I'm saying without looking at the data, but some fields feel like they deserve a separate table:
Packet Type -> Maybe a packet type table?

OID -> Is it something like a MAC Address or a unique object ID? If so, you should have an "object" table.
snmp_version -> this seems like an attribute of the "object" table, as it seems 1x1 related to OID.
Source IP and Community Name -> Aren't those somehow related to OID too?
Source IP -> You can (and maybe should) store IPs as INTs[^].
Timestamp -> This is a count of seconds since some arbitrary point on time. You could use a numeric field to store that, it'll be way smaller.

This may make your database way faster to search, as it will be much smaller, and you'll only need to search smaller varchar tables (maybe hundreds or thousands of records) before going to the main table (captured_traps). But logging it may be a bit slower, only a test may say...


I don't see dead pixels anymore...
Yes, even I am blogging now!
Questionhow to make faster Invalidate operation? Pin
Susuko5-Jul-06 13:26
Susuko5-Jul-06 13:26 
QuestionDynamic Crystal Reports Pin
smarttom995-Jul-06 12:57
smarttom995-Jul-06 12:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.