Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
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 
QuestionHow to truncate a value and display it to a grid [modified] Pin
Burn E5-Jul-06 12:25
Burn E5-Jul-06 12:25 
QuestionVirtual shared folder Pin
Bossek5-Jul-06 12:15
Bossek5-Jul-06 12:15 
QuestionHow to create a game trainer in C# ? Pin
bunnyEATINGrabbit5-Jul-06 12:01
bunnyEATINGrabbit5-Jul-06 12:01 
AnswerRe: How to create a game trainer in C# ? Pin
Dustin Metzgar5-Jul-06 12:16
Dustin Metzgar5-Jul-06 12:16 
GeneralRe: How to create a game trainer in C# ? Pin
bunnyEATINGrabbit6-Jul-06 4:09
bunnyEATINGrabbit6-Jul-06 4:09 
QuestionInheritance Question Pin
MartinSmith5-Jul-06 11:41
MartinSmith5-Jul-06 11:41 
AnswerRe: Inheritance Question Pin
Dustin Metzgar5-Jul-06 12:20
Dustin Metzgar5-Jul-06 12:20 
AnswerRe: Inheritance Question Pin
Guffa5-Jul-06 12:23
Guffa5-Jul-06 12:23 
Questionconverting a Image to a byte[] Pin
(Steven Hicks)n+15-Jul-06 11:01
(Steven Hicks)n+15-Jul-06 11:01 
AnswerRe: converting a Image to a byte[] Pin
Bluebamboo5-Jul-06 11:29
Bluebamboo5-Jul-06 11:29 
GeneralRe: converting a Image to a byte[] Pin
(Steven Hicks)n+15-Jul-06 13:36
(Steven Hicks)n+15-Jul-06 13:36 
AnswerRe: converting a Image to a byte[] Pin
Jon Sagara5-Jul-06 11:36
Jon Sagara5-Jul-06 11:36 
AnswerRe: converting a Image to a byte[] Pin
Ravi Bhavnani5-Jul-06 13:26
professionalRavi Bhavnani5-Jul-06 13:26 
AnswerRe: converting a Image to a byte[] [Solved] [modified] Pin
(Steven Hicks)n+16-Jul-06 5:18
(Steven Hicks)n+16-Jul-06 5:18 
Questionshow release version Pin
donkaiser5-Jul-06 10:39
donkaiser5-Jul-06 10:39 

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.