last data update: 2011/10/15, 12:03

Website loading time

during the test: 1.72 s

cable connection (average): 1.96 s

DSL connection (average): 2.21 s

modem (average): 15.07 s

HTTP headers

Information about DNS servers

mirko-marovic-eng.blogspot.comCNAMEblogspot.l.google.comIN3600

Received from the first DNS server

Request to the server "mirko-marovic-eng.blogspot.com"
Received 48 bytes from address 81.2.199.68#53 in 97 ms
Request to the server "mirko-marovic-eng.blogspot.com"
You used the following DNS server:
DNS Name: dns2.widhost.net
DNS Server Address: 81.2.199.68#53
DNS server aliases:

Host mirko-marovic-eng.blogspot.com not found: 5(REFUSED)
Received 48 bytes from address 81.2.199.68#53 in 100 ms

Received from the second DNS server

Request to the server "mirko-marovic-eng.blogspot.com"
Received 48 bytes from address 85.235.128.167#53 in 108 ms
Request to the server "mirko-marovic-eng.blogspot.com"
You used the following DNS server:
DNS Name: dns.widhost.net
DNS Server Address: 85.235.128.167#53
DNS server aliases:

Host mirko-marovic-eng.blogspot.com not found: 5(REFUSED)
Received 48 bytes from address 85.235.128.167#53 in 108 ms

Subdomains (the first 50)

Typos (misspells)

nirko-marovic-eng.blogspot.com
kirko-marovic-eng.blogspot.com
jirko-marovic-eng.blogspot.com
murko-marovic-eng.blogspot.com
mjrko-marovic-eng.blogspot.com
mkrko-marovic-eng.blogspot.com
morko-marovic-eng.blogspot.com
m9rko-marovic-eng.blogspot.com
m8rko-marovic-eng.blogspot.com
mieko-marovic-eng.blogspot.com
midko-marovic-eng.blogspot.com
mifko-marovic-eng.blogspot.com
mitko-marovic-eng.blogspot.com
mi5ko-marovic-eng.blogspot.com
mi4ko-marovic-eng.blogspot.com
mirjo-marovic-eng.blogspot.com
mirmo-marovic-eng.blogspot.com
mirlo-marovic-eng.blogspot.com
miroo-marovic-eng.blogspot.com
mirio-marovic-eng.blogspot.com
mirki-marovic-eng.blogspot.com
mirkk-marovic-eng.blogspot.com
mirkl-marovic-eng.blogspot.com
mirkp-marovic-eng.blogspot.com
mirk0-marovic-eng.blogspot.com
mirk9-marovic-eng.blogspot.com
mirko0marovic-eng.blogspot.com
mirkopmarovic-eng.blogspot.com
mirko-narovic-eng.blogspot.com
mirko-karovic-eng.blogspot.com
mirko-jarovic-eng.blogspot.com
mirko-mzrovic-eng.blogspot.com
mirko-msrovic-eng.blogspot.com
mirko-mwrovic-eng.blogspot.com
mirko-mqrovic-eng.blogspot.com
mirko-maeovic-eng.blogspot.com
mirko-madovic-eng.blogspot.com
mirko-mafovic-eng.blogspot.com
mirko-matovic-eng.blogspot.com
mirko-ma5ovic-eng.blogspot.com
mirko-ma4ovic-eng.blogspot.com
mirko-marivic-eng.blogspot.com
mirko-markvic-eng.blogspot.com
mirko-marlvic-eng.blogspot.com
mirko-marpvic-eng.blogspot.com
mirko-mar0vic-eng.blogspot.com
mirko-mar9vic-eng.blogspot.com
mirko-marocic-eng.blogspot.com
mirko-marobic-eng.blogspot.com
mirko-marogic-eng.blogspot.com
mirko-marofic-eng.blogspot.com
mirko-marovuc-eng.blogspot.com
mirko-marovjc-eng.blogspot.com
mirko-marovkc-eng.blogspot.com
mirko-marovoc-eng.blogspot.com
mirko-marov9c-eng.blogspot.com
mirko-marov8c-eng.blogspot.com
mirko-marovix-eng.blogspot.com
mirko-maroviv-eng.blogspot.com
mirko-marovif-eng.blogspot.com
mirko-marovid-eng.blogspot.com
mirko-marovic0eng.blogspot.com
mirko-marovicpeng.blogspot.com
mirko-marovic-wng.blogspot.com
mirko-marovic-sng.blogspot.com
mirko-marovic-dng.blogspot.com
mirko-marovic-rng.blogspot.com
mirko-marovic-4ng.blogspot.com
mirko-marovic-3ng.blogspot.com
mirko-marovic-ebg.blogspot.com
mirko-marovic-emg.blogspot.com
mirko-marovic-ejg.blogspot.com
mirko-marovic-ehg.blogspot.com
mirko-marovic-enf.blogspot.com
mirko-marovic-env.blogspot.com
mirko-marovic-enb.blogspot.com
mirko-marovic-enh.blogspot.com
mirko-marovic-eny.blogspot.com
mirko-marovic-ent.blogspot.com
irko-marovic-eng.blogspot.com
mrko-marovic-eng.blogspot.com
miko-marovic-eng.blogspot.com
miro-marovic-eng.blogspot.com
mirk-marovic-eng.blogspot.com
mirkomarovic-eng.blogspot.com
mirko-arovic-eng.blogspot.com
mirko-mrovic-eng.blogspot.com
mirko-maovic-eng.blogspot.com
mirko-marvic-eng.blogspot.com
mirko-maroic-eng.blogspot.com
mirko-marovc-eng.blogspot.com
mirko-marovi-eng.blogspot.com
mirko-maroviceng.blogspot.com
mirko-marovic-ng.blogspot.com
mirko-marovic-eg.blogspot.com
mirko-marovic-en.blogspot.com
imrko-marovic-eng.blogspot.com
mriko-marovic-eng.blogspot.com
mikro-marovic-eng.blogspot.com
mirok-marovic-eng.blogspot.com
mirk-omarovic-eng.blogspot.com
mirkom-arovic-eng.blogspot.com
mirko-amrovic-eng.blogspot.com
mirko-mraovic-eng.blogspot.com
mirko-maorvic-eng.blogspot.com
mirko-marvoic-eng.blogspot.com
mirko-maroivc-eng.blogspot.com
mirko-marovci-eng.blogspot.com
mirko-marovi-ceng.blogspot.com
mirko-marovice-ng.blogspot.com
mirko-marovic-neg.blogspot.com
mirko-marovic-egn.blogspot.com
mmirko-marovic-eng.blogspot.com
miirko-marovic-eng.blogspot.com
mirrko-marovic-eng.blogspot.com
mirkko-marovic-eng.blogspot.com
mirkoo-marovic-eng.blogspot.com
mirko--marovic-eng.blogspot.com
mirko-mmarovic-eng.blogspot.com
mirko-maarovic-eng.blogspot.com
mirko-marrovic-eng.blogspot.com
mirko-maroovic-eng.blogspot.com
mirko-marovvic-eng.blogspot.com
mirko-maroviic-eng.blogspot.com
mirko-marovicc-eng.blogspot.com
mirko-marovic--eng.blogspot.com
mirko-marovic-eeng.blogspot.com
mirko-marovic-enng.blogspot.com
mirko-marovic-engg.blogspot.com

Location

IP: 209.85.175.132

continent: NA, country: United States (USA), city: Mountain View

Website value

rank in the traffic statistics:

There is not enough data to estimate website value.

Basic information

website build using CSS

code weight: 93.47 KB

text per all code ratio: 20 %

title: Mirko Marović - in English

description:

keywords:

encoding: UTF-8

language: en

Website code analysis

one word phrases repeated minimum three times

PhraseQuantity
the13
and7
is7
in7
of7
database6
that6
to6
was5
it5
time4
as4
for4
you4
shrink3
data3
they3
with3
The3
there3
answer3

two word phrases repeated minimum three times

three word phrases repeated minimum three times

B tags

Obviously if a key changes very often, or will be used as a FK for many other tables, there can be performance or concurrency implications to making it the primary key .  In this case, you do want toconsider a surrogate, and use it if appropriate. The problem in Galenika was not that a key was changed very often. It was enough that its structure changed once and for all products. I don't know in how many tables that code was foreign key, however the main problem, and huge one itself, was that it was foreign key in sales transactions table. So, my recommendation is not to consider a surrogate, but to use a surrogate and not even think about "natural" key. Even if you don't have "FK for many other tables

U tags

I tags

group by

having

Which side is right?  Neither.  Both natural and surrogate keys have their own place, and a developer who doesn’t use both as the situation demands is shortchanging both himself and his applications.

The value of a surrogate must never be exposed to the outside world.   Users should never be allowed to see the key, under any conditions.   Display the value of a surrogate key on a report, allow it to be viewed on a form or even used as a search term – these are all forbidden.   Once you expose a surrogate key, it immediately begins acquiring business meaning. 

Note: if your data already contains meaningful product codes or other keys such as those described above, then they are simply natural keys and the above caveat doesn’t apply.     It’s a smart key only when the value is constructed by the developer.

Immutability is certainly a desirable feature for a key, but it’s by no means a requirement.   Using this as an excuse is the trademark of a lazy developer.  Data changes.   If the key changes, update it.  If it’s being used as a foreign key in another table – update that table too.  Cascading updates exist for a reason, after all.

Obviously if a key changes very often, or will be used as a FK for many other tables, there can be performance or concurrency implications to making it the primary key .  In this case, you do want toconsider a surrogate, and use it if appropriate. 

consider a surrogate,

FK for many other tables

Replacing a wide key with a narrower value means smaller indexes, and more values retrieved from every index page read.  This does boost performance.  However,  you’ll usually retain the index on the natural key (to enforce uniqueness if nothing else) and that means another index to maintain.  If your table is very narrow, the additional column for the surrogate can noticeably impact performance and storage requirements.

images

file namealternative text

headers

H1

H2

Wednesday, May 25, 2011

Sunday, April 10, 2011

Thursday, March 3, 2011

Wednesday, February 2, 2011

Sunday, January 16, 2011

Sunday, January 9, 2011

Followers

Blog Archive

About Me

H3

Wednesday, May 25, 2011

Sunday, April 10, 2011

Thursday, March 3, 2011

Wednesday, February 2, 2011

Sunday, January 16, 2011

Sunday, January 9, 2011

Followers

Blog Archive

About Me

H4

H5

H6

internal links

addressanchor text
To be and not to shrink, that is the answer
3:06 PM
microsoft sql server
sql server administration
Rows matching all the values from a list
9:50 AM
My wife and SQL cursor
1:53 PM
database design
dataset approach
ETL design
row by row in sql
Running Totals in SQL, Back to the Future
11:53 AM
best practices
designers
developer
running totals
sql server
Natural vs. Surrogate Keys, that is the question
1:30 PM
beginners in sql serever
best practices
designers
developer
foreign keys
keys
sql server
surrogate
Selling is a lot like fishing
Mirko Marović in English
2:08 PM
Home
Posts (Atom)
2011
May
To be and not to shrink, that is the answer
April
Rows matching all the values from a list
March
My wife and SQL cursor
February
Running Totals in SQL, Back to the Future
January
Natural vs. Surrogate Keys, that is the question
Selling is a lot like fishing

external links

addressanchor text
Email This
BlogThis!
Share to Twitter
Share to Facebook
Result that matches all the values from a list
Email This
BlogThis!
Share to Twitter
Share to Facebook
Email This
BlogThis!
Share to Twitter
Share to Facebook
article
discussion
article
Email This
BlogThis!
Share to Twitter
Share to Facebook
The latest article
Email This
BlogThis!
Share to Twitter
Share to Facebook
Argo Team
Email This
BlogThis!
Share to Twitter
Share to Facebook
View my complete profile
luoman
Blogger