Il 14/12/13 01:29, 黄祥 ha scritto:
> hi,
>
> is it possible for dal store data in more than 1 database?
heve you read this part of the documentation?
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Replicated-databases

M.
>
> let say i use database 'production1' with mysql backend, while during
> the daily usage i want to make a copy of that database also in sqlite
> backend or maybe another database name 'testing1' with mysql backend.
>
> i know i can do it manually or using scheduler for backup sqldump and
> then restore it to another database as needed, but it is in
> infrastructure side, i want to know how to achieve it in web2py way?
>
> is there any significant impact in performance terms?
>
> thanks and best regards,
> stifan
> -- 
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google
> Groups "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to