drupal数据库哪些表,表的作用
drupal初始安装后,我统计了下,一共有 73个表。其中的表:
actions
authmap
batch
block
block_custom
block_node_type
block_role
blocked_ips
cache
cache_block
cache_bookstrap
cache_field
cache_filter
cache_form
cache_image
cache_menu
cache_page
cache_path
cache_update
comment
date_format_locale
date_format_type
date_formats
field_config
field_config_instance
field_data_body
field_data_comment_body
field_data_field_image
field_data_field_tags
field_revision_body
field_revision_comment_body
field_revision_field_image
field_revision_field_tags
file_managed
file_usage
filter
filter_format
flood
history
image_effects
image_styles
menu_custom
menu_link
menu_router
node
node_access
node_comment_statistics
node_revision
node_type
queue
rdf_mapping
registry_file
role
role_permission
search_dataset
search_index
search_node_links
search_tatal
semaphore
sequences
sessions
shortcut_set
shortcut_set_users
system
taxonomy_index
taxonomy_term_data
taxonomy_term_hierarchy
taxonomy_vocabulary
url_alias
users
users_roles
variable
watchdog
大部分表的意思看其表名,可知其大概,但是有些表,我一看就是不知所云了。那么就需要具体的去了解一下了。
actions表,其中的字段为:aid,type,callback,parameter,label;根据调研,大概是触发器表,配置动作。
authmap表,我创建好的,是一个空表,估计是我没有开启外部认证的模块。
batch表,可以进行数据迁移,能够防止迁移过程中内存耗尽,php运行超时。batch api 批量作业。对于数据采集很有帮助。(问题:drupal的api你读了么?)
flood表,是drupal核心中的一个表,大概就是注入的意思,当一个事件发生后,需要对这个事件进行登记一下,比如说把某个事件比作一个水滴的话,那么flood相当于就是装水滴的瓶子,还有一个表(watchdog),也是这种作用,但是是另外一种方式。
rdf_mapping表,大概是映射表,而RDF是“实体-属性-值”模型,(问题:那么RDF具体是什么呢?有什么作用呢?)
variable表,其中有两个字段,name,value;而这些东西都是有drupal核心或者是其他模块或主题创建的。
表的结构,设计作用
我有个他的设计图,超过200k了,上传不了,要的,留言我。