Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
redis performance problem
Old 10-15-2009, 07:53 AM redis performance problem
Junior Talker

Posts: 1
Trades: 0
Hello everyone,
Recently i've used the redis to replace my mysql database.
I have a performance problem: i need to insert data to my redis database.
i use this function to insert the data, one by one like that:
$r->set("func:funcid:name". "joe")
$r->set("func:funcid:type". "1234")
...
i have something like 20 different types of data (such as name, type etc.) i need to save about each funcid, and i have about 8000 records to save each time, thats takes me about 10-14 seconds.
Is there anyway to set 20 different data to one funcid quickly, and then to 8000 records ?

Thanks!
amitdar is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to redis performance problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32891 seconds with 12 queries