PostgreSQL 10.23 Documentation
random() dp random value in the range 0.0 <= x < 1.0 setseed(dp) void set seed for subsequent ran- dom() calls (value between -1.0 and 1.0, inclusive) The characteristics of the values returned by random() of serialization failures. It may be helpful to encourage the use of index scans by reducing ran- dom_page_cost and/or increasing cpu_tuple_cost. Be sure to weigh any decrease in transaction roll- backs function- ality that requires cryptographically strong random numbers, and substitutes a weak pseudo-ran- dom-number-generator for the generation of authentication salt values and query cancel keys. It may make0 码力 | 2727 页 | 11.93 MB | 1 年前3PostgreSQL 11.22 Documentation
random() dp random value in the range 0.0 <= x < 1.0 setseed(dp) void set seed for subsequent ran- dom() calls (value between -1.0 and 1.0, inclusive) The characteristics of the values returned by random() of serialization failures. It may be helpful to encourage the use of index scans by reducing ran- dom_page_cost and/or increasing cpu_tuple_cost. Be sure to weigh any decrease in transaction roll- backs function- ality that requires cryptographically strong random numbers, and substitutes a weak pseudo-ran- dom-number-generator for the generation of authentication salt values and query cancel keys. It may make0 码力 | 2883 页 | 12.34 MB | 1 年前3PostgreSQL 10.23 Documentation
random() dp random value in the range 0.0 <= x < 1.0 setseed(dp) void set seed for subsequent ran- dom() calls (value between -1.0 and 1.0, inclusive) The characteristics of the values returned by random() COMMENT ON CONSTRAINT bar_col_cons ON bar IS 'Constrains column col'; COMMENT ON CONSTRAINT dom_col_constr ON DOMAIN dom IS 'Constrains col of domain'; COMMENT ON DATABASE my_database IS 'Development Database'; 10, 3.0) an integer between 1 and 10 ran- dom_gauss- ian(lb, ub, parameter) integer Gaussian-distrib- uted random inte- ger in [lb, ub], see below ran- dom_gauss- ian(1, 10, 2.5) an integer between0 码力 | 2590 页 | 12.03 MB | 1 年前3PostgreSQL 12.17 Documentation
random() dp random value in the range 0.0 <= x < 1.0 setseed(dp) void set seed for subsequent ran- dom() calls (value between -1.0 and 1.0, inclusive) The random() function uses a simple linear congruential of serialization failures. It may be helpful to encourage the use of index scans by reducing ran- dom_page_cost and/or increasing cpu_tuple_cost. Be sure to weigh any decrease in transaction roll- backs If you believe a 90% cache rate is an incorrect assumption for your workload, you can increase ran- dom_page_cost to better reflect the true cost of random storage reads. Correspondingly, if your data is0 码力 | 2943 页 | 12.61 MB | 1 年前3PostgreSQL 17beta1 US Documentation
12345) The random() and random_normal() functions listed in Table 9.6 use a deterministic pseudo-ran- dom number generator. It is fast but not suitable for cryptographic applications; see the pgcrypto module of serialization failures. It may be helpful to encourage the use of index scans by reducing ran- dom_page_cost and/or increasing cpu_tuple_cost. Be sure to weigh any decrease in transaction roll- backs If you believe a 90% cache rate is an incorrect assumption for your workload, you can increase ran- dom_page_cost to better reflect the true cost of random storage reads. Correspondingly, if your data is0 码力 | 3188 页 | 14.32 MB | 1 年前3PostgreSQL 11.22 Documentation
random() dp random value in the range 0.0 <= x < 1.0 setseed(dp) void set seed for subsequent ran- dom() calls (value between -1.0 and 1.0, inclusive) The characteristics of the values returned by random() COMMENT ON CONSTRAINT bar_col_cons ON bar IS 'Constrains column col'; COMMENT ON CONSTRAINT dom_col_constr ON DOMAIN dom IS 'Constrains col of domain'; COMMENT ON DATABASE my_database IS 'Development Database'; random_expo- nential(1, 10, 3.0) an integer between 1 and 10 ran- dom_gauss- integer Gaussian-distrib- uted random inte- ran- dom_gauss- an integer between 1 and 10 1 https://en.wikipedia.org/wik0 码力 | 2732 页 | 12.44 MB | 1 年前3PostgreSQL 14.10 Documentation
of serialization failures. It may be helpful to encourage the use of index scans by reducing ran- dom_page_cost and/or increasing cpu_tuple_cost. Be sure to weigh any decrease in transaction roll- backs If you believe a 90% cache rate is an incorrect assumption for your workload, you can increase ran- dom_page_cost to better reflect the true cost of random storage reads. Correspondingly, if your data is to sequential, e.g., solid-state drives, might also be better modeled with a lower value for ran- dom_page_cost, e.g., 1.1. 648 Server Configuration Tip Although the system will let you set random_page_cost0 码力 | 3032 页 | 13.27 MB | 1 年前3PostgreSQL 12.17 Documentation
random() dp random value in the range 0.0 <= x < 1.0 setseed(dp) void set seed for subsequent ran- dom() calls (value between -1.0 and 1.0, inclusive) The random() function uses a simple linear congruential COMMENT ON CONSTRAINT bar_col_cons ON bar IS 'Constrains column col'; COMMENT ON CONSTRAINT dom_col_constr ON DOMAIN dom IS 'Constrains col of domain'; COMMENT ON DATABASE my_database IS 'Development Database'; 10, 3.0) an integer between 1 and 10 ran- dom_gauss- ian(lb, ub, parameter) integer Gaussian-distrib- uted random inte- ger in [lb, ub], see below ran- dom_gauss- ian(1, 10, 2.5) an integer between0 码力 | 2786 页 | 12.72 MB | 1 年前3PostgreSQL 13.14 Documentation
of serialization failures. It may be helpful to encourage the use of index scans by reducing ran- dom_page_cost and/or increasing cpu_tuple_cost. Be sure to weigh any decrease in transaction roll- backs If you believe a 90% cache rate is an incorrect assumption for your workload, you can increase ran- dom_page_cost to better reflect the true cost of random storage reads. Correspondingly, if your data is to sequential, e.g., solid-state drives, might also be better modeled with a lower value for ran- dom_page_cost, e.g., 1.1. Tip Although the system will let you set random_page_cost to less than seq_page_cost0 码力 | 2940 页 | 12.89 MB | 1 年前3PostgreSQL 9.1.24 Documentation
not accidentally acting on the wrong database on the other hand. Examples: => \c mydb myuser host.dom 6432 => \c service=foo => \c "host=localhost port=5432 dbname=mydb connect_timeout=10 sslmode=disable" These functions failed to report certain types of invalid-input errors, and would instead return ran- dom garbage values for incorrect input. • Fix one-byte buffer overrun in contrib/test_parser (Paul Guyot) These functions failed to report certain types of invalid-input errors, and would instead return ran- dom garbage values for incorrect input. • Fix one-byte buffer overrun in contrib/test_parser (Paul Guyot)0 码力 | 2667 页 | 6.57 MB | 1 年前3
共 32 条
- 1
- 2
- 3
- 4