Beruflich Dokumente
Kultur Dokumente
Definitions
• Benchmark
– The customer may know the product works, but are we the
best??
– Maybe speed rather than facilities
• Proof-of-Concept (PoC)
– Does the product work ? (basic tick in the box)
– Can it do what I want it to do ? (facilities)
– Can it handle my data ? (Volumes)
Differences
• Do we do the work ?
– Can we do this technically ?
– Do we want to do this commercially ?
• The first question is ours to answer
• The second we can give “advise” on - but should not
answer
He who fights and runs away, lives to fight another day
Resource-Intensive
• Your Company
– Your time
– Technical Support
– Sales Person
– Management buy-in
– Technical stand-in
The Sales Person (yes they do have uses)
• Customer
– Technical Assistance
Someone who KNOWS the system (not the guy the
Technical Director first thought of)
– Data and Schema (or at least some form of data definition)
– Queries, or at least list of questions
– Timescale (when is the finish date for the project)
Customer Technical Assistance
SUCCESS CRITERIA
• Without the above
– How do we know if we have failed?
– How do we know if we have succeeded?
– What is the next step if we have succeeded?
• Criteria also mean we have a target to aim for, and we
limit the work required
Time and Success
• Take Notes
– Have a complete list of what you did and when you did it.
– It will save time in the long run and will allow you to write up
the project
• Script Everything you do on the system
– You WILL have to do everything more than once!
Good Benchmark Practice - 2
• OK we have
– A Plan
– Resources
– Customer and Management Buy in
– A Sales Person
– A target
– Computers and Time to do it
• Let’s go do Step 2
Step 2
The System
• Processors
• Memory
• Disk (sub-system) inc. RAID
• Operating System
• IQ 12
• Other Software
The Free Hand
• Proof of Concept
– More is better
• Benchmark
– IQ 12 is not parallel so if competitive with small number of
users - small number of CPUs
– If competitive, with large number of users - as many CPUs
as you can get in the box!
Memory
• More is better
• We can always use more memory
• Consider 15MB per user (that is a very bad
generalisation - but almost accurate!)
Disk - 1
• Two sorts
– Simple Disk
– Disk Farm (Storage Array)
• RAID x
• Suggestion
– Disk Farm - as many spindles as possible
– RAID 0/1 (Mirror/Stripe) - fast and reliable
Disk - 2
• How Much….
• IQ Main
– 90% Raw - max.
• IQ Temp
– 25% Raw - max.
• Staging Area
– How long is piece of string…..
– You made need more than one “copy” of the data
Disk Farm
• IQ
– Have you the latest revision?
– Have you read the release notes?
– Are there any new EBFs?
– Speak with Tech. Support PSE or Engineering get the latest
revision (that works!)
• Other Software
– Replication Server, Distribution Director etc.
– Are these all the latest revision?
– Does all the software work together?
Step 3
Installation
• Install IQ
• Decide on IQ Page Size
• Build the Database
• Create the IQ Main Store
• Create the IQ Temp. Store
IQ Page Size
• 64 Kbytes, unless
– Big database then 128 Kbytes
– Big, Big database then 256 Kbytes
– Not 512 – remember the bug…
Catalogue Store
• RAW or Filesystem
– Unless there overwhelming reasons, and I can’t think of any,
then RAW
• Few Bigger, or Many Smaller
– Many Smaller is better, but you may not have the choice
After Install and DB Create
• Another database
– Consider conversions here, unload, modify and reload may
be faster than CONVERT()
– Generally UNIX commands like AWK and SED can run
quicker than CONVERT() and certainly are quicker than
aggregate statements from general RDBMS products
– If you do an unload and reload, you will need staging space
(twice the size of the data)
Flat Files
• Script everything
• You will never, never succeed the first time
• Only test load with 10 to 100 rows of data, the load will
fail that bit quicker than with 1 billion rows
• Load the biggest file first, it will take the longest time
During Load
Next job :-
• Prepare for the next Proof of Concept and Benchmark
• Maybe this time with a little more knowledge (thanks
to the last PoC/BM)
Proof of Concepts - End