B / S of enterprise applications need to save a lot of pictures , may I ask what better way to save ?
------ Solution ---------------------------------------- ----
picture into your server 's hard disk ah , provided you want to specify the path to upload good, then the database records .
My projects are speaking directly to the binary images saved to the database
saved in the database , the database volume will be larger ,
------ Solution ------------------------- -------------------
data stock images path. Then the image path to find pictures.
------ Solution ---------------------------------------- ----
functions may be best to see you there on the uploaded file server above the sorting process
------ Solution ------------ --------------------------------
database tables stored image url, linux server storing the image itself , the best Upload Path written configurable, so even if there is downtime , you can quickly jump to other servers to take pictures, in addition , pay attention to the image storage path is best done with a date directory classification , so it is also easy to manage
- ---- For reference only ---------------------------------------
more level classification stored in a folder do not store too many files directly .
------ For reference only -------------------------------------- -
I want to ask is a picture stored directly in the database , or other preservation methods
------ For reference only ------------------ ---------------------
best well into the database , stored in the file is better
------ For reference only ---------------------------------- -----
1, recorded in the database image path .
2, save the picture directly into the database
------ For reference only -------------------------- -------------
these two are what the pros and cons ?
If you use images recorded in the database path method, then the picture should be put where ?
------ For reference only -------------------------------------- -
database to save the image Road King just fine. picture on the server .
------ For reference only ------------------- --------------------
picture into your server 's hard disk ah , provided you want to specify the path to upload good, then the database records .
My projects are speaking directly to the binary images saved to the database
------ For reference only ----------------- ----------------------
picture a lot, the server is not also a great thing.
Is not Big unwilling database server rather large ?
------ For reference only -------------------------------------- -
nobody back ah , is not it all off work ?
------ For reference only -------------------------------------- -
OK, thank you
------ For reference only ------------------------------ ---------
feeling most of the projects are real servers , storage database , the database will be a little big pressure .
没有评论:
发表评论