Posted by Du on 10/14/21 11:28
I use mysql to monitor the download traffic from my website. I defined
user_id and the file name as the primary key.
My question is, shoud I check if the item already existed in the database
before add or should I leave mysql handle duplicate primary key checking ?
Can you tell which method is more efficient?
Thanks
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Navigation:
[Reply to this message]
|