This is new to me. I have a new boss at work who insists that every request we make now is a sproc with XML serialized parameters and return types.
I haven't run any tests yet, but it hits me like an excess and possibly a performance killer in many ways. What is your experience?
Although it is an obvious performance killer (imagine that parsing a few megabytes of XML is coming back from sproc), it further enhances performance, scalability, and a killer for performance. Working with XML in T-SQL is not entirely painless or seamless. Support will be a nightmare: imagine adding one column to the result set, which will lead to an avalanche of modifications to the serialization and deserialization code.
In addition, you cannot use either ORM tools or simple graphical agents (iBATIS or BLToolkit).
( proc ), , .
, .
, ; -p
, . Xml , TDS (.. ) . CSV (split by udf), (SQL 2008).
Sql/xml 2005+ , openxml - , , , xml ( xml), , , .
xml
, , , . // Xml, , SProc , . - - ...
, ?
(: messy) , , , .
- , . - , , , XML . , , , XML , : , XML , , TDD .
, - , : "XML , ?" , .
. SQL - ., xml? (, , procs)
, procs, , xml. , "" .
, : .
XML - , : , , (, ) .
, , , . XML .
, ( ) , . XML , , , . . .
, , , , . , , , . , , XML.
, , ? , , ?
, , , XML Everywhere , . , , , , , , , , . , , , .
(Browser) -. , ββ -. XML , - , HTML. XML - -, , -, .
Source: https://habr.com/ru/post/1703336/More articles:What are the most common design examples? Give examples if you have - design-patternsExample of average obtained over the last X seconds - algorithmDifferent background color for source columns COBOL - highlightingHow to get UIColor from UIImage on iPhone - iphoneDoes anyone have any EPiServer exam exams? - episerverDoes the current ESIServer Developer Masterclass certification exam have only questions about EPiServer CMS 6 R2? - episerverUsing the lucene.net trunk in a production application - lucene.netWhat is the latest version of Lucene.net? - lucene.netHow to use Symbol packages for Windows with Visual Studio 2008? - debuggingCreating XML string in Flex (AS3) using DOM functions - domAll Articles