Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
zodb的几个问题
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
张沈鹏  
View profile   Translate to Translated (View Original)
 More options Mar 7 2008, 12:29 am
From: 张沈鹏 <zsp...@gmail.com>
Date: Thu, 6 Mar 2008 21:29:52 -0800 (PST)
Local: Fri, Mar 7 2008 12:29 am
Subject: zodb的几个问题
1.
set又没有key.value,为什么还要分4种类型?
Oset和ISet不就够了吗?

2.
transaction的commit

conn=db.open()
然后
conn.sync()
有什么区别?
究竟哪一种是把东西写到磁盘
我都试过,但好像都没有写入磁盘,下一次再读取会丢数据

3.
OOBTree这种东西线程安全吗?
我现在是加锁读写的,有必要吗?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Junyong Pan  
View profile   Translate to Translated (View Original)
 More options Mar 7 2008, 12:06 pm
From: "Junyong Pan" <panjuny...@gmail.com>
Date: Sat, 8 Mar 2008 01:06:44 +0800
Local: Fri, Mar 7 2008 12:06 pm
Subject: Re: zodb的几个问题
2008/3/7 张沈鹏 <zsp...@gmail.com>:

> 1.
>  set又没有key.value,为什么还要分4种类型?
>  Oset和ISet不就够了吗?

>  2.
>  transaction的commit
>  和
>  conn=db.open()
>  然后
>  conn.sync()
>  有什么区别?
>  究竟哪一种是把东西写到磁盘
>  我都试过,但好像都没有写入磁盘,下一次再读取会丢数据

commit()就可以写入磁盘的,sync没有用过

>  3.
>  OOBTree这种东西线程安全吗?
>  我现在是加锁读写的,有必要吗?

--
潘俊勇

上海润普网络信息技术有限责任公司(http://www.zopen.cn)
中文Zope用户组(http://www.czug.org)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google